From: Kristian Høgsberg Kristensen Date: Fri, 12 Feb 2016 05:11:48 +0000 (-0800) Subject: anv: Set max_hs_threads/max_ds_threads X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=25c2470b24ce8411f6747eb887137b2511b6d529;p=mesa.git anv: Set max_hs_threads/max_ds_threads --- diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c index 92c5c35699c..1173b4f0cba 100644 --- a/src/intel/vulkan/anv_pipeline.c +++ b/src/intel/vulkan/anv_pipeline.c @@ -420,8 +420,8 @@ anv_pipeline_add_compiled_stage(struct anv_pipeline *pipeline, struct brw_device_info *devinfo = &pipeline->device->info; uint32_t max_threads[] = { [MESA_SHADER_VERTEX] = devinfo->max_vs_threads, - [MESA_SHADER_TESS_CTRL] = 0, - [MESA_SHADER_TESS_EVAL] = 0, + [MESA_SHADER_TESS_CTRL] = devinfo->max_hs_threads, + [MESA_SHADER_TESS_EVAL] = devinfo->max_ds_threads, [MESA_SHADER_GEOMETRY] = devinfo->max_gs_threads, [MESA_SHADER_FRAGMENT] = devinfo->max_wm_threads, [MESA_SHADER_COMPUTE] = devinfo->max_cs_threads,