projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b60cfd
)
radv/gfx10: Load global pointers in correct userdata registers for hs/gs.
author
Bas Nieuwenhuizen
<bas@basnieuwenhuizen.nl>
Tue, 9 Jul 2019 00:56:10 +0000
(
02:56
+0200)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 9 Jul 2019 02:03:51 +0000
(12:03 +1000)
Fixes: cfaad5e3cad "radv/gfx10: implement radv_emit_global_shader_pointers()"
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_device.c
b/src/amd/vulkan/radv_device.c
index bfa681dbfeef338b59aaa163e0f594f1fd278b6f..d756357bcca5623a9c6a46ba2ce7fe395919859f 100644
(file)
--- a/
src/amd/vulkan/radv_device.c
+++ b/
src/amd/vulkan/radv_device.c
@@
-2489,8
+2489,8
@@
radv_emit_global_shader_pointers(struct radv_queue *queue,
if (queue->device->physical_device->rad_info.chip_class >= GFX10) {
uint32_t regs[] = {R_00B030_SPI_SHADER_USER_DATA_PS_0,
R_00B130_SPI_SHADER_USER_DATA_VS_0,
- R_00B2
30_SPI_SHADER_USER_DATA_GS_0
,
- R_00B4
30_SPI_SHADER_USER_DATA_HS_0
};
+ R_00B2
08_SPI_SHADER_USER_DATA_ADDR_LO_GS
,
+ R_00B4
08_SPI_SHADER_USER_DATA_ADDR_LO_HS
};
for (int i = 0; i < ARRAY_SIZE(regs); ++i) {
radv_emit_shader_pointer(queue->device, cs, regs[i],