git.s-ol.nu ~forks/DiligentFX / 7c7dc1f
Removed no longer needed CommitShaderResources(nullptr) assiduous 1 year, 1 month ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
200200 pDevice->CreatePipelineState(PSOCreateInfo, &PrecomputeBRDF_PSO);
201201 }
202202 pCtx->SetPipelineState(PrecomputeBRDF_PSO);
203 pCtx->CommitShaderResources(nullptr, RESOURCE_STATE_TRANSITION_MODE_TRANSITION);
203
204204 ITextureView* pRTVs[] = {pBRDF_LUT->GetDefaultView(TEXTURE_VIEW_RENDER_TARGET)};
205205 pCtx->SetRenderTargets(1, pRTVs, nullptr, RESOURCE_STATE_TRANSITION_MODE_TRANSITION);
206206 DrawAttribs attrs(3, DRAW_FLAG_VERIFY_ALL);