Merge branch 'master' into vulkan

This commit is contained in:
Triang3l 2022-06-25 15:13:41 +03:00
commit 4db445c6f9
1 changed files with 3 additions and 1 deletions

View File

@ -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<D3D12Shader::D3D12Translation*>(
vertex_shader->GetOrCreateTranslation(