Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Is there a way to tell if a shader is executing in hardware or software?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a way to tell if a shader is executing in hardware or software?



On Aug 29, 2006, at 12:04 PM, Ken Turkowsk wrote:
Is there a way to tell if a GLSL fragment shader is executing in
hardware or software?

Yes.

Since 10.4.3, CGLGetParameter accepts two new enums:
kCGLCPGPUVertexProcessing
kCGLCPGPUFragmentProcessing

which will tell you where vertex and fragment processing are occurring based on all of the current state that you've set up.

Geoff covered this in a post to the list some time ago, check the archives for details:
http://lists.apple.com/archives/mac-opengl/2005/Nov/msg00151.html


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.