summaryrefslogtreecommitdiffstats
path: root/src/util/format_r11g11b10f.h
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsálvez <[email protected]>2017-11-20 13:12:12 +0100
committerSamuel Iglesias Gonsálvez <[email protected]>2017-12-07 10:19:34 +0100
commit392638d6b549dbed85ed2a82fa41d38336ac9938 (patch)
tree2e6375f086745837fbd16aa6e53389a625e001a0 /src/util/format_r11g11b10f.h
parent67ec314347ed03738cb4eece64c7b25b4ab7d3c8 (diff)
spirv: fix bug when OpSpecConstantOp calls a conversion
In that case, nir_eval_const_opcode() will evaluate the conversion but as it was using destination's bit_size, the resulting value was just a cast of the source constant value. By passing the source's bit size, it does the conversion properly. Fixes: dEQP-VK.spirv_assembly.instruction.*.opspecconstantop.*convert* v2: - Remove invalid conversion op cases. Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/util/format_r11g11b10f.h')
0 files changed, 0 insertions, 0 deletions