diff options
author | Samuel Pitoiset <[email protected]> | 2018-09-12 15:40:06 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-09-14 10:59:52 +0200 |
commit | aa3020592964344c7032396d159e4ab2df743587 (patch) | |
tree | d5bc35ea91c94df00d940c921b2273965725bc65 /src/amd/vulkan/radv_shader.h | |
parent | b9f6521157ab55073eec528cacc1f3b567e49503 (diff) |
radv: handle loc->indirect correctly for the first descriptor
This was wrong for descriptor #0 when all of them are indirect.
This is because indirect_offset was 0 and we emitted a
"normal" descriptor pointer for nothing.
While we are at it remove
radv_userdata_info::indirect_offset which is useless.
CC: 18.2 <[email protected]>
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_shader.h')
-rw-r--r-- | src/amd/vulkan/radv_shader.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_shader.h b/src/amd/vulkan/radv_shader.h index 897e2fc5e19..c490b69f52b 100644 --- a/src/amd/vulkan/radv_shader.h +++ b/src/amd/vulkan/radv_shader.h @@ -192,7 +192,6 @@ struct radv_userdata_info { int8_t sgpr_idx; uint8_t num_sgprs; bool indirect; - uint32_t indirect_offset; }; struct radv_userdata_locations { |