mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Almost there.
This commit is contained in:
parent
164b56ff73
commit
33c24f0a15
6 changed files with 175 additions and 88 deletions
|
@ -291,7 +291,7 @@ const char *GenerateVertexShaderCode(u32 components, API_TYPE ApiType)
|
|||
}
|
||||
else
|
||||
{
|
||||
WRITE(p, "int posmtx = fposmtx;\n");
|
||||
WRITE(p, "int posmtx = int(fposmtx);\n");
|
||||
}
|
||||
|
||||
WRITE(p, "float4 pos = float4(dot("I_TRANSFORMMATRICES"[posmtx], rawpos), dot("I_TRANSFORMMATRICES"[posmtx+1], rawpos), dot("I_TRANSFORMMATRICES"[posmtx+2], rawpos), 1);\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue