mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 22:11:01 +01:00
37 lines
417 B
GLSL
37 lines
417 B
GLSL
#version 460 core
|
|
|
|
void switchEmpty(int a) {
|
|
switch (a) {}
|
|
|
|
return;
|
|
}
|
|
|
|
void switchNoDefault(int a) {
|
|
switch (a) {
|
|
case 0:
|
|
break;
|
|
}
|
|
|
|
return;
|
|
}
|
|
|
|
void switchCaseImplConv(uint a) {
|
|
switch (a) {
|
|
case 0:
|
|
break;
|
|
}
|
|
|
|
return;
|
|
}
|
|
|
|
void switchNoLastBreak(int a) {
|
|
switch (a) {
|
|
default:
|
|
int b = a;
|
|
}
|
|
|
|
return;
|
|
}
|
|
|
|
void main() {}
|