rpcsx/rpcsx-gpu2/shaders/flip_std.frag.glsl
DH 4e83c9e121 gpu2: fix flipper
static pipeline for flip engine
optimize linear tiler
fixed out of bound in the tiler
implement swizzling for sampled images
2024-09-28 18:07:24 +03:00

12 lines
258 B
GLSL

#version 450
layout(location = 0) in vec2 coord;
layout(location = 0) out vec4 color;
layout(binding = 0) uniform texture2D tex;
layout(binding = 1) uniform sampler samp;
void main()
{
color = vec4(texture(sampler2D(tex, samp), coord.xy).xyz, 1).rgba;
}