mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
GeometryShader: Don't read from output variables
This commit is contained in:
parent
106df04e8e
commit
ed9f258b27
2 changed files with 11 additions and 10 deletions
|
@ -408,7 +408,7 @@ void TextureCache::CompileShaders()
|
|||
"{\n"
|
||||
" int layers = textureSize(samp9, 0).z;\n"
|
||||
" for (int layer = 0; layer < layers; ++layer) {\n"
|
||||
" for (int i = 0; i < gl_in.length(); ++i) {\n"
|
||||
" for (int i = 0; i < 3; ++i) {\n"
|
||||
" f_uv0 = vec3(v_uv0[i].xy, layer);\n"
|
||||
" gl_Position = gl_in[i].gl_Position;\n"
|
||||
" gl_Layer = layer;\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue