summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_fog.h
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2014-01-22 11:45:39 -0800
committerPaul Berry <[email protected]>2014-01-23 13:40:55 -0800
commit9cee3ff562f3e4b51bfd30338fd1ba7716ac5737 (patch)
tree4cdb18527abf58071fe5b17053eb35a63bdc45e1 /src/mesa/drivers/dri/radeon/radeon_fog.h
parent00c672086c31f94dd96609fa976300781f53792e (diff)
i965: Remove *_generator::shader field; use prog field instead.
The "shader" field in fs_generator, vec4_generator, and gen8_generator was only used for one purpose; to figure out if we were compiling an assembly program or a GLSL shader (shader is NULL for assembly programs). And it wasn't being used properly: in vec4 shaders we were always initializing it based on prog->_LinkedShaders[MESA_SHADER_FRAGMENT], regardless of whether we were compiling a geometry shader or a vertex shader. This patch simplifies things by using the "prog" field instead; this is also NULL for assembly programs. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_fog.h')
0 files changed, 0 insertions, 0 deletions