diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-05-22 23:19:39 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-05-22 23:19:39 +0000 |
| commit | 8151bc6df37372eb91011edede9ffbb258ebeab6 (patch) | |
| tree | c26b3f1cb425ff5069b04c02b8e36b106bea4549 /Graphics/HLSL2GLSLConverterLib | |
| parent | Removed workarounds for GS, HS and DS in Vulkan tests (diff) | |
| download | DiligentCore-8151bc6df37372eb91011edede9ffbb258ebeab6.tar.gz DiligentCore-8151bc6df37372eb91011edede9ffbb258ebeab6.zip | |
Unified VULKAN shader define in VK and GL backends
Diffstat (limited to 'Graphics/HLSL2GLSLConverterLib')
| -rw-r--r-- | Graphics/HLSL2GLSLConverterLib/include/GLSLDefinitions.h | 2 | ||||
| -rw-r--r-- | Graphics/HLSL2GLSLConverterLib/include/GLSLDefinitions_inc.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Graphics/HLSL2GLSLConverterLib/include/GLSLDefinitions.h b/Graphics/HLSL2GLSLConverterLib/include/GLSLDefinitions.h index ad3bc2ab..b6f068c2 100644 --- a/Graphics/HLSL2GLSLConverterLib/include/GLSLDefinitions.h +++ b/Graphics/HLSL2GLSLConverterLib/include/GLSLDefinitions.h @@ -1040,7 +1040,7 @@ vec4 _frexp(vec4 f4, out vec4 fexp4) // Helper functions -#ifdef TARGET_API_VULKAN +#ifdef VULKAN #define NDC_MIN_Z 0.0 // Minimal z in the normalized device space diff --git a/Graphics/HLSL2GLSLConverterLib/include/GLSLDefinitions_inc.h b/Graphics/HLSL2GLSLConverterLib/include/GLSLDefinitions_inc.h index 042d4958..42d41d90 100644 --- a/Graphics/HLSL2GLSLConverterLib/include/GLSLDefinitions_inc.h +++ b/Graphics/HLSL2GLSLConverterLib/include/GLSLDefinitions_inc.h @@ -1040,7 +1040,7 @@ "\n" "// Helper functions\n" "\n" -"#ifdef TARGET_API_VULKAN\n" +"#ifdef VULKAN\n" "\n" "#define NDC_MIN_Z 0.0 // Minimal z in the normalized device space\n" "\n" |
