mesa/src
Timothy Arceri 6adbf17ce9 nir: fix condition propagation when src has a swizzle
We cannot use nir_build_alu() to create the new alu as it has no
way to know how many components of the src we will use. This
results in it guessing the max number of components from one of
its inputs.

Fixes the following CTS tests:

dEQP-VK.spirv_assembly.instruction.graphics.selection_block_order.out_of_order_frag
dEQP-VK.spirv_assembly.instruction.graphics.selection_block_order.out_of_order_geom
dEQP-VK.spirv_assembly.instruction.graphics.selection_block_order.out_of_order_tessc
dEQP-VK.spirv_assembly.instruction.graphics.selection_block_order.out_of_order_vert

Fixes: 2975422ceb ("nir: propagates if condition evaluation down some alu chains")

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
(cherry picked from commit 769ae9fb7f)
2018-11-08 16:04:53 +00:00
..
amd radv: fix begin/end transform feedback with 0 counter buffers. 2018-11-07 17:20:50 +00:00
broadcom configure: allow building with python3 2018-10-31 19:15:50 +00:00
compiler nir: fix condition propagation when src has a swizzle 2018-11-08 16:04:53 +00:00
egl egl/glvnd: correctly report errors when vendor cannot be found 2018-11-05 22:16:10 +00:00
gallium android: gallium/auxiliary: add include to get u_debug.h header 2018-11-07 17:20:51 +00:00
gbm gbm: Add GBM_FORMAT_ARGB1555 support 2018-10-09 10:32:51 +02:00
getopt
glx glx: be explicit about when mapping X <> GLX visuals 2018-11-01 00:05:43 +00:00
gtest meson: hide warnings from external project gtest 2018-10-31 18:20:25 +00:00
hgl meson: Add Haiku platform support v4 2018-02-16 16:56:34 -06:00
intel intel/tools: fix resource leak 2018-11-01 13:21:07 +00:00
loader loader/dri3: Also wait for front buffer fence if we triggered it 2018-10-18 16:52:06 +02:00
mapi mesa/vbo: Move src/mesa/vbo/vbo_exec_array.c -> src/mesa/main/draw.c 2018-11-01 06:08:49 +01:00
mesa mesa: Collect all the draw functions in draw.{h,c}. 2018-11-01 06:08:49 +01:00
util meson: don't install translation files 2018-11-01 10:49:16 -07:00
vulkan configure: allow building with python3 2018-10-31 19:15:50 +00:00
Makefile.am configure: allow building with python3 2018-10-31 19:15:50 +00:00
meson.build meson: Only build gallium state tracker tests with shared_glapi 2018-10-09 08:55:56 -07:00
SConscript scons: Remove gles option. 2018-10-19 16:50:26 +01:00