mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 00:59:44 +00:00
partial revert of 8a6f747408
texture_rect isn't in core 3.0, so the long texture function must be used
This commit is contained in:
parent
da0ec6618f
commit
6afc30240a
4 changed files with 7 additions and 7 deletions
|
@ -484,7 +484,7 @@ TextureCache::TextureCache()
|
|||
"void main(){\n"
|
||||
" vec4 Temp0, Temp1;\n"
|
||||
" vec4 K0 = vec4(0.5, 0.5, 0.5, 0.5);\n"
|
||||
" Temp0 = texture(samp9, uv0);\n"
|
||||
" Temp0 = texture2DRect(samp9, uv0);\n"
|
||||
" Temp0 = Temp0 * colmat[5];\n"
|
||||
" Temp0 = Temp0 + K0;\n"
|
||||
" Temp0 = floor(Temp0);\n"
|
||||
|
@ -513,7 +513,7 @@ TextureCache::TextureCache()
|
|||
" vec4 R0, R1, R2;\n"
|
||||
" vec4 K0 = vec4(255.99998474121, 0.003921568627451, 256.0, 0.0);\n"
|
||||
" vec4 K1 = vec4(15.0, 0.066666666666, 0.0, 0.0);\n"
|
||||
" R2 = texture(samp9, uv0);\n"
|
||||
" R2 = texture2DRect(samp9, uv0);\n"
|
||||
" R0.x = R2.x * K0.x;\n"
|
||||
" R0.x = floor(R0).x;\n"
|
||||
" R0.yzw = (R0 - R0.x).yzw;\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue