File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -277,8 +277,8 @@ void CDomainShader::FillProgram(SDomainShaderKernelProgram* pKernelProgram)
277
277
278
278
pKernelProgram->MaxNumberOfThreads = m_Platform->getMaxDomainShaderThreads ();
279
279
pKernelProgram->ComputeWAttribute = !m_properties.m_WArg ->use_empty ();
280
- pKernelProgram->URBAllocationSize = GetURBAllocationSize () + GetURBHeaderSize () ;
281
- pKernelProgram->VertexURBEntryOutputLength = GetURBAllocationSize ();
280
+ pKernelProgram->URBAllocationSize = GetURBAllocationSize ();
281
+ pKernelProgram->VertexURBEntryOutputLength = GetURBAllocationSize () - GetURBHeaderSize () ;
282
282
pKernelProgram->VertexURBEntryReadLength = GetVertexURBEntryReadLength ();
283
283
pKernelProgram->VertexURBEntryReadOffset = OctEltUnit (0 );
284
284
pKernelProgram->VertexURBEntryOutputReadOffset = GetURBHeaderSize ();
You can’t perform that action at this time.
0 commit comments