| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| nir_opcodes.py | 150 def unop_convert(name, out_type, in_type, const_expr): 151 opcode(name, 0, out_type, [0], [in_type], False, "", const_expr) 180 def unop_numeric_convert(name, out_type, in_type, const_expr): 181 opcode(name, 0, out_type, [0], [in_type], True, "", const_expr) 443 def binop_convert(name, out_type, in_type, alg_props, const_expr): 444 opcode(name, 0, out_type, [0, 0], [in_type, in_type], 456 def binop_horiz(name, out_size, out_type, src1_size, src1_type, src2_size, 458 opcode(name, out_size, out_type, [src1_size, src2_size], [src1_type, src2_type],
|
| nir.h | 67 * This macro defines a cast function from in_type to out_type where 68 * out_type is some structure type that contains a field of type out_type. 73 #define NIR_DEFINE_CAST(name, in_type, out_type, field, \ 75 static inline out_type * \ 79 return exec_node_data(out_type, parent, field); \
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| glsl_to_nir.cpp | 1895 glsl_base_type out_type = ir->type->base_type; local 1972 nir_alu_type dst_type = nir_get_nir_type_for_glsl_base_type(out_type); 2107 result = type_is_float(out_type) ? nir_fadd(&b, srcs[0], srcs[1]) 2111 result = type_is_signed(out_type) ? nir_iadd_sat(&b, srcs[0], srcs[1]) 2115 result = type_is_float(out_type) ? nir_fsub(&b, srcs[0], srcs[1]) 2119 result = type_is_signed(out_type) ? nir_isub_sat(&b, srcs[0], srcs[1]) 2123 /* out_type is always unsigned for ir_binop_abs_sub, so we have to key 2130 result = type_is_signed(out_type) ? nir_ihadd(&b, srcs[0], srcs[1]) 2134 result = type_is_signed(out_type) ? nir_irhadd(&b, srcs[0], srcs[1]) 2138 result = type_is_signed(out_type) ? nir_imul_32x16(&b, srcs[0], srcs[1] [all...] |
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| nir_opcodes.py | 162 def unop_convert(name, out_type, in_type, const_expr): 163 opcode(name, 0, out_type, [0], [in_type], False, "", const_expr) 192 def unop_numeric_convert(name, out_type, in_type, const_expr): 193 opcode(name, 0, out_type, [0], [in_type], True, "", const_expr) 555 def binop_convert(name, out_type, in_type, alg_props, const_expr): 556 opcode(name, 0, out_type, [0, 0], [in_type, in_type], 580 def binop_horiz(name, out_size, out_type, src1_size, src1_type, src2_size, 582 opcode(name, out_size, out_type, [src1_size, src2_size], [src1_type, src2_type],
|
| nir.h | 91 * This macro defines a cast function from in_type to out_type where 92 * out_type is some structure type that contains a field of type out_type. 97 #define NIR_DEFINE_CAST(name, in_type, out_type, field, \ 99 static inline out_type * \ 103 return exec_node_data(out_type, parent, field); \
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| glsl_to_nir.cpp | 1868 glsl_base_type out_type; local 1870 out_type = ir->type->base_type; 1872 out_type = GLSL_TYPE_FLOAT; 1950 nir_alu_type dst_type = nir_get_nir_type_for_glsl_base_type(out_type); 2108 result = type_is_float(out_type) ? nir_fadd(&b, srcs[0], srcs[1]) 2112 result = type_is_float(out_type) ? nir_fsub(&b, srcs[0], srcs[1]) 2116 if (type_is_float(out_type)) 2118 else if (out_type == GLSL_TYPE_INT64 && 2122 else if (out_type == GLSL_TYPE_UINT64 && 2130 if (type_is_float(out_type)) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/ |
| brw_fs_combine_constants.cpp | 210 void *out, brw_reg_type *out_type) 215 *out_type = src->type; 217 switch (*out_type) {
|
| /xsrc/external/mit/MesaLib/dist/src/intel/compiler/ |
| brw_fs_combine_constants.cpp | 218 void *out, brw_reg_type *out_type) 223 *out_type = src->type; 225 switch (*out_type) {
|
| /xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/ |
| nir_to_dxil.c | 2703 nir_alu_type out_type = nir_get_nir_type_for_glsl_base_type(glsl_get_base_type(output->type)); local 2706 out_type = nir_type_float; 2708 overload = get_overload(out_type, glsl_get_bit_size(output->type)); 2724 const struct dxil_value *value = get_src(ctx, &intr->src[1], 0, out_type); 2737 const struct dxil_value *value = get_src(ctx, &intr->src[1], i, out_type); 2787 nir_alu_type out_type = nir_get_nir_type_for_glsl_base_type(glsl_get_base_type(glsl_get_array_element(var->type))); 2788 enum overload_type overload = get_overload(out_type, glsl_get_bit_size(glsl_get_array_element(var->type))); 2807 store_dest(ctx, &intr->dest, i, retval, out_type); 2837 nir_alu_type out_type = nir_type_float; 2838 enum overload_type overload = get_overload(out_type, 32) 2904 nir_alu_type out_type = nir_get_nir_type_for_glsl_base_type(glsl_get_base_type(var->type)); local 3236 nir_alu_type out_type = nir_intrinsic_dest_type(intr); local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/nir_to_spirv/ |
| nir_to_spirv.c | 1253 const struct glsl_type *out_type = NULL; local 1255 while (!out_type) 1256 out_type = ctx->so_output_gl_types[register_index--]; 1257 enum glsl_base_type base_type = glsl_get_base_type(out_type); 1259 base_type = glsl_get_base_type(glsl_without_array(out_type)); 1291 SpvId out_type = get_output_type(ctx, slot, so_output.num_components); local 1294 out_type); 1353 const struct glsl_type *out_type = ctx->so_output_gl_types[location]; local 1369 if (glsl_type_is_scalar(out_type) || (type == output_type && glsl_get_length(out_type) == so_output.num_components) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/ |
| si_shader_llvm.c | 637 LLVMTypeRef out_type = ctx->args.args[i].file == AC_ARG_SGPR ? ctx->ac.i32 : ctx->ac.f32; local 646 if (param_type != out_type) 647 param = LLVMBuildBitCast(builder, param, out_type, ""); 650 LLVMTypeRef vector_type = LLVMVectorType(out_type, size);
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/ |
| panvk_vX_meta_clear.c | 49 const struct glsl_type *out_type = glsl_vector_type(base_type, 4); local 51 nir_variable_create(b.shader, nir_var_shader_out, out_type, "out");
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/ |
| zink_compiler.c | 1571 const struct glsl_type *out_type = var->type; local 1575 out_type = glsl_array_type(type, vertices_per_patch, 0); 1578 nir_variable *out = nir_variable_create(nir, nir_var_shader_out, out_type, buf);
|
| /xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/ |
| v3dv_descriptor_set.c | 111 VkDescriptorType *out_type) 129 *out_type = binding_layout->type;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/ |
| si_shader.c | 6502 LLVMTypeRef out_type = i < fninfo.num_sgpr_params ? ctx->i32 : ctx->f32; local 6511 if (param_type != out_type) 6512 param = LLVMBuildBitCast(builder, param, out_type, ""); 6515 LLVMTypeRef vector_type = LLVMVectorType(out_type, size);
|