Lines Matching refs:vec_elem
386 const unsigned vec_elem = ir->type->vector_elements;
389 const glsl_type *ivec = glsl_type::get_instance(GLSL_TYPE_INT, vec_elem, 1);
390 const glsl_type *bvec = glsl_type::get_instance(GLSL_TYPE_BOOL, vec_elem, 1);
395 ir_constant *sign_mask = new(ir) ir_constant(0x80000000u, vec_elem);
397 ir_constant *exp_shift = new(ir) ir_constant(23, vec_elem);
442 logic_and(nequal(x, new(ir) ir_constant(0.0f, vec_elem)),
444 new(ir) ir_constant(0x1, vec_elem)))));
465 ir_constant *exp_width = new(ir) ir_constant(8, vec_elem);
471 ir_constant *sign_mantissa_mask = new(ir) ir_constant(0x807fffffu, vec_elem);
487 const unsigned vec_elem = ir->type->vector_elements;
490 const glsl_type *ivec = glsl_type::get_instance(GLSL_TYPE_INT, vec_elem, 1);
491 const glsl_type *bvec = glsl_type::get_instance(GLSL_TYPE_BOOL, vec_elem, 1);
500 ir_constant *exp_bias = new(ir) ir_constant(1022, vec_elem);
544 for (unsigned elem = 0; elem < vec_elem; elem++) {
561 new(ir) ir_constant(0x1, vec_elem))));
577 for (unsigned elem = 0; elem < vec_elem; elem++) {
612 const unsigned vec_elem = ir->type->vector_elements;
613 const glsl_type *bvec = glsl_type::get_instance(GLSL_TYPE_BOOL, vec_elem, 1);
631 ir_constant *dzero = new(ir) ir_constant(0.0, vec_elem);
640 for (unsigned elem = 0; elem < vec_elem; elem++) {
684 const unsigned vec_elem = ir->type->vector_elements;
685 const glsl_type *bvec = glsl_type::get_instance(GLSL_TYPE_BOOL, vec_elem, 1);
686 const glsl_type *uvec = glsl_type::get_instance(GLSL_TYPE_UINT, vec_elem, 1);
703 ir_constant *dzero = new(ir) ir_constant(0.0, vec_elem);
704 ir_constant *izero = new(ir) ir_constant(0, vec_elem);
713 for (unsigned elem = 0; elem < vec_elem; elem++) {
721 ir_constant *exponent_shift = new(ir) ir_constant(20, vec_elem);
722 ir_constant *exponent_bias = new(ir) ir_constant(-1022, vec_elem);