summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_function_can_inline.cpp
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2013-02-17 08:05:52 -0800
committerPaul Berry <[email protected]>2013-04-11 09:25:25 -0700
commit42a3d63dd4470be73b92b5d87daa32a9c293f127 (patch)
treee9aa51b5f74cb2e044386bb27f4909a21db27ffe /src/glsl/ir_function_can_inline.cpp
parent8941f73c7ccb3c6cfa965a19f346e4b6ead6abdb (diff)
i965/vs: Add virtual function make_reg_for_system_value().
The system values handled by vec4_visitor::visit(ir_variable *) are VS-specific (vertex ID and instance ID). This patch moves the handling of those values into a new virtual function, make_reg_for_system_value(), so that this VS-specific code won't be inherited by geomtry shaders. Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/ir_function_can_inline.cpp')
0 files changed, 0 insertions, 0 deletions