Add Get(Inv)WindowResolution shader functions (#5818)
Those are available in upstream Dolphin, so it will help with keeping things compatible.
This commit is contained in:
parent
647a6f8d82
commit
dd31ed60c0
|
@ -90,6 +90,16 @@ float2 GetIInvResolution()
|
|||
return i_resolution.zw;
|
||||
}
|
||||
|
||||
float2 GetWindowResolution()
|
||||
{
|
||||
return o_resolution.xy;
|
||||
}
|
||||
|
||||
float2 GetInvWindowResolution()
|
||||
{
|
||||
return o_resolution.zw;
|
||||
}
|
||||
|
||||
float2 GetOResolution()
|
||||
{
|
||||
return o_resolution.xy;
|
||||
|
|
Reference in New Issue