Searched refs:IMM_FP (Results 1 - 2 of 2) sorted by relevance
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| H A D | builtin_functions.cpp | 4929 #define IMM_FP(type, val) (type->is_double()) ? imm(val) : imm((float)val) macro 5549 IMM_FP(x_type, 0.0), IMM_FP(x_type, 1.0)))); 5551 body.emit(ret(mul(t, mul(t, sub(IMM_FP(x_type, 3.0), mul(IMM_FP(x_type, 2.0), t)))))); 5905 body.emit(if_tree(less(dot(Nref, I), IMM_FP(type, 0.0)), 5919 body.emit(ret(sub(I, mul(IMM_FP(type, 2.0), mul(dot(N, I), N))))); 5943 body.emit(assign(k, sub(IMM_FP(type, 1.0), 5944 mul(eta, mul(eta, sub(IMM_FP(type, 1.0), 5946 body.emit(if_tree(less(k, IMM_FP(typ [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| H A D | builtin_functions.cpp | 4439 #define IMM_FP(type, val) (type->is_double()) ? imm(val) : imm((float)val) macro 5060 IMM_FP(x_type, 0.0), IMM_FP(x_type, 1.0)))); 5062 body.emit(ret(mul(t, mul(t, sub(IMM_FP(x_type, 3.0), mul(IMM_FP(x_type, 2.0), t)))))); 5410 body.emit(if_tree(less(dot(Nref, I), IMM_FP(type, 0.0)), 5424 body.emit(ret(sub(I, mul(IMM_FP(type, 2.0), mul(dot(N, I), N))))); 5448 body.emit(assign(k, sub(IMM_FP(type, 1.0), 5449 mul(eta, mul(eta, sub(IMM_FP(type, 1.0), 5451 body.emit(if_tree(less(k, IMM_FP(typ [all...] |
Completed in 19 milliseconds