Commit bc89e1d5 authored by Chad Versace's avatar Chad Versace
Browse files
parent 9411a4d8
// [config]
// expect_result: pass
// glsl_version: 1.20
// [end config]
#version 120
float
f() {
float x = 1.0 / 0.0;
return x;
}
// [config]
// expect_result: pass
// glsl_version: 1.20
// [end config]
#version 120
int
f() {
int x = 1 / 0;
return x;
}
// [config]
// expect_result: pass
// glsl_version: 1.30
// [end config]
#version 130
uint
f() {
uint x = 1u / 0u;
return x;
}
// [config]
// expect_result: pass
// glsl_version: 1.20
// [end config]
#version 120
int
f() {
int x = 1 % 0;
return x;
}
// [config]
// expect_result: pass
// glsl_version: 1.30
// [end config]
#version 130
uint
f() {
uint x = 1u % 0u;
return x;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment