diff options
author | Jerome Glisse <[email protected]> | 2010-07-23 20:55:48 -0400 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2010-07-23 20:57:21 -0400 |
commit | 33241134e6e3d5bf19141eceff90fd854b23386a (patch) | |
tree | 123f5773d69e44c29ca08e8f0d89b589f0c24674 /src/gallium/drivers/r600/r600_sq.h | |
parent | ac11bdd8315a05d227a81caad86ed7e9980fb980 (diff) |
r600g: first pass at texture support
This add texture support to the assembler, generated code is
wrong (tested against working dump).
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_sq.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_sq.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_sq.h b/src/gallium/drivers/r600/r600_sq.h index 4770ab0bf77..002660c654a 100644 --- a/src/gallium/drivers/r600/r600_sq.h +++ b/src/gallium/drivers/r600/r600_sq.h @@ -546,6 +546,8 @@ #define S_SQ_TEX_WORD1_COORD_TYPE_X(x) (((x) & 0x1) << 28) #define G_SQ_TEX_WORD1_COORD_TYPE_X(x) (((x) >> 28) & 0x1) #define C_SQ_TEX_WORD1_COORD_TYPE_X 0xEFFFFFFF +#define V_SQ_TEX_WORD1_COORD_UNNORMALIZED 0x00000000 +#define V_SQ_TEX_WORD1_COORD_NORMALIZED 0x00000001 #define S_SQ_TEX_WORD1_COORD_TYPE_Y(x) (((x) & 0x1) << 29) #define G_SQ_TEX_WORD1_COORD_TYPE_Y(x) (((x) >> 29) & 0x1) #define C_SQ_TEX_WORD1_COORD_TYPE_Y 0xDFFFFFFF |