mesa/src/compiler
Andres Gomez 9aadd5d688 nir/compiler: keep same bit size when lowering with flrp
This was probably not caught before because no supported test was
exercising the flrp lowering with other bit size different than 32.

With the arrival of VK_KHR_shader_float_controls we will have some of
those and, unless we keep the bit size, we will end with something
like:

../src/compiler/nir/nir_builder.h:420: nir_builder_alu_instr_finish_and_insert: Assertion `src_bit_size == bit_size' failed.

Fixes: 158370ed2a ("nir/flrp: Add new lowering pass for flrp instructions")
Fixes: ae02622d8f ("nir/flrp: Lower flrp(a, b, c) differently if another flrp(_, b, c) exists")
Signed-off-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrnd.net>
2019-07-12 16:15:20 +00:00
..
glsl glsl/link_varyings: Fix hash table leak 2019-07-12 11:07:08 +03:00
nir nir/compiler: keep same bit size when lowering with flrp 2019-07-12 16:15:20 +00:00
spirv spirv: Implement SPV_EXT_demote_to_helper_invocation 2019-07-08 08:57:25 -07: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 android: fix libmesa_nir build 2017-07-21 08:47:56 +03:00
blob.c compiler/blob: Add blob_skip_bytes 2018-07-09 23:02:33 -07:00
blob.h compiler/blob: Add blob_skip_bytes 2018-07-09 23:02:33 -07:00
builtin_type_macros.h glsl_types: vec8/vec16 support 2018-03-25 10:42:54 -04:00
glsl_types.cpp glsl/nir: add glsl_types::explicit_size plus nir C wrapper 2019-06-30 16:58:26 -05: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 anv,nir: Move lower_input_attachments pass from ANV to NIR. 2019-07-08 14:02:50 +02:00
meson.build meson: Build with Python 3 2018-08-10 15:15:09 -07:00
nir_types.cpp nir_types: add glsl_type_is_leaf helper 2019-06-30 16:58:26 -05:00
nir_types.h nir_types: add glsl_type_is_leaf helper 2019-06-30 16:58:26 -05:00
SConscript spirv: Fix building with SCons 2018-03-30 14:33:03 -06:00
SConscript.glsl scons: Generate float64_glsl.h for glsl_to_nir fp64 lowering 2019-03-02 14:33:44 -08:00
SConscript.nir nir: mako all the intrinsics 2018-03-27 08:36:37 -04:00
SConscript.spirv spirv: Fix building with SCons 2018-03-30 14:33:03 -06:00
shader_enums.c compiler: Add color system value 2019-07-08 14:18:34 +02:00
shader_enums.h compiler: Add color system value 2019-07-08 14:18:34 +02:00
shader_info.h spirv: Implement SPV_EXT_demote_to_helper_invocation 2019-07-08 08:57:25 -07:00