Lines Matching defs:clamp
2041 t1_instr->clamp = BI_CLAMP_CLAMP_0_INF;
2046 a2->clamp = BI_CLAMP_CLAMP_M1_1;
2057 x->clamp = BI_CLAMP_CLAMP_0_INF;
2192 I->clamp = BI_CLAMP_CLAMP_M1_1;
2542 I->clamp = BI_CLAMP_CLAMP_0_1;
2548 I->clamp = BI_CLAMP_CLAMP_M1_1;
2554 I->clamp = BI_CLAMP_CLAMP_0_INF;
3079 bi_texture_format(nir_alu_type T, enum bi_clamp clamp)
3082 case nir_type_float16: return BIFROST_TEXTURE_FORMAT_F16 + clamp;
3083 case nir_type_float32: return BIFROST_TEXTURE_FORMAT_F32 + clamp;
3105 * Texel Selection") defines the layer to be taken from clamp(RNE(r),
3117 * F32_TO_S32(clamp(x, -16.0, +16.0) * 256.0) & 0xFFFF =
3118 * MKVEC(F32_TO_S32(clamp(x * 1.0/16.0, -1.0, 1.0) * (16.0 * 256.0)), #0)
3141 fsat->clamp = BI_CLAMP_CLAMP_M1_1;
3286 * instructions, and clamp coordinates at the end for correct
3305 S->clamp = BI_CLAMP_CLAMP_0_1;
3306 T->clamp = BI_CLAMP_CLAMP_0_1;
3471 /* Upper 16-bits interpreted as a clamp, leave zero */
3668 /* Upper 16-bits interpreted as a clamp, leave zero */