GLSL: Fix #1279: refract does not have a double-type eta.
This commit is contained in:
4
Test/spv.float64.frag
Normal file → Executable file
4
Test/spv.float64.frag
Normal file → Executable file
@@ -204,7 +204,7 @@ void builtinGeometryFuncs()
|
||||
{
|
||||
float64_t f64;
|
||||
f64vec3 f64v1, f64v2, f64v3;
|
||||
|
||||
float f;
|
||||
f64 = length(f64v1);
|
||||
f64 = distance(f64v1, f64v2);
|
||||
f64 = dot(f64v1, f64v2);
|
||||
@@ -212,7 +212,7 @@ void builtinGeometryFuncs()
|
||||
f64v2 = normalize(f64v1);
|
||||
f64v3 = faceforward(f64v1, f64v2, f64v3);
|
||||
f64v3 = reflect(f64v1, f64v2);
|
||||
f64v3 = refract(f64v1, f64v2, f64);
|
||||
f64v3 = refract(f64v1, f64v2, f);
|
||||
}
|
||||
|
||||
void builtinMatrixFuncs()
|
||||
|
||||
Reference in New Issue
Block a user