diff options
author | Timothy Arceri <[email protected]> | 2018-11-02 22:10:36 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-11-03 00:44:01 +1100 |
commit | 769ae9fb7f8cea1d4a03e31f7f4a1c988e424c03 (patch) | |
tree | ce34146ee2f87276f21a81ae236afbb191f44d0d /src/mapi/mapi_glapi.c | |
parent | b9dec214f5151f3ad87eb2faf982c57e5323f534 (diff) |
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: 2975422ceb6c ("nir: propagates if condition evaluation down some alu chains")
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mapi/mapi_glapi.c')
0 files changed, 0 insertions, 0 deletions