mesa/src/compiler
Eric Anholt e3f4655805 nir: Make nir_lower_ubo_vec4() handle non-vec4-aligned loads.
It turns out I had missed a case in my enumeration of why everything
currently was vec4-aligned.

Fixes a simple testcase of loading from a vec3[2] array in freedreno with
IR3_SHADER_DEBUG=nouboopt.

Initial shader-db results look devastating:

total instructions in shared programs: 8019997 -> 12829370 (59.97%)
total cat6 in shared programs: 87683 -> 145840 (66.33%)

Hopefully this will recover once we introduce the i/o vectorizer, but that
was blocked on getting the vec3 case fixed.

Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6612>
2020-09-30 19:53:43 +00:00
..
glsl nir/gl_nir_lower_buffers: Set up align_mul/offset on UBOs. 2020-09-30 19:53:43 +00:00
nir nir: Make nir_lower_ubo_vec4() handle non-vec4-aligned loads. 2020-09-30 19:53:43 +00:00
spirv spirv: Only run repair_ssa if structured 2020-09-30 16:46:11 +00:00
Android.glsl.gen.mk Android: Fixes for Q and R 2020-07-15 20:49:24 +00:00
Android.glsl.mk android: glsl: build shader cache sources 2017-02-20 16:30:37 +00: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 nir: Add missing dependency in Android.nir.gen.mk 2019-08-19 09:53:18 +03:00
Android.nir.mk android: fix libmesa_nir build 2017-07-21 08:47:56 +03:00
builtin_type_macros.h nir/vtn: Add support for kernel images to SPIRV-to-NIR. 2020-08-31 21:17:39 +00:00
glsl_types.cpp glsl_type: Add packed to structure type comparison for hash map 2020-09-18 19:33:00 +00:00
glsl_types.h nir: Add glsl_base_type unsigned -> signed version helper 2020-09-25 20:09:08 +00:00
Makefile.sources nir: Add nir_lower_multiview pass 2020-09-29 10:31:59 +00:00
meson.build spirv: add some tests for volatile/available/visible 2020-09-01 17:15:22 +00:00
nir_types.cpp compiler/types: Add glsl_baseN_t_type(bit_size) helpers 2020-09-25 23:48:03 +00:00
nir_types.h compiler/types: Add glsl_baseN_t_type(bit_size) helpers 2020-09-25 23:48:03 +00:00
SConscript spirv: Fix building with SCons 2018-03-30 14:33:03 -06:00
SConscript.glsl Move compiler.h and imports.h/c from src/mesa/main into src/util 2020-03-27 21:00:09 +00: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 INTERP_MODE_COLOR for radeonsi 2020-09-02 23:03:00 -04:00
shader_enums.h compiler: add INTERP_MODE_COLOR for radeonsi 2020-09-02 23:03:00 -04:00
shader_info.h nir: Add an internal flag to shader_info 2020-09-25 20:09:08 +00:00