Skip to content

Commit ed9b553

Browse files
authored
* UPD: [Render] r_ComputePass fix
1 parent 43b05b8 commit ed9b553

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Layers/xrRenderDX10/Blender_Recorder_R3.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,7 @@ void CBlender_Compile::r_TessPass(LPCSTR vs, LPCSTR hs, LPCSTR ds, LPCSTR gs, LP
252252

253253
void CBlender_Compile::r_ComputePass(LPCSTR cs)
254254
{
255-
//LVutner: Sometimes CBuffers would be either empty or corrupted.
256-
//That often happens with multipass CS setups. Needs more testing.
257-
if(strstr(Core.Params, "-clear_cs_constants"))
258-
ctable.clear();
255+
ctable.clear();
259256

260257
dest.cs = DEV->_CreateCS(cs);
261258

0 commit comments

Comments
 (0)