summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/noop
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2013-04-24 10:44:56 -0400
committerRob Clark <[email protected]>2013-04-24 21:09:46 -0400
commitd086bb22bce6c9ed0afeb782ccd4ba6fa2561e02 (patch)
treecfa92a94b2a86370403f1863dd12eaee1f6fc2df /src/gallium/drivers/noop
parent7a837da556c17a8dc5eb7c609ba2cf4628c2c310 (diff)
freedreno: fix temp register usage
The previous approach of using the dst register as an intermediate temporary doesn't work in a lot of cases. For example, if the dst register is the same as one of the src registers. For now, just simplify it and always allocate a new register to use as an intermediate. In some cases this will result in more registers used than required. I think the best solution would be to implement an optimization pass to reduce the number of registers used, which would also solve the problem we have now of not being able to use GPRs that are assigned for TGSI_FILE_INPUT. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/noop')
0 files changed, 0 insertions, 0 deletions