Searched refs:vec4_rval (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dlower_packing_builtins.cpp466 * \param vec4_rval is packSnorm4x8's input
470 lower_pack_snorm_4x8(ir_rvalue *vec4_rval) argument
500 assert(vec4_rval->type == glsl_type::vec4_type);
503 i2u(f2i(round_even(mul(clamp(vec4_rval,
673 * \param vec4_rval is packUnorm4x8's input
677 lower_pack_unorm_4x8(ir_rvalue *vec4_rval) argument
705 assert(vec4_rval->type == glsl_type::vec4_type);
708 f2u(round_even(mul(saturate(vec4_rval), constant(255.0f)))));
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dlower_packing_builtins.cpp466 * \param vec4_rval is packSnorm4x8's input
470 lower_pack_snorm_4x8(ir_rvalue *vec4_rval) argument
500 assert(vec4_rval->type == glsl_type::vec4_type);
503 i2u(f2i(round_even(mul(clamp(vec4_rval,
673 * \param vec4_rval is packUnorm4x8's input
677 lower_pack_unorm_4x8(ir_rvalue *vec4_rval) argument
705 assert(vec4_rval->type == glsl_type::vec4_type);
708 f2u(round_even(mul(saturate(vec4_rval), constant(255.0f)))));

Completed in 6 milliseconds