mesa/src/compiler
Jason Ekstrand 83fdefc062 nir/loop_unroll: Fix out-of-bounds access handling
The previous code was completely broken when it came to constructing the
undef values.  I'm not sure how it ever worked.  For the case of a copy
that reads an undefined value, we can just delete the copy because the
destination is a valid undefined value.  This saves us the effort of
trying to construct a value for an arbitrary copy_deref intrinsic.

Fixes: e8a8937a04 "nir: add partial loop unrolling support"
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2019-03-12 21:06:39 -05:00
..
glsl nir/linker: fix ARRAY_SIZE query with xfb varyings 2019-03-08 15:00:50 +01:00
nir nir/loop_unroll: Fix out-of-bounds access handling 2019-03-12 21:06:39 -05: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
Makefile.glsl.am automake: Add float64.glsl to dist tarball 2019-01-29 23:24:57 +00:00
Makefile.nir.am
Makefile.sources nir: Add a pass for lowering IO back to vector when possible 2019-03-12 15:34:06 +00: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