mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-26 01:38:20 +02:00
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 |
||
|---|---|---|
| .. | ||
| lower_jumps | ||
| .gitignore | ||
| blob_test.c | ||
| builtin_variable_test.cpp | ||
| compare_ir | ||
| copy_constant_to_storage_tests.cpp | ||
| general_ir_test.cpp | ||
| invalidate_locations_test.cpp | ||
| optimization-test | ||
| sampler_types_test.cpp | ||
| set_uniform_initializer_tests.cpp | ||
| sexps.py | ||
| uniform_initializer_utils.cpp | ||
| uniform_initializer_utils.h | ||
| varyings_test.cpp | ||