projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95c1e57
)
r600: document some of the missing shader constants.
author
Dave Airlie
<airlied@redhat.com>
Mon, 5 Jun 2017 03:25:29 +0000
(13:25 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 5 Jun 2017 20:09:41 +0000
(06:09 +1000)
These are used for fragment shader thread calculations.
Reviewed-by: Glenn Kennard <glenn.kennard@gmail.com>
src/gallium/drivers/r600/r600_sq.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_sq.h
b/src/gallium/drivers/r600/r600_sq.h
index 3526668c4b65429aff3612183bb47f42eaba8cb7..aa38381328c1d3173107de6bc2ed4756cd60ac40 100644
(file)
--- a/
src/gallium/drivers/r600/r600_sq.h
+++ b/
src/gallium/drivers/r600/r600_sq.h
@@
-197,6
+197,10
@@
#define EG_V_SQ_ALU_SRC_LDS_DIRECT_A 0x000000DF
#define EG_V_SQ_ALU_SRC_LDS_DIRECT_B 0x000000E0
+#define EG_V_SQ_ALU_SRC_HW_WAVE_ID 0x000000E7
+#define EG_V_SQ_ALU_SRC_SIMD_ID 0x000000E8
+#define EG_V_SQ_ALU_SRC_SE_ID 0x000000E9
+
#define V_SQ_ALU_SRC_0 0x000000F8
#define V_SQ_ALU_SRC_1 0x000000F9
#define V_SQ_ALU_SRC_1_INT 0x000000FA