mesa/src/compiler
Jason Ekstrand 7a3bcadf4e nir: Add asserts to the casting functions
This makes calling nir_foo_as_bar a bit safer because we're no longer 100%
trusting in the caller to ensure that it's safe.  The caller still needs to
do the right thing but this ensures that we catch invalid casts with an
assert rather than by reading garbage data.  The one downside is that we do
use the casts a bit in nir_validate and it's not a validate_assert.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
2016-10-06 09:16:24 -07:00
..
glsl mesa: remove the UsesDFdy flag 2016-10-06 16:03:46 +11:00
nir nir: Add asserts to the casting functions 2016-10-06 09:16:24 -07:00
spirv spirv: replace assert() with unreachable() 2016-10-04 22:33:51 +11:00
.gitignore nir/spirv: Remove a duplicate spirv2nir from .gitignore 2016-10-04 07:43:15 -07:00
Android.glsl.gen.mk Android: glsl: add rules to generate ir_expression*.h header files 2016-09-06 15:58:55 +01:00
Android.glsl.mk Android: glsl: add rules to generate ir_expression*.h header files 2016-09-06 15:58:55 +01:00
Android.mk Android: glsl: add rules to generate ir_expression*.h header files 2016-09-06 15:58:55 +01:00
Android.nir.gen.mk compiler: android: flesh out nir into separate makefile 2016-04-11 19:08:23 +01:00
Android.nir.mk compiler: android: flesh out nir into separate makefile 2016-04-11 19:08:23 +01:00
builtin_type_macros.h glsl: add subpass image type (v2) 2016-09-16 15:16:31 +10:00
glsl_types.cpp glsl: add subpass image type (v2) 2016-09-16 15:16:31 +10:00
glsl_types.h glsl: add subpass image type (v2) 2016-09-16 15:16:31 +10:00
Makefile.am compiler: Move glsl_to_nir to libglsl.la 2016-05-26 14:13:38 -07:00
Makefile.glsl.am glsl: Add initial functions to implement an on-disk cache 2016-09-28 09:16:31 +10:00
Makefile.nir.am nir/spirv: Bring back the spirv2nir helper binary 2016-09-21 05:38:26 -07:00
Makefile.sources glsl: Add initial functions to implement an on-disk cache 2016-09-28 09:16:31 +10:00
nir_types.cpp nir: Delete open coded type printing. 2016-10-06 02:13:36 -07:00
nir_types.h nir: Delete open coded type printing. 2016-10-06 02:13:36 -07:00
SConscript glsl: Generate ir_expression_operation.h from Python 2016-08-30 16:28:00 -07:00
SConscript.glsl mesa: Remove prog_hash_table.c 2016-09-12 10:48:35 +10:00
SConscript.nir glsl: Generate ir_expression_operation.h from Python 2016-08-30 16:28:00 -07:00
shader_enums.c compiler: add printable values for cull distance varyings. 2016-10-04 10:15:23 +10:00
shader_enums.h glsl: add gl_BoundingBox and associated varying slots 2016-08-30 20:25:15 -04:00