mirror of
https://github.com/Q3Rally-Team/rallyunlimited-engine.git
synced 2024-11-22 12:21:09 +00:00
15 lines
291 B
GLSL
15 lines
291 B
GLSL
#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 );
|
|
}
|