diff options
author | Kristian Høgsberg Kristensen <[email protected]> | 2016-02-11 21:11:48 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-02-24 12:21:26 -0800 |
commit | 25c2470b24ce8411f6747eb887137b2511b6d529 (patch) | |
tree | d08b166615134900ba0ab1b7c9036e0734b27106 /src/intel/vulkan/anv_pipeline.c | |
parent | 3ecd357d816dc71b2c6ebd6ace38c76ebb25674e (diff) |
anv: Set max_hs_threads/max_ds_threads
Diffstat (limited to 'src/intel/vulkan/anv_pipeline.c')
-rw-r--r-- | src/intel/vulkan/anv_pipeline.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, |