mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
15 lines
436 B
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
|
|
};
|
|
|
|
)"
|