diff options
author | Jerome Glisse <jglisse@redhat.com> | 2010-05-27 22:55:18 +0200 |
---|---|---|
committer | Jerome Glisse <jglisse@redhat.com> | 2010-05-27 23:24:17 +0200 |
commit | e68b4e50536b3438a3bb8c3d12acebc6845461a8 (patch) | |
tree | c1ff582f893a4d58392cf29fd232b2a0bda0eb71 /src/gallium/drivers/r600/r600_compiler.h | |
parent | aeee52691ccb3afd24591ab3df30d7f243bc3eeb (diff) |
r600g: fix driver + shader compiler backend change
Change the way we translate from c_compiler to the
asic specific representation. Should make things
simpler.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Diffstat (limited to 'src/gallium/drivers/r600/r600_compiler.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_compiler.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gallium/drivers/r600/r600_compiler.h b/src/gallium/drivers/r600/r600_compiler.h index d3c13b519b..64dab5000b 100644 --- a/src/gallium/drivers/r600/r600_compiler.h +++ b/src/gallium/drivers/r600/r600_compiler.h @@ -101,7 +101,7 @@ struct c_vector { #define C_SEMANTIC_VERTEXID 11 #define C_SEMANTIC_COUNT 12 /**< number of semantic values */ -#define C_OPCODE_ARL 0 +#define C_OPCODE_NOP 0 #define C_OPCODE_MOV 1 #define C_OPCODE_LIT 2 #define C_OPCODE_RCP 3 @@ -204,8 +204,6 @@ struct c_vector { #define C_OPCODE_ENDLOOP 101 #define C_OPCODE_ENDSUB 102 /* gap */ -#define C_OPCODE_NOP 107 -/* gap */ #define C_OPCODE_NRM4 112 #define C_OPCODE_CALLNZ 113 #define C_OPCODE_IFC 114 @@ -241,7 +239,8 @@ struct c_vector { #define C_OPCODE_ENDSWITCH 144 #define C_OPCODE_VFETCH 145 #define C_OPCODE_ENTRY 146 -#define C_OPCODE_LAST 147 +#define C_OPCODE_ARL 147 +#define C_OPCODE_LAST 148 #define C_OPERAND_FLAG_ABS (1 << 0) #define C_OPERAND_FLAG_NEG (1 << 1) |