summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2014-02-16 07:35:20 -0500
committerRob Clark <[email protected]>2014-02-16 08:17:23 -0500
commit579473f8f838aade82ad58949902910fa5fe15e3 (patch)
tree083ed5f9fe3eeaf2fe02699b1b489ea8020a421e /src/gallium/drivers/r300
parente35747b8824b0f996c5ef5c7b58fcaa200cc231e (diff)
freedreno/a3xx/compiler: handle kill properly (new compiler)
Since 'kill' does not produce a result, the new compiler was happily optimizing them out. We need to instead track 'kill's similar to outputs. But since there is no non-predicated kill instruction, (and for flattend if/else we do want them to be predicated), we need to track the topmost branch condition on the stack and use that as src arg to the kill. For a kill at the topmost level, we have to generate an immediate 1.0 to feed into the cmps.f for setting the predicate register. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300')
0 files changed, 0 insertions, 0 deletions