mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-07 03:55:33 +00:00
GPU/HW: Fix box downsampling on OpenGL ES
This commit is contained in:
parent
afd619a7d8
commit
d7c78eedce
@ -1814,7 +1814,7 @@ std::string GPU_HW_ShaderGen::GenerateBoxSampleDownsampleFragmentShader(u32 fact
|
|||||||
DeclareUniformBuffer(ss, {"uint2 u_base_coords"}, true);
|
DeclareUniformBuffer(ss, {"uint2 u_base_coords"}, true);
|
||||||
DeclareTexture(ss, "samp0", 0, false);
|
DeclareTexture(ss, "samp0", 0, false);
|
||||||
|
|
||||||
ss << "#define FACTOR " << factor << "\n";
|
ss << "CONSTANT uint FACTOR = " << factor << "u;\n";
|
||||||
|
|
||||||
DeclareFragmentEntryPoint(ss, 0, 1, {}, true);
|
DeclareFragmentEntryPoint(ss, 0, 1, {}, true);
|
||||||
ss << R"(
|
ss << R"(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user