summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nouveau_gldefs.h
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2018-04-09 22:19:35 -0400
committerIlia Mirkin <[email protected]>2018-04-22 23:03:16 -0400
commit5428066f5e1ef5ea6ae04c84019f270023cfc6aa (patch)
treeb4a4e2bfbacd5f913e51b90a209ae162e307cdb5 /src/gallium/drivers/nouveau/nouveau_gldefs.h
parent6c5abb68c79d4acf71112b5ba4924a5af2d1e5c9 (diff)
nv50/ir: make a copy of tex src if it's referenced multiple times
For nv50 we coalesce the srcs and defs into a single node. As such, we can end up with impossible constraints if the source is referenced after the tex operation (which, due to the coalescing of values, will have overwritten it). This logic already exists for inserting moves for MERGE/UNION sources. It's the exact same idea here, so leverage that code, which also includes a few optimizations around not extending live ranges unnecessarily. Fixes tests/spec/glsl-1.30/execution/fs-textureSize-components.shader_test Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_gldefs.h')
0 files changed, 0 insertions, 0 deletions