diff options
author | Ian Romanick <[email protected]> | 2013-10-03 15:14:35 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-10-22 15:23:30 -0700 |
commit | f094a0f825abd261109ee566a760089dd4da64e6 (patch) | |
tree | 067cc33369111db54bcb4497e9199a306d698605 /src/glsl/strtod.h | |
parent | d05202900bcbe2d0bb8dabcbb3048f3a31b82bbd (diff) |
glsl/tests: Verify fragment shader built-ins generated by _mesa_glsl_initialize_variables
Checks that the variables generated meet certain criteria.
- Fragment shader inputs have an explicit location.
- Fragment shader outputs have an explicit location.
- Vertex / geometry shader-only varying locations are not used.
- Fragment shader uniforms and system values don't have an explicit
location.
- Fragment shader constants don't have an explicit location and are
read-only.
- No other kinds of fragment variables exist.
It does not verify that an specific variables exist.
v2: Use _mesa_varying_slot_in_fs in
fragment_builtin.inputs_have_explicit_location. Suggested by Paul.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/glsl/strtod.h')
0 files changed, 0 insertions, 0 deletions