Lines Matching defs:value
381 /* The precision of the sample value depends on the precision of the
441 * In theory we could set the return value to mediump if the image
475 * We should lower the type of the return value if the sampler type
542 /* These only lower the return value. Parameters keep their precision,
757 ir_constant_data value;
760 for (unsigned i = 0; i < ARRAY_SIZE(value.f16); i++)
761 value.f16[i] = _mesa_float_to_half(const_ir->value.f[i]);
763 for (unsigned i = 0; i < ARRAY_SIZE(value.i16); i++)
764 value.i16[i] = const_ir->value.i[i];
766 for (unsigned i = 0; i < ARRAY_SIZE(value.u16); i++)
767 value.u16[i] = const_ir->value.u[i];
772 const_ir->value = value;
884 * value to mediump/lowp, so that following instructions can use reduced
887 * The return value type of the intrinsic itself isn't changed here, but
1013 ir_constant_data value;
1016 for (unsigned i = 0; i < ARRAY_SIZE(value.f16); i++)
1017 value.f16[i] = _mesa_float_to_half(ir->value.f[i]);
1019 for (unsigned i = 0; i < ARRAY_SIZE(value.i16); i++)
1020 value.i16[i] = ir->value.i[i];
1022 for (unsigned i = 0; i < ARRAY_SIZE(value.u16); i++)
1023 value.u16[i] = ir->value.u[i];
1028 ir->value = value;
1209 ir_dereference *deref = ir->value ? ir->value->as_dereference() : NULL;
1213 /* Fix the type of the return value. */
1225 /* Convert to 32 bits for the return value. */
1228 ir->value = new(mem_ctx) ir_dereference_variable(new_var);
1339 /* Fix the type of return value dereferencies. */