diff options
author | Jerome Glisse <[email protected]> | 2010-08-03 14:14:58 -0400 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2010-08-03 14:31:49 -0400 |
commit | 7e42b7e5d2aebcda0e6bf081b6661411731e6df2 (patch) | |
tree | 3f5d5fa8a22bc8a80511851d9232faa5411c7bd6 /src/gallium/drivers/r600/r600_asm.h | |
parent | 57438adf3217955f16491ef8deeffafe05c2f7f8 (diff) |
r600g: fix LIT + fix multiple constant one ALU + fix ALU block splitting
Make sure LIT fills all slot for instruction (can't do W instruction
without having the Z slot filled with at least a NOP).
ALU instruction can't access more than 4 constant, move constant to
temporary reg if we reach the limit.
Fix ALU block splitting, only split ALU after ALU with last instruction
bit sets.
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_asm.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_asm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_asm.h b/src/gallium/drivers/r600/r600_asm.h index 88fb957440a..3fd94dbda03 100644 --- a/src/gallium/drivers/r600/r600_asm.h +++ b/src/gallium/drivers/r600/r600_asm.h @@ -127,6 +127,7 @@ struct r600_bc { unsigned ncf; unsigned ngpr; unsigned nresource; + unsigned force_add_cf; u32 *bytecode; }; |