diff options
author | Dave Airlie <[email protected]> | 2017-06-07 09:04:30 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-06-07 10:24:36 +1000 |
commit | 734ea16bdb8f06f74177664577a754b029504e4b (patch) | |
tree | 34322370c241200f51539eb412d13f432b405ef1 /src/amd/vulkan/radv_private.h | |
parent | 3f48021b86e3876405376798b545f5b28622cf77 (diff) |
radv: move calculating the vertex sgpr to the pipeline.
There is no need to calculate this at draw time.
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index e31ea2b5e94..13f298e72e9 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -1077,6 +1077,8 @@ struct radv_pipeline { uint32_t ps_input_cntl_num; uint32_t pa_cl_vs_out_cntl; uint32_t vgt_shader_stages_en; + uint32_t vtx_base_sgpr; + uint8_t vtx_emit_num; struct radv_prim_vertex_count prim_vertex_count; bool can_use_guardband; } graphics; |