From aa45d7b47ddda0e1f5dd233a1e2cd6fa74208ef4 Mon Sep 17 00:00:00 2001 From: Triang3l Date: Sat, 25 Jun 2022 15:13:11 +0300 Subject: [PATCH] [D3D12] More descriptive pipeline creation call comment [ci skip] --- src/xenia/gpu/d3d12/d3d12_command_processor.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/xenia/gpu/d3d12/d3d12_command_processor.cc b/src/xenia/gpu/d3d12/d3d12_command_processor.cc index 5eec45459..59f2a640a 100644 --- a/src/xenia/gpu/d3d12/d3d12_command_processor.cc +++ b/src/xenia/gpu/d3d12/d3d12_command_processor.cc @@ -2185,7 +2185,9 @@ bool D3D12CommandProcessor::IssueDraw(xenos::PrimitiveType primitive_type, return false; } - // Translate the shaders and create the pipeline if needed. + // Create the pipeline (for this, need the actually used render target formats + // from the render target cache), translating the shaders - doing this now to + // obtain the used textures. D3D12Shader::D3D12Translation* vertex_shader_translation = static_cast( vertex_shader->GetOrCreateTranslation(