Skip to content

Commit d454541

Browse files
aratajewigcbot
authored andcommitted
Fix passing incorrect address to borderColor
Instead of passing an address to memory buffer where borderColor is stored, address of variable containing offset in memory buffer was passed. This was causing undeterministic patch tokens generation.
1 parent 052eb47 commit d454541

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IGC/AdaptorOCL/OCL/sp/sp_g8.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,7 @@ DWORD CGen8OpenCLStateProcessor::AllocateSamplerIndirectState(
11091109
#if ( defined( _DEBUG ) || defined( _INTERNAL ) || defined( _RELEASE_INTERNAL ) )
11101110
{
11111111
G6HWC::DebugSamplerIndirectStateCommand(
1112-
&samplerIndirectStateOffset,
1112+
membuf.GetLinearPointer() + samplerIndirectStateOffset,
11131113
m_Platform,
11141114
m_oclStateDebugMessagePrintOut );
11151115
}

0 commit comments

Comments
 (0)