mirror of https://github.com/PCSX2/pcsx2.git
glsl: avoid an unset warning
This commit is contained in:
parent
df45c99f96
commit
8c4d8cfdca
|
@ -237,7 +237,7 @@ vec4 sample_depth(vec2 st)
|
|||
vec2 uv_f = vec2(clamp_wrap_uv_depth(ivec2(st))) * vec2(ScalingFactor.xy) * vec2(1.0f/16.0f);
|
||||
ivec2 uv = ivec2(uv_f);
|
||||
|
||||
vec4 t;
|
||||
vec4 t = vec4(0.0f);
|
||||
#if PS_TALES_OF_ABYSS_HLE == 1
|
||||
// Warning: UV can't be used in channel effect
|
||||
int depth = fetch_raw_depth();
|
||||
|
|
|
@ -1080,7 +1080,7 @@ static const char* const tfx_fs_all_glsl =
|
|||
" vec2 uv_f = vec2(clamp_wrap_uv_depth(ivec2(st))) * vec2(ScalingFactor.xy) * vec2(1.0f/16.0f);\n"
|
||||
" ivec2 uv = ivec2(uv_f);\n"
|
||||
"\n"
|
||||
" vec4 t;\n"
|
||||
" vec4 t = vec4(0.0f);\n"
|
||||
"#if PS_TALES_OF_ABYSS_HLE == 1\n"
|
||||
" // Warning: UV can't be used in channel effect\n"
|
||||
" int depth = fetch_raw_depth();\n"
|
||||
|
|
Loading…
Reference in New Issue