Home
last modified time | relevance | path

Searched refs:IMM_FP (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/compiler/glsl/
Dbuiltin_functions.cpp3549 #define IMM_FP(type, val) (type->is_double()) ? imm(val) : imm((float)val) macro
4169 IMM_FP(x_type, 0.0), IMM_FP(x_type, 1.0)))); in _smoothstep()
4171 body.emit(ret(mul(t, mul(t, sub(IMM_FP(x_type, 3.0), mul(IMM_FP(x_type, 2.0), t)))))); in _smoothstep()
4519 body.emit(if_tree(less(dot(Nref, I), IMM_FP(type, 0.0)), in _faceforward()
4533 body.emit(ret(sub(I, mul(IMM_FP(type, 2.0), mul(dot(N, I), N))))); in _reflect()
4557 body.emit(assign(k, sub(IMM_FP(type, 1.0), in _refract()
4558 mul(eta, mul(eta, sub(IMM_FP(type, 1.0), in _refract()
4560 body.emit(if_tree(less(k, IMM_FP(type, 0.0)), in _refract()