summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorNeil Roberts <[email protected]>2019-03-15 14:32:27 +0100
committerRob Clark <[email protected]>2019-06-03 13:31:51 -0700
commitfb53b326c24dc9f5c64f402dc53298c8b4928388 (patch)
tree8156a6a68675bc59922706f937fefb8852d98edd /src/mesa
parent3222216a589f0952f11af76ce591c10ba96cdeb7 (diff)
freedreno/ir3: Fix up the half reg source even when src instr==NULL
Previously the loop for assigning registers was bailing out early if the register had a null source. I think the intention is that in this case it isn’t necessary to assign a register. However it was also missing out the part to fix up the types. This can happen if the instruction is copy propagated to be a move from a constant half-float input register. In that case it still needs to fix up the types. Fixes assert in dEQP-GLES3.functional.shaders.invariance.highp.subexpression_precision_mediump when lowering the precision of the variables. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions