summaryrefslogtreecommitdiffstats
path: root/src/glsl/opt_swizzle_swizzle.cpp
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2011-01-28 16:09:05 +0100
committerMichel Dänzer <[email protected]>2011-01-31 17:47:57 +0100
commit5a1ce49c82e245f1f86510d9e1ff7db46a32012b (patch)
tree0266e7781abc7a9e3d3de1743477835b408b1387 /src/glsl/opt_swizzle_swizzle.cpp
parent11c11ee0bc96c5b84f98c0223f52fa6d2b4fe5c8 (diff)
svga: Fix translation of TGSI SSG opcode.
SVGA3D only supports SGN for vertex shaders, and this requires two additional temporary registers for intermediate results. For fragment shaders, lower to two CMPs and one ADD.
Diffstat (limited to 'src/glsl/opt_swizzle_swizzle.cpp')
0 files changed, 0 insertions, 0 deletions