Skip to content

Commit f21a62b

Browse files
weiyu-chensys_zuul
authored andcommitted
Changes in code.
Change-Id: Ib9912b951aeff16d24c290fa6ab47c48de714993
1 parent d66fad5 commit f21a62b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

IGC/Compiler/CISACodeGen/CISABuilder.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3716,9 +3716,7 @@ namespace IGC
37163716

37173717
bool clearHDCWritesBeforeEOT = m_program->m_DriverInfo->UsesSparseAliasedResidency() &&
37183718
context->platform.WaInsertHDCFenceBeforeEOTWhenSparseAliasedResources();
3719-
clearHDCWritesBeforeEOT |= ((context->type == ShaderType::PIXEL_SHADER) ||
3720-
(context->type == ShaderType::COMPUTE_SHADER) ||
3721-
(context->type == ShaderType::OPENCL_SHADER)) &&
3719+
clearHDCWritesBeforeEOT |= context->type == ShaderType::PIXEL_SHADER &&
37223720
context->platform.NeedsHDCFenceBeforeEOTInPixelShader();
37233721
clearHDCWritesBeforeEOT |= IGC_IS_FLAG_ENABLED(ForceMemoryFenceBeforeEOT);
37243722

@@ -3727,7 +3725,6 @@ namespace IGC
37273725
SaveOption(vISA_clearHDCWritesBeforeEOT, true);
37283726
}
37293727

3730-
37313728
// Disable multi-threaded latencies in the vISA scheduler when not in 3D
37323729
if (context->type == ShaderType::OPENCL_SHADER)
37333730
{

0 commit comments

Comments
 (0)