mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-28 23:38:49 +00:00
fixed z textures, don't know where this is used but a fix is a fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4486 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
9a59619560
commit
ec77ba3e99
2 changed files with 7 additions and 9 deletions
|
@ -117,13 +117,10 @@ void PixelShaderCache::Init()
|
|||
"TEMP R0;\n"
|
||||
"TEMP R1;\n"
|
||||
"TEMP R2;\n"
|
||||
"PARAM K0 = { 65535.0, 255.0 };\n"
|
||||
"PARAM K0 = { 65535.0, 255.0,1.0};\n"
|
||||
"TEX R2, fragment.texcoord[0], texture[0], RECT;\n"
|
||||
"MUL R0.x, R2.x, K0.x;\n"
|
||||
"FRC R0.x, R0.x;\n"
|
||||
"MUL R0.y, R2.x, K0.y;\n"
|
||||
"FRC R0.y, R0.y;\n"
|
||||
"MOV R0.z, R2.x;\n"
|
||||
"MUL R0, R2.x, K0;\n"
|
||||
"FRC R0, R0;\n"
|
||||
"DP4 R1.x, R0, program.env[%d];\n"
|
||||
"DP4 R1.y, R0, program.env[%d];\n"
|
||||
"DP4 R1.z, R0, program.env[%d];\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue