Re: Is there a way to tell if a shader is executing in hardware or software?
Re: Is there a way to tell if a shader is executing in hardware or software?
Subject : Re: Is there a way to tell if a shader is executing in hardware or software?
From: Alex Eddy <email@hidden >
Date: Tue, 29 Aug 2006 17:59:09 -0700
Delivered-to: email@hidden
Delivered-to: email@hidden
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.