rpcs3/rpcs3/Emu/RSX/Program/GLSLSnippets/RSXProg/RSXDefines2.glsl

15 lines
436 B
GLSL

R"(
// Small structures that should be defined before any backend logic
// Avoid arrays and sub-vec4 members because of std140 padding constraints
struct sampler_info
{
float scale_x, scale_y, scale_z; // 12
float bias_x, bias_y, bias_z; // 24
float clamp_min_x, clamp_min_y; // 32
float clamp_max_x, clamp_max_y; // 40
uint remap; // 44
uint flags; // 48
};
)"