agx: Convert 8-bit comparisons
Fixes dEQP-VK.spirv_assembly.type.vec3.i8.slessthan_frag Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24847>
This commit is contained in:

committed by
Marge Bot

parent
72231b042c
commit
cf12429c97
@@ -2474,6 +2474,8 @@ lower_bit_size_callback(const nir_instr *instr, UNUSED void *_)
|
||||
nir_alu_instr *alu = nir_instr_as_alu(instr);
|
||||
if (alu->def.bit_size == 8 && !is_conversion_to_8bit(alu->op))
|
||||
return 16;
|
||||
else if (alu->def.bit_size == 1 && alu->src[0].src.ssa->bit_size == 8)
|
||||
return 16 /* comparisons */;
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user