From a555a112a60182f831ca265c55cd384ebf6beb53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Thu, 16 Apr 2015 21:53:26 -0700 Subject: [PATCH] Cleanup. --- src/bgfx_shader.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bgfx_shader.sh b/src/bgfx_shader.sh index 79f593d3..c3d74bb9 100644 --- a/src/bgfx_shader.sh +++ b/src/bgfx_shader.sh @@ -219,9 +219,9 @@ float bgfxShadow2DProj(sampler2DShadow _sampler, vec4 _coord) # define texture2DLod(_sampler, _coord, _level) tex2Dlod(_sampler, vec4( (_coord).xy, 0.0, _level) ) # define texture3DLod(_sampler, _coord, _level) tex3Dlod(_sampler, vec4( (_coord).xyz, _level) ) # define textureCubeLod(_sampler, _coord, _level) texCUBElod(_sampler, vec4( (_coord).xyz, _level) ) -# endif +# endif // BGFX_SHADER_LANGUAGE_HLSL == 2 -# endif // +# endif // BGFX_SHADER_LANGUAGE_HLSL > 3 vec2 vec2_splat(float _x) { return vec2(_x, _x); } vec3 vec3_splat(float _x) { return vec3(_x, _x, _x); }