Merge pull request #38135 from bruvzg/fix_ssr_redefinition
[MoltenVK] Fix "redefinition of 'ssr' with a different type" shader compile error.
This commit is contained in:
commit
2efff83ca9
1 changed files with 2 additions and 2 deletions
|
@ -48,8 +48,8 @@ void main() {
|
||||||
frag_color.a = 0.0;
|
frag_color.a = 0.0;
|
||||||
#ifdef MODE_SSR
|
#ifdef MODE_SSR
|
||||||
|
|
||||||
vec4 ssr = texture(ssr, uv_interp);
|
vec4 ssr_color = texture(ssr, uv_interp);
|
||||||
frag_color.rgb = mix(frag_color.rgb, ssr.rgb, ssr.a);
|
frag_color.rgb = mix(frag_color.rgb, ssr_color.rgb, ssr_color.a);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef MODE_MERGE
|
#ifdef MODE_MERGE
|
||||||
|
|
Loading…
Reference in a new issue