File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -3716,7 +3716,9 @@ namespace IGC
3716
3716
3717
3717
bool clearHDCWritesBeforeEOT = m_program->m_DriverInfo ->UsesSparseAliasedResidency () &&
3718
3718
context->platform .WaInsertHDCFenceBeforeEOTWhenSparseAliasedResources ();
3719
- clearHDCWritesBeforeEOT |= context->type == ShaderType::PIXEL_SHADER &&
3719
+ clearHDCWritesBeforeEOT |= ((context->type == ShaderType::PIXEL_SHADER) ||
3720
+ (context->type == ShaderType::COMPUTE_SHADER) ||
3721
+ (context->type == ShaderType::OPENCL_SHADER)) &&
3720
3722
context->platform .NeedsHDCFenceBeforeEOTInPixelShader ();
3721
3723
clearHDCWritesBeforeEOT |= IGC_IS_FLAG_ENABLED (ForceMemoryFenceBeforeEOT);
3722
3724
@@ -3725,6 +3727,7 @@ namespace IGC
3725
3727
SaveOption (vISA_clearHDCWritesBeforeEOT, true );
3726
3728
}
3727
3729
3730
+
3728
3731
// Disable multi-threaded latencies in the vISA scheduler when not in 3D
3729
3732
if (context->type == ShaderType::OPENCL_SHADER)
3730
3733
{
You can’t perform that action at this time.
0 commit comments