mesa/src/compiler
Jason Ekstrand b315f6f82b nir/validate: Allow 32-bit boolean load/store intrinsics
With UBOs and SSBOs we have boolean types but they're actually 32-bit
values.  Make the validator a little less strict so that we can do a
32-bit load/store on boolean types.  We're about to add a lowering pass
called gl_nir_lower_buffers which will lower boolean load/store
operations to 32-bit and insert i2b and b2i instructions to convert
to/from 1-bit booleans.  We want that to be legal.

Reviewed-by: Kristian H. Kristensen <hoegsberg@chromium.org>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
2019-03-15 01:02:19 +00:00
..
glsl glsl/lower_vector_derefs: Don't use a temporary for TCS outputs 2019-03-13 02:10:31 +00:00
nir nir/validate: Allow 32-bit boolean load/store intrinsics 2019-03-15 01:02:19 +00:00
spirv nir/spirv: Fix assert when unsampled OpTypeImage has unknown 'Depth' 2019-03-11 23:28:39 +01:00
.gitignore
Android.glsl.gen.mk android,autotools,i965: Fix location of float64_glsl.h 2019-01-31 19:04:30 +00:00
Android.glsl.mk
Android.mk
Android.nir.gen.mk
Android.nir.mk
blob.c
blob.h
builtin_type_macros.h
glsl_types.cpp glsl: rename record_types -> struct_types 2019-03-06 13:10:02 +11:00
glsl_types.h glsl: rename record_types -> struct_types 2019-03-06 13:10:02 +11:00
Makefile.am configure: allow building with python3 2018-10-31 19:15:50 +00:00
Makefile.glsl.am automake: Add float64.glsl to dist tarball 2019-01-29 23:24:57 +00:00
Makefile.nir.am nir/algebraic: Add unit tests for bitsize validation 2018-12-05 17:57:40 +01:00
Makefile.sources nir: Add a pass to combine store_derefs to same vector 2019-03-13 08:39:16 -07:00
Makefile.spirv.am
meson.build
nir_types.cpp nir_types: add glsl_type_is_struct helper 2019-03-08 15:00:50 +01:00
nir_types.h nir_types: add glsl_type_is_struct helper 2019-03-08 15:00:50 +01:00
SConscript
SConscript.glsl scons: Generate float64_glsl.h for glsl_to_nir fp64 lowering 2019-03-02 14:33:44 -08:00
SConscript.nir
SConscript.spirv
shader_enums.c mesa: add MESA_SHADER_KERNEL 2019-01-21 20:36:41 +01:00
shader_enums.h nir/vtn: add support for SpvBuiltInGlobalLinearId 2019-03-05 22:28:29 +01:00
shader_info.h nir/spirv: improve parsing of the memory model 2019-03-05 22:28:29 +01:00