Lines Matching refs:vector_elements
1018 ir_constant *imm(float f, unsigned vector_elements=1);
1019 ir_constant *imm(bool b, unsigned vector_elements=1);
1020 ir_constant *imm(int i, unsigned vector_elements=1);
1021 ir_constant *imm(unsigned u, unsigned vector_elements=1);
1022 ir_constant *imm(double d, unsigned vector_elements=1);
5657 builtin_builder::imm(bool b, unsigned vector_elements) in imm() argument
5659 return new(mem_ctx) ir_constant(b, vector_elements); in imm()
5663 builtin_builder::imm(float f, unsigned vector_elements) in imm() argument
5665 return new(mem_ctx) ir_constant(f, vector_elements); in imm()
5669 builtin_builder::imm(int i, unsigned vector_elements) in imm() argument
5671 return new(mem_ctx) ir_constant(i, vector_elements); in imm()
5675 builtin_builder::imm(unsigned u, unsigned vector_elements) in imm() argument
5677 return new(mem_ctx) ir_constant(u, vector_elements); in imm()
5681 builtin_builder::imm(double d, unsigned vector_elements) in imm() argument
5683 return new(mem_ctx) ir_constant(d, vector_elements); in imm()
6118 if (x_type->vector_elements == 1) { in _step()
6124 } else if (edge_type->vector_elements == 1) { in _step()
6126 for (int i = 0; i < x_type->vector_elements; i++) { in _step()
6134 for (int i = 0; i < x_type->vector_elements; i++) { in _step()
6177 MAKE_SIG(glsl_type::bvec(type->vector_elements), avail, 1, x); in _isnan()
6188 MAKE_SIG(glsl_type::bvec(type->vector_elements), avail, 1, x); in _isinf()
6191 for (int i = 0; i < type->vector_elements; i++) { in _isinf()
6219 MAKE_SIG(glsl_type::ivec(type->vector_elements), shader_bit_encoding, 1, x); in _floatBitsToInt()
6228 MAKE_SIG(glsl_type::uvec(type->vector_elements), shader_bit_encoding, 1, x); in _floatBitsToUint()
6237 MAKE_SIG(glsl_type::vec(type->vector_elements), shader_bit_encoding, 1, x); in _intBitsToFloat()
6246 MAKE_SIG(glsl_type::vec(type->vector_elements), shader_bit_encoding, 1, x); in _uintBitsToFloat()
6255 MAKE_SIG(glsl_type::i64vec(type->vector_elements), avail, 1, x); in _doubleBitsToInt64()
6264 MAKE_SIG(glsl_type::u64vec(type->vector_elements), avail, 1, x); in _doubleBitsToUint64()
6273 MAKE_SIG(glsl_type::dvec(type->vector_elements), avail, 1, x); in _int64BitsToDouble()
6282 MAKE_SIG(glsl_type::dvec(type->vector_elements), avail, 1, x); in _uint64BitsToDouble()
6450 if (type->vector_elements == 1) { in _distance()
6464 if (type->vector_elements == 1) in _dot()
6493 if (type->vector_elements == 1) { in _normalize()
6595 c = in_var(glsl_type::dvec(type->vector_elements), "c"); in _outerProduct()
6598 c = in_var(glsl_type::vec(type->vector_elements), "c"); in _outerProduct()
6617 orig_type->vector_elements); in _transpose()
6624 for (int j = 0; j < orig_type->vector_elements; j++) { in _transpose()
6978 glsl_type::bvec(type->vector_elements), type, type); in _lessThan()
6986 glsl_type::bvec(type->vector_elements), type, type, in _lessThanEqual()
6995 glsl_type::bvec(type->vector_elements), type, type, in _greaterThan()
7004 glsl_type::bvec(type->vector_elements), type, type); in _greaterThanEqual()
7012 glsl_type::bvec(type->vector_elements), type, type); in _equal()
7020 glsl_type::bvec(type->vector_elements), type, type); in _notEqual()
7029 const unsigned vec_elem = v->type->vector_elements; in _any()
7041 const unsigned vec_elem = v->type->vector_elements; in _all()
7147 if (coord_size == coord_type->vector_elements) { in _texture()
7158 tex->projector = swizzle(P, coord_type->vector_elements - 1, 1); in _texture()
7594 swizzle(cast_offset, SWIZZLE_XXXX, type->vector_elements), in _bitfieldExtract()
7595 swizzle(cast_bits, SWIZZLE_XXXX, type->vector_elements)))); in _bitfieldExtract()
7615 swizzle(cast_offset, SWIZZLE_XXXX, type->vector_elements), in _bitfieldInsert()
7616 swizzle(cast_bits, SWIZZLE_XXXX, type->vector_elements)))); in _bitfieldInsert()
7627 glsl_type::ivec(type->vector_elements), type); in UNOP()
7634 glsl_type::ivec(type->vector_elements), type); in _findLSB()
7641 glsl_type::ivec(type->vector_elements), type); in _findMSB()
7649 glsl_type::uvec(type->vector_elements), type); in _countLeadingZeros()
7657 MAKE_SIG(glsl_type::uvec(type->vector_elements), avail, 1, a); in _countTrailingZeros()
7706 const unsigned vec_elem = x_type->vector_elements; in _frexp()
7798 type->vector_elements, 1), in _absoluteDifference()
7827 mul_type = glsl_type::get_instance(GLSL_TYPE_INT64, type->vector_elements, 1); in _mulExtended()
7831 mul_type = glsl_type::get_instance(GLSL_TYPE_UINT64, type->vector_elements, 1); in _mulExtended()
7847 if (type->vector_elements == 1) { in _mulExtended()
7852 for (int i = 0; i < type->vector_elements; i++) { in _mulExtended()