diff options
author | Alex Smith <[email protected]> | 2018-05-31 15:18:52 +0100 |
---|---|---|
committer | Alex Smith <[email protected]> | 2018-06-01 08:53:31 +0100 |
commit | 7ca0167ae97def827d66205b7c873ceb360224ab (patch) | |
tree | d5b550db828695d594df04e38ec88e0da235ff7f /src/amd/vulkan/radv_private.h | |
parent | 0fa51bfdbe5773cb8534b9e006b81581f4e14982 (diff) |
radv: Consolidate GFX9 merged shader lookup logic
This was being handled in a few different places, consolidate it into a
single radv_get_shader() function.
Signed-off-by: Alex Smith <[email protected]>
Cc: "18.1" <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 518f11dbcbf..316fbc9af1d 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -1316,7 +1316,8 @@ struct radv_userdata_info *radv_lookup_user_sgpr(struct radv_pipeline *pipeline, gl_shader_stage stage, int idx); -struct radv_shader_variant *radv_get_vertex_shader(struct radv_pipeline *pipeline); +struct radv_shader_variant *radv_get_shader(struct radv_pipeline *pipeline, + gl_shader_stage stage); struct radv_graphics_pipeline_create_info { bool use_rectlist; |