diff options
author | Hans-Kristian Arntzen <post@arntzen-software.no> | 2020-09-28 15:09:39 +0300 |
---|---|---|
committer | Hans-Kristian Arntzen <post@arntzen-software.no> | 2020-09-28 15:10:08 +0300 |
commit | 5ea576ece20cfd2efcfa5dbdfd6c0c8c7729fbb1 (patch) | |
tree | f72a0727ea14cea73cd0cd9bbae82a4e7ba87b2f /spirv_hlsl.cpp | |
parent | ea3cd744266a28c1fa3b977b9b22df679c97b344 (diff) |
Allow flip_vert_y in all relevant stages.
Diffstat (limited to 'spirv_hlsl.cpp')
-rw-r--r-- | spirv_hlsl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spirv_hlsl.cpp b/spirv_hlsl.cpp index 070a83e5..b7cdef73 100644 --- a/spirv_hlsl.cpp +++ b/spirv_hlsl.cpp @@ -2649,7 +2649,7 @@ void CompilerHLSL::emit_hlsl_entry_point() void CompilerHLSL::emit_fixup() { - if (get_entry_point().model == ExecutionModelVertex) + if (is_vertex_like_shader()) { // Do various mangling on the gl_Position. if (hlsl_options.shader_model <= 30) |