Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking shader optimizations



That window (GLSL log window in ShaderBuilder) is not the optimized version...
It only shows the parsed version.


However since it (ShaderBuilder) was tied into OpenGL binaries -- it has become more and more out of sync with newer versions of OpenGL
(think binary incompatibility with structs)
Hence the instability and random other bugs...


 - Nick

On Oct 29, 2007, at 12:33 PM, Stefan Dösinger wrote:

Hello,

I am looking for a way to check the code after it has been optimized by the
glsl implementation.
I have found something by chance: In the opengl shader builder, I can look at
some sort of ARB assembly in the GLSL log window.


What I am not sure about is if this is some sort of optimized code or not. I
don't mean hardware specific optimizations, but general things like constant
propagation, filtering out NOP operations like + 0.0 or * 1.0. Does anyone
have information about that?


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Mac-opengl mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden
References: 
 >Checking shader optimizations (From: Stefan Dösinger <email@hidden>)
 >Re: Checking shader optimizations (From: Stefan Dösinger <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.