/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_conv.c | 614 struct lp_type int16_type, int32_type; in lp_build_conv() local 622 int16_type = int32_type = dst_type_ext; in lp_build_conv() 628 int32_type.width *= 4; in lp_build_conv() 629 int32_type.length /= 4; in lp_build_conv() 630 int32_type.sign = 1; in lp_build_conv() 689 lo = lp_build_pack2(gallivm, int32_type, int16_type, tmp[0], tmp[1]); in lp_build_conv() 695 hi = lp_build_pack2(gallivm, int32_type, int16_type, tmp[2], tmp[3]); in lp_build_conv() 727 struct lp_type int16_type, int32_type; in lp_build_conv() local 735 int16_type = int32_type = dst_type_ext; in lp_build_conv() 741 int32_type.width *= 4; in lp_build_conv() [all …]
|
D | lp_bld_format_srgb.c | 335 struct lp_type int32_type = lp_int_type(src_type); in lp_build_float_to_srgb_packed() local 354 dst = lp_build_zero(gallivm, int32_type); in lp_build_float_to_srgb_packed() 360 shift_val = lp_build_const_int_vec(gallivm, int32_type, ls); in lp_build_float_to_srgb_packed()
|
D | lp_bld_coro.c | 169 LLVMTypeRef int32_type = LLVMInt32TypeInContext(gallivm->context); in lp_build_coro_declare_malloc_hooks() local 171 LLVMTypeRef malloc_type = LLVMFunctionType(mem_ptr_type, &int32_type, 1, 0); in lp_build_coro_declare_malloc_hooks()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_cs.c | 75 LLVMTypeRef int32_type = LLVMInt32TypeInContext(gallivm->context); in generate_compute() local 107 arg_types[1] = int32_type; /* block_x_size */ in generate_compute() 108 arg_types[2] = int32_type; /* block_y_size */ in generate_compute() 109 arg_types[3] = int32_type; /* block_z_size */ in generate_compute() 110 arg_types[4] = int32_type; /* grid_x */ in generate_compute() 111 arg_types[5] = int32_type; /* grid_y */ in generate_compute() 112 arg_types[6] = int32_type; /* grid_z */ in generate_compute() 113 arg_types[7] = int32_type; /* grid_size_x */ in generate_compute() 114 arg_types[8] = int32_type; /* grid_size_y */ in generate_compute() 115 arg_types[9] = int32_type; /* grid_size_z */ in generate_compute() [all …]
|
D | lp_state_fs.c | 3063 LLVMTypeRef int32_type = LLVMInt32TypeInContext(gallivm->context); in generate_fragment() local 3141 arg_types[1] = int32_type; /* x */ in generate_fragment() 3142 arg_types[2] = int32_type; /* y */ in generate_fragment() 3143 arg_types[3] = int32_type; /* facing */ in generate_fragment() 3151 arg_types[11] = LLVMPointerType(int32_type, 0); /* stride */ in generate_fragment() 3152 arg_types[12] = int32_type; /* depth_stride */ in generate_fragment() 3153 arg_types[13] = LLVMPointerType(int32_type, 0); /* color sample strides */ in generate_fragment() 3154 arg_types[14] = int32_type; /* depth sample stride */ in generate_fragment() 3315 smask_bit = LLVMBuildSExt(builder, cmp, int32_type, ""); in generate_fragment()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm.c | 120 LLVMTypeRef int32_type = LLVMInt32TypeInContext(gallivm->context); in create_jit_dvbuffer_type() local 124 elem_types[DRAW_JIT_DVBUFFER_SIZE] = int32_type; in create_jit_dvbuffer_type() 149 LLVMTypeRef int32_type = LLVMInt32TypeInContext(gallivm->context); in create_jit_texture_type() local 157 elem_types[DRAW_JIT_TEXTURE_LAST_LEVEL] = int32_type; in create_jit_texture_type() 163 LLVMArrayType(int32_type, PIPE_MAX_TEXTURE_LEVELS); in create_jit_texture_type() 260 LLVMTypeRef int32_type = LLVMInt32TypeInContext(gallivm->context); in create_jit_image_type() local 268 elem_types[DRAW_JIT_IMAGE_SAMPLE_STRIDE] = int32_type; in create_jit_image_type() 1901 LLVMTypeRef int32_type = LLVMInt32TypeInContext(context); in draw_llvm_generate() local 1960 arg_types[i++] = int32_type; /* count */ in draw_llvm_generate() 1961 arg_types[i++] = int32_type; /* start/fetch_elt_max */ in draw_llvm_generate() [all …]
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_module.c | 493 if (!m->int32_type) in get_int32_type() 494 m->int32_type = create_int_type(m, 32); in get_int32_type() 495 return m->int32_type; in get_int32_type() 732 const struct dxil_type *int32_type = dxil_module_get_int_type(mod, 32); in dxil_module_get_split_double_ret_type() local 733 const struct dxil_type *fields[2] = { int32_type, int32_type }; in dxil_module_get_split_double_ret_type() 848 const struct dxil_type *int32_type = dxil_module_get_int_type(m, 32); in dxil_module_get_resret_type() local 854 { overload_type, overload_type, overload_type, overload_type, int32_type }; in dxil_module_get_resret_type() 871 const struct dxil_type *int32_type = dxil_module_get_int_type(m, 32); in dxil_module_get_dimret_type() local 874 { int32_type, int32_type, int32_type, int32_type }; in dxil_module_get_dimret_type()
|
D | dxil_module.h | 235 *int32_type, *int64_type; member
|
D | nir_to_dxil.c | 1257 const struct dxil_type *int32_type = dxil_module_get_int_type(&ctx->mod, 32); in emit_sampler() local 1258 …type *sampler_type = dxil_module_get_struct_type(&ctx->mod, "struct.SamplerState", &int32_type, 1); in emit_sampler() 2789 const struct dxil_type *int32_type = in get_int32_undef() local 2791 if (!int32_type) in get_int32_undef() 2794 return dxil_module_get_undef(m, int32_type); in get_int32_undef() 3304 const struct dxil_type *int32_type = dxil_module_get_int_type(&ctx->mod, 32); in emit_load_input_via_intrinsic() local 3305 if (!int32_type) in emit_load_input_via_intrinsic() 3308 vertex_id = dxil_module_get_undef(&ctx->mod, int32_type); in emit_load_input_via_intrinsic()
|