From f393c621d7c6b3dd3f0529a16763e10b9daa9c35 Mon Sep 17 00:00:00 2001 From: Triang3l Date: Sun, 14 Jul 2019 00:18:37 +0300 Subject: [PATCH] [D3D12] Fix typos in shader_compiler_main --- src/xenia/gpu/shader_compiler_main.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xenia/gpu/shader_compiler_main.cc b/src/xenia/gpu/shader_compiler_main.cc index 3b6310f29..1acee9b8e 100644 --- a/src/xenia/gpu/shader_compiler_main.cc +++ b/src/xenia/gpu/shader_compiler_main.cc @@ -115,11 +115,11 @@ int shader_compiler_main(const std::vector& args) { PrimitiveType patch_primitive_type = PrimitiveType::kNone; if (shader_type == ShaderType::kVertex) { if (FLAGS_shader_output_patch == "line") { - patch_primitive_type == PrimitiveType::kLinePatch; + patch_primitive_type = PrimitiveType::kLinePatch; } else if (FLAGS_shader_output_patch == "triangle") { - patch_primitive_type == PrimitiveType::kTrianglePatch; + patch_primitive_type = PrimitiveType::kTrianglePatch; } else if (FLAGS_shader_output_patch == "quad") { - patch_primitive_type == PrimitiveType::kQuadPatch; + patch_primitive_type = PrimitiveType::kQuadPatch; } }