mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2025-03-09 19:31:57 +01:00

Mostly older stuff I hadn't gotten around to committing * AA removal XCX, not really needed anymore, ground is no longer broken, just for those who force AA through gfx drives * XCX adjustable bloom, for those who didn't download the old fix * BOTW, dark statue fix, cheers whoever msgd about this a while back * DK TF, AA removal re-commit, issue was retracted after deleting shader cache I guess..
22 lines
896 B
Plaintext
22 lines
896 B
Plaintext
#version 400
|
|
#extension GL_ARB_texture_gather : enable
|
|
// shader e2e605304f3b00d7 //AA removal v2
|
|
uniform ivec4 uf_remappedPS[2];
|
|
uniform sampler2D textureUnitPS0;// Tex0 addr 0xf55ae800 res 1280x720x1 dim 1 tm: 4 format 0001 compSel: 0 4 4 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0
|
|
uniform sampler2D textureUnitPS1;// Tex1 addr 0xf4708800 res 1280x720x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0
|
|
in vec4 passParameter0;
|
|
layout(location = 0) out vec4 passPixelColor0;
|
|
int clampFI32(int v)
|
|
{
|
|
if( v == 0x7FFFFFFF )
|
|
return floatBitsToInt(1.0);
|
|
else if( v == 0xFFFFFFFF )
|
|
return floatBitsToInt(0.0);
|
|
return floatBitsToInt(clamp(intBitsToFloat(v), 0.0, 1.0));
|
|
}
|
|
float mul_nonIEEE(float a, float b){ if( a == 0.0 || b == 0.0 ) return 0.0; return a*b; }
|
|
void main()
|
|
{
|
|
|
|
}
|