mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-30 22:08:04 +03:00
TextureCache: Remove redundant floor().
This commit is contained in:
parent
b01ca1794a
commit
7e266b080f
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,7 @@ void TextureCache::CompileShaders()
|
||||||
"\n"
|
"\n"
|
||||||
"void main(){\n"
|
"void main(){\n"
|
||||||
" vec4 texcol = texture(samp9, vec3(f_uv0.xy, %s));\n"
|
" vec4 texcol = texture(samp9, vec3(f_uv0.xy, %s));\n"
|
||||||
" int depth = int(floor(texcol.x * 16777216.0));\n"
|
" int depth = int(texcol.x * 16777216.0);\n"
|
||||||
|
|
||||||
// Convert to Z24 format
|
// Convert to Z24 format
|
||||||
" ivec4 workspace;\n"
|
" ivec4 workspace;\n"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue