rallyunlimited-engine/code/renderervk/shaders/dot.frag

16 lines
291 B
GLSL
Raw Normal View History

2024-02-02 16:46:17 +00:00
#version 450
layout(set = 0, binding = 0) buffer SSBO {
int sampled;
};
layout(location = 0) out vec4 out_color;
layout(early_fragment_tests) in; // force Early Fragment Tests
void main() {
//atomicAdd( sampled, 1 );
sampled = 1;
discard;
//out_color = vec4( 0.0, 1.0, 0.0, 1.0 );
}