On Skylake enabling of ForceThreadDispatchEnable causes gpu-hang. CC: Jason Ekstrand <jason.ekstr...@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107941 Fixes: 79270d2140ec (anv: Stop setting 3DSTATE_PS_EXTRA::PixelShaderHasUAV) Signed-off-by: Sergii Romantsov <sergii.romant...@globallogic.com> --- src/intel/vulkan/genX_pipeline.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/intel/vulkan/genX_pipeline.c b/src/intel/vulkan/genX_pipeline.c index 9595a71..bf5150d 100644 --- a/src/intel/vulkan/genX_pipeline.c +++ b/src/intel/vulkan/genX_pipeline.c @@ -1462,7 +1462,8 @@ emit_3dstate_wm(struct anv_pipeline *pipeline, struct anv_subpass *subpass, * is 3DSTATE_PS_EXTRA::PixelShaderHasUAV which causes hangs on BDW. * Given two bad options, we choose the one which works. */ - if ((wm_prog_data->has_side_effects || wm_prog_data->uses_kill) && + if (!pipeline->device->info.is_skylake && + (wm_prog_data->has_side_effects || wm_prog_data->uses_kill) && !has_color_buffer_write_enabled(pipeline, blend)) wm.ForceThreadDispatchEnable = ForceON; #endif -- 2.7.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev