stefan at codeweavers.com
Tue Jul 22 17:16:40 CDT 2008
> The bigger question is why there is a huge if-else statement, and why
> this function is so large.
> Huge if-else statement = 2 sub-functions
> Shader dirty constants - do shader internals really belong here ?
Well, in ARB shader constants are a context global state, opposed to GLSL
where they are a per-shader property. Thus the constant tracking for ARB is
moved to the context rather than in the shader. It could maybe be made a
shader backend callback, currently it is controlled by a flag in the shader
More information about the wine-devel