summaryrefslogtreecommitdiffstats
path: root/src/glsl/glsl_parser_extras.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-01-31 04:31:16 -0800
committerKenneth Graunke <[email protected]>2015-02-19 15:15:45 -0800
commit231267bf011e1fa6edb52ffad27fcbca8e0e28e1 (patch)
treeb2e361019d61eca2245d3b1232f4396f63ade615 /src/glsl/glsl_parser_extras.h
parenta07cd42f1e4739000adbbcf5613ba163cf73b666 (diff)
i965/fs: Use VARYING_SLOT checks rather than strcmp().
Comparing the location field is equivalent and more efficient. We'll also need this when we start using NIR for ARB programs, as our NIR converter will set the location field correctly, but probably won't use the GLSL names for these concepts. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]> Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/glsl/glsl_parser_extras.h')
0 files changed, 0 insertions, 0 deletions