mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-23 01:59:18 +01:00
de661b9a40
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..
24 lines
937 B
Plaintext
24 lines
937 B
Plaintext
#version 400
|
|
#extension GL_ARB_texture_gather : enable
|
|
// shader fb621fd19d12ca17 //porob
|
|
uniform ivec4 uf_remappedPS[2];
|
|
uniform sampler2D textureUnitPS0;// Tex0 addr 0xf4e12000 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 0xf470a000 res 1280x720x1 dim 1 tm: 4 format 0816 compSel: 0 1 2 5 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler1 ClampX/Y/Z: 2 2 2 border: 0
|
|
in vec4 passParameter0;
|
|
in vec4 passParameter1;
|
|
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){ return min(a*b,min(abs(a)*3.40282347E+38F,abs(b)*3.40282347E+38F)); }
|
|
void main()
|
|
{
|
|
discard;
|
|
|
|
}
|