PSO format defs

This commit is contained in:
turanszkij
2017-12-04 12:02:13 +00:00
parent e8c380e9e3
commit a100975fb0
12 changed files with 248 additions and 59 deletions
+3
View File
@@ -402,6 +402,9 @@ void wiOcean::LoadShaders()
desc.bs = &blendState;
desc.rs = &rasterizerState;
desc.dss = &depthStencilState;
desc.numRTs = 1;
desc.RTFormats[0] = wiRenderer::RTFormat_forward;
desc.DSFormat = wiRenderer::DSFormat_full;
device->CreateGraphicsPSO(&desc, &PSO);
desc.ps = g_pWireframePS;