summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2015-07-13 15:52:28 +0300
committerFrancisco Jerez <[email protected]>2015-07-21 17:54:00 +0300
commitfadf34773527779eef4622b2586d87ec00476c0f (patch)
tree5d898957c4ac0875bd344201864a93ec793dcadd /src/gallium/drivers/r600
parent9383664a9cbc5bc4858fc50d7fa565f43028d779 (diff)
i965: Fix stride field for the result of emit_uniformize().
This is essentially the same problem fixed in an earlier patch for immediates. Setting the stride to zero will be particularly useful for my future SIMD lowering pass, because we will be able to just check whether the stride of a source register is zero and skip emitting the copies required to unzip it in that case. Instead of setting stride to zero in every caller of emit_uniformize() I've changed the function to return the result as its return value (previously it was being written into a caller-provided destination register), because this way we can enforce that the result is used with the correct regioning from the function itself. The changes to the prototype of its VEC4 counterpart are mainly for the sake of symmetry, VEC4 registers don't have stride. Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
0 files changed, 0 insertions, 0 deletions