Lines Matching refs:psoDesc
502 D3D12_GRAPHICS_PIPELINE_STATE_DESC psoDesc = {}; in create_pipeline_state() local
504 psoDesc.pRootSignature = rootSig->rootSignature(); in create_pipeline_state()
506 psoDesc.VS = { reinterpret_cast<UINT8*>(vertexShader->GetBufferPointer()), in create_pipeline_state()
508 psoDesc.PS = { reinterpret_cast<UINT8*>(pixelShader->GetBufferPointer()), in create_pipeline_state()
511 psoDesc.StreamOutput = { nullptr, 0, nullptr, 0, 0 }; in create_pipeline_state()
513 fill_in_blend_state(programInfo.pipeline(), &psoDesc.BlendState); in create_pipeline_state()
514 psoDesc.SampleMask = UINT_MAX; in create_pipeline_state()
517 &psoDesc.RasterizerState); in create_pipeline_state()
519 fill_in_depth_stencil_state(programInfo, &psoDesc.DepthStencilState); in create_pipeline_state()
526 psoDesc.InputLayout = { inputElements.get(), totalAttributeCnt }; in create_pipeline_state()
528 psoDesc.IBStripCutValue = D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED; in create_pipeline_state()
531 psoDesc.PrimitiveTopologyType = gr_primitive_type_to_d3d(programInfo.primitiveType()); in create_pipeline_state()
533 psoDesc.NumRenderTargets = 1; in create_pipeline_state()
535 psoDesc.RTVFormats[0] = renderTargetFormat; in create_pipeline_state()
537 psoDesc.DSVFormat = depthStencilFormat; in create_pipeline_state()
540 psoDesc.SampleDesc = { numSamples, sampleQualityPattern }; in create_pipeline_state()
543 psoDesc.NodeMask = 0; in create_pipeline_state()
545 psoDesc.CachedPSO = { nullptr, 0 }; in create_pipeline_state()
546 psoDesc.Flags = D3D12_PIPELINE_STATE_FLAG_NONE; in create_pipeline_state()
552 gpu->device()->CreateGraphicsPipelineState(&psoDesc, IID_PPV_ARGS(&pipelineState))); in create_pipeline_state()
673 D3D12_COMPUTE_PIPELINE_STATE_DESC psoDesc = {}; in MakeComputePipeline() local
674 psoDesc.pRootSignature = rootSig->rootSignature(); in MakeComputePipeline()
694 psoDesc.CS = { reinterpret_cast<UINT8*>(shaderBlob->GetBufferPointer()), in MakeComputePipeline()
699 psoDesc.NodeMask = 0; in MakeComputePipeline()
701 psoDesc.CachedPSO = { nullptr, 0 }; in MakeComputePipeline()
702 psoDesc.Flags = D3D12_PIPELINE_STATE_FLAG_NONE; in MakeComputePipeline()
708 gpu->device()->CreateComputePipelineState(&psoDesc, IID_PPV_ARGS(&pipelineState))); in MakeComputePipeline()