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.
|
#version 450
|
|
|
|
layout(location =0 ) in int c;
|
|
layout(location =0 ) out int o;
|
|
|
|
void main() {
|
|
int i;
|
|
switch(c) {
|
|
case 0: o=1;
|
|
break;
|
|
o=2;
|
|
default: break;
|
|
}
|
|
o = 3;
|
|
}
|