mirror of
https://github.com/barkeser2002/flower.git
synced 2026-09-25 18:56:16 +03:00
20 lines
935 B
GLSL
20 lines
935 B
GLSL
#ifndef COMMON_SAMPLER_SET_GLSL
|
|
#define COMMON_SAMPLER_SET_GLSL
|
|
|
|
/*
|
|
** Physical based render code, develop by engineer: qiutanguu.
|
|
*/
|
|
|
|
// These samplers' mipmapMode are point. Commonly use for RT read.
|
|
layout(set = COMMON_SAMPLER_SET, binding = 0) uniform sampler pointClampEdgeSampler;
|
|
layout(set = COMMON_SAMPLER_SET, binding = 1) uniform sampler pointClampBorder0000Sampler;
|
|
layout(set = COMMON_SAMPLER_SET, binding = 2) uniform sampler pointRepeatSampler;
|
|
layout(set = COMMON_SAMPLER_SET, binding = 3) uniform sampler linearClampEdgeSampler;
|
|
layout(set = COMMON_SAMPLER_SET, binding = 4) uniform sampler linearClampBorder0000Sampler;
|
|
layout(set = COMMON_SAMPLER_SET, binding = 5) uniform sampler linearRepeatSampler;
|
|
layout(set = COMMON_SAMPLER_SET, binding = 6) uniform sampler linearClampBorder1111Sampler;
|
|
layout(set = COMMON_SAMPLER_SET, binding = 7) uniform sampler pointClampBorder1111Sampler;
|
|
|
|
// Sampler mipmapMode.
|
|
|
|
#endif |