summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_shader.h
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2019-06-01 20:25:47 +0200
committerBas Nieuwenhuizen <[email protected]>2019-08-12 23:00:24 +0200
commit739a2880f520a1ecd11a3fec8c3a38398b6dd1ce (patch)
treee0637eeda1c0b1636647276fc11db703d59b43fa /src/amd/vulkan/radv_shader.h
parent290ca0c4dd1506f83b59a0f529546180340a4ce5 (diff)
radv: Get max workgroup size without nir.
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_shader.h')
-rw-r--r--src/amd/vulkan/radv_shader.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_shader.h b/src/amd/vulkan/radv_shader.h
index f93b1ec0fe2..af097215f53 100644
--- a/src/amd/vulkan/radv_shader.h
+++ b/src/amd/vulkan/radv_shader.h
@@ -419,6 +419,11 @@ radv_get_max_waves(struct radv_device *device,
struct radv_shader_variant *variant,
gl_shader_stage stage);
+unsigned
+radv_get_max_workgroup_size(enum chip_class chip_class,
+ gl_shader_stage stage,
+ const unsigned *sizes);
+
const char *
radv_get_shader_name(struct radv_shader_variant_info *info,
gl_shader_stage stage);