mesa/src/compiler
Connor Abbott f41516bdb5 nir/find_array_copies: Reject copies with mismatched type
When we detect a scalar/vector copy through load_deref/store_deref, we
have to be careful since those can bitcast an int to a float and
vice-versa even though copy_deref can't.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111251
Fixes: 156306e5e6 ("nir/find_array_copies: Handle wildcards and overlapping copies")
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
2019-08-02 10:34:29 +02:00
..
glsl nir: Stop whacking gl_FrontFacing to a system value 2019-08-01 21:59:37 +00:00
nir nir/find_array_copies: Reject copies with mismatched type 2019-08-02 10:34:29 +02:00
spirv compiler: replace MAYBE_UNUSED with UNUSED 2019-07-31 09:41:05 +01:00
Android.glsl.gen.mk mesa: android: Remove unnecessary dependency tracking rules 2019-05-06 11:29:25 +00:00
Android.glsl.mk
Android.mk
Android.nir.gen.mk mesa: android: Remove unnecessary dependency tracking rules 2019-05-06 11:29:25 +00:00
Android.nir.mk
blob.c
blob.h
builtin_type_macros.h
glsl_types.cpp util: use standard name for snprintf() 2019-07-19 22:39:38 +01:00
glsl_types.h glsl: Add a constructor for glsl_struct_field to specify the precision 2019-07-11 08:04:54 +02:00
Makefile.sources nir: replace lower_sincos with algebraic opt 2019-07-24 17:36:21 -04:00
meson.build
nir_types.cpp nir/types: Add glsl_type_is_unsized_array helper 2019-07-12 23:42:41 +02:00
nir_types.h nir/types: Add glsl_type_is_unsized_array helper 2019-07-12 23:42:41 +02: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 glsl: Optionally declare gl_PointCoord as a system value 2019-07-18 13:20:39 +00:00
shader_enums.h glsl: Optionally declare gl_PointCoord as a system value 2019-07-18 13:20:39 +00:00
shader_info.h nir/gather_info: Look for uses of helper invocations 2019-07-23 13:40:41 -05:00