diff options
author | Dave Airlie <[email protected]> | 2015-07-09 15:22:09 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2015-07-11 16:30:39 +1000 |
commit | c397bd14077b760125604426a99aba00d6193788 (patch) | |
tree | f10bf95dd1fc6457dfb468c6a7cbafc0e70c1f44 /src/gallium/drivers/r600/eg_sq.h | |
parent | 1bfa25e88d21f95b9e176232bb091af77c294578 (diff) |
r600g: fix sampler/ubo indexing on cayman
Cayman needs a different method to upload the CF IDX0/1
This fixes 31 piglits when ARB_gpu_shader5 is forced on
with cayman.
Reviewed-by: Glenn Kennard <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/eg_sq.h')
-rw-r--r-- | src/gallium/drivers/r600/eg_sq.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/eg_sq.h b/src/gallium/drivers/r600/eg_sq.h index b534872f062..97e230f56c7 100644 --- a/src/gallium/drivers/r600/eg_sq.h +++ b/src/gallium/drivers/r600/eg_sq.h @@ -521,4 +521,11 @@ #define V_SQ_REL_ABSOLUTE 0 #define V_SQ_REL_RELATIVE 1 + +/* CAYMAN has special encoding for MOVA_INT destination */ +#define CM_V_SQ_MOVA_DST_AR_X 0 +#define CM_V_SQ_MOVA_DST_CF_PC 1 +#define CM_V_SQ_MOVA_DST_CF_IDX0 2 +#define CM_V_SQ_MOVA_DST_CF_IDX1 3 + #endif |