mesa/src/glsl/tests
Dave Airlie 57f24299b7 glsl/types: add new subroutine type (v3.2)
This type will be used to store the name of subroutine types

as in subroutine void myfunc(void);
will store myfunc into a subroutine type.

This is required to the parser can identify a subroutine
type in a uniform decleration as a valid type, and also for
looking up the type later.

Also add contains_subroutine method.

v2: handle subroutine to int comparisons, needed
for lowering pass.
v3: do subroutine to int with it's own IR
operation to avoid hacking on asserts (Kayden)
v3.1: fix warnings in this patch, fix nir,
fix tgsi
v3.2: fixup tests

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Signed-off-by: Dave Airlie <airlied@redhat.com>

tests: fix warnings
2015-07-23 17:25:25 +10:00
..
lower_jumps glsl/tests: remove generated tests from the repo 2014-05-28 15:07:07 -07:00
.gitignore glsl: Add unit tests for blob.c 2015-01-16 13:47:40 -08:00
blob_test.c glsl: Add unit tests for blob.c 2015-01-16 13:47:40 -08:00
builtin_variable_test.cpp util: Move ralloc to a new src/util directory. 2014-08-04 11:06:58 -07:00
compare_ir
copy_constant_to_storage_tests.cpp glsl: replace Elements() with ARRAY_SIZE() 2015-03-02 08:55:30 -07:00
general_ir_test.cpp util: Move ralloc to a new src/util directory. 2014-08-04 11:06:58 -07:00
invalidate_locations_test.cpp util: Move ralloc to a new src/util directory. 2014-08-04 11:06:58 -07:00
optimization-test glsl/tests: call create_test_cases.py in optimization-test 2014-05-28 15:06:45 -07:00
sampler_types_test.cpp util: Move ralloc to a new src/util directory. 2014-08-04 11:06:58 -07:00
set_uniform_initializer_tests.cpp mesa: reference built-in uniforms into gl_uniform_storage 2015-06-04 09:25:00 +03:00
sexps.py
uniform_initializer_utils.cpp glsl/types: add new subroutine type (v3.2) 2015-07-23 17:25:25 +10:00
uniform_initializer_utils.h glsl: Use UniformBooleanTrue value for uniform initializers. 2014-08-18 18:35:48 -07:00
varyings_test.cpp glsl/tests: fix varying_test since tess changes. 2015-07-23 12:46:42 +10:00