mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-06 23:11:18 +12:00
fix: missing color attachments & bind some other state
This commit is contained in:
parent
a38ddb5fc2
commit
6d34d24322
4 changed files with 58 additions and 9 deletions
|
@ -221,7 +221,7 @@ namespace LatteDecompiler
|
|||
{
|
||||
auto* src = shaderContext->shaderSource;
|
||||
|
||||
src->add("#define GET_FRAGCOORD() vec4(in.position.xy * supportBuffer.fragCoordScale.xy, in.position.z, 1.0 / in.position.w)" _CRLF);
|
||||
src->add("#define GET_FRAGCOORD() float4(in.position.xy * supportBuffer.fragCoordScale.xy, in.position.z, 1.0 / in.position.w)" _CRLF);
|
||||
|
||||
src->add("struct FragmentIn {" _CRLF);
|
||||
src->add("float4 position [[position]];" _CRLF);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue