[D3D12] Fix typos in shader_compiler_main

This commit is contained in:
Triang3l 2019-07-14 00:18:37 +03:00
parent 4825e69fda
commit f393c621d7
1 changed files with 3 additions and 3 deletions

View File

@ -115,11 +115,11 @@ int shader_compiler_main(const std::vector<std::wstring>& 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;
}
}