mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
Cleanup.
This commit is contained in:
parent
c8f1157f3b
commit
a555a112a6
1 changed files with 2 additions and 2 deletions
|
@ -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); }
|
||||
|
|
Loading…
Reference in a new issue