You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
334 B
20 lines
334 B
#version 440 core
|
|
|
|
layout(binding = 0, std140) uniform ubo_block {
|
|
float unused_uniform;
|
|
float shared_uniform;
|
|
float vsonly_uniform;
|
|
float fsonly_uniform;
|
|
} ubo;
|
|
|
|
in float vertout;
|
|
|
|
out float fragout;
|
|
|
|
void main()
|
|
{
|
|
fragout = vertout;
|
|
fragout += ubo.shared_uniform;
|
|
fragout += ubo.fsonly_uniform;
|
|
}
|