D | builtin_functions.cpp | 921 ir_dereference_array *array_ref(ir_variable *var, int i); 4909 builtin_builder::array_ref(ir_variable *var, int idx) in array_ref() function in builtin_builder 4918 return swizzle(array_ref(var, column), row, 1); in matrix_elt() 5934 body.emit(assign(array_ref(z, i), mul(array_ref(x, i), array_ref(y, i)))); in _matrixCompMult() 5958 body.emit(assign(array_ref(m, i), mul(c, swizzle(r, i, 1)))); in _outerProduct() 5979 body.emit(assign(array_ref(t, j), in _transpose() 6096 body.emit(ret(dot(array_ref(m, 0), adj_0))); in _determinant_mat4() 6108 body.emit(assign(array_ref(adj, 0), matrix_elt(m, 1, 1), 1 << 0)); in _inverse_mat2() 6109 body.emit(assign(array_ref(adj, 0), neg(matrix_elt(m, 0, 1)), 1 << 1)); in _inverse_mat2() 6110 body.emit(assign(array_ref(adj, 1), neg(matrix_elt(m, 1, 0)), 1 << 0)); in _inverse_mat2() [all …]
|