Home
last modified time | relevance | path

Searched refs:out_type (Results 1 – 25 of 33) sorted by relevance

12

/third_party/vk-gl-cts/modules/gles31/scripts/
Dgen-implicit-conversions.py340 def __init__(self, name, op, in_type, out_type, reverse=False): argument
350 self.out_type = out_type
389 assert self.out_type in operands
390 return operands[self.out_type]
400 out.append(valuesToStr("output %s out0" % (self.out_type), self.out_type, out_values))
406 def __init__(self, name, op, in_type, out_type, reverse=False): argument
407 super(ComparisonsCase, self).__init__(name, op, in_type, out_type, reverse)
443 def __init__(self, name, in_type, out_type, reverse=False, input_in_parens=False): argument
446 self.out_type = out_type
488 return IN_VALUES[self.out_type][ndx]
[all …]
/third_party/ffmpeg/libavcodec/
Dmfenc.c739 IMFMediaType *out_type = NULL; in mf_choose_output_type() local
773 if (out_type) in mf_choose_output_type()
774 IMFMediaType_Release(out_type); in mf_choose_output_type()
775 out_type = type; in mf_choose_output_type()
778 IMFMediaType_AddRef(out_type); in mf_choose_output_type()
784 if (out_type) { in mf_choose_output_type()
787 hr = c->functions.MFCreateMediaType(&out_type); in mf_choose_output_type()
796 ret = mf_encv_output_adjust(avctx, out_type); in mf_choose_output_type()
798 ret = mf_enca_output_adjust(avctx, out_type); in mf_choose_output_type()
803 ff_media_type_dump(avctx, out_type); in mf_choose_output_type()
[all …]
Dmf_utils.h177 MFT_REGISTER_TYPE_INFO *out_type,
Dmf_utils.c554 MFT_REGISTER_TYPE_INFO *out_type, in ff_instantiate_mf() argument
578 hr = f->MFTEnumEx(category, flags, in_type, out_type, &activate, in ff_instantiate_mf()
/third_party/mesa3d/src/compiler/nir/
Dnir_opcodes.py161 def unop_convert(name, out_type, in_type, const_expr): argument
162 opcode(name, 0, out_type, [0], [in_type], False, "", const_expr)
191 def unop_numeric_convert(name, out_type, in_type, const_expr): argument
192 opcode(name, 0, out_type, [0], [in_type], True, "", const_expr)
562 def binop_convert(name, out_type, in_type, alg_props, const_expr): argument
563 opcode(name, 0, out_type, [0, 0], [in_type, in_type],
587 def binop_horiz(name, out_size, out_type, src1_size, src1_type, src2_size, argument
589 opcode(name, out_size, out_type, [src1_size, src2_size], [src1_type, src2_type],
Dnir.h154 #define NIR_DEFINE_CAST(name, in_type, out_type, field, \ argument
156 static inline out_type * \
160 return exec_node_data(out_type, parent, field); \
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.c1317 const struct glsl_type *out_type = NULL; in get_output_type() local
1319 while (!out_type) in get_output_type()
1320 out_type = ctx->so_output_gl_types[register_index--]; in get_output_type()
1321 const struct glsl_type *bare_type = glsl_without_array(out_type); in get_output_type()
1370 SpvId out_type = get_output_type(ctx, slot, so_output.num_components); in emit_so_info() local
1373 out_type); in emit_so_info()
1493 const struct glsl_type *out_type = ctx->so_output_gl_types[location]; in emit_so_outputs() local
1500 const struct glsl_type *bare_type = glsl_without_array(out_type); in emit_so_outputs()
1512 if (glsl_type_is_array(out_type)) in emit_so_outputs()
1517 if (!first && glsl_type_is_array(out_type)) { in emit_so_outputs()
[all …]
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c222 int out_type; member
2198 int out_type = FT_OTHER; in do_scsi_device_read_write() local
2317 out_type = dd_filetype(outf); in do_scsi_device_read_write()
2319 if ((FT_BLOCK & out_type) && do_blk_sgio) in do_scsi_device_read_write()
2320 out_type |= FT_SG; in do_scsi_device_read_write()
2322 if (FT_ST == out_type) { in do_scsi_device_read_write()
2326 } else if (FT_SG & out_type) { in do_scsi_device_read_write()
2344 } else if (FT_DEV_NULL & out_type) in do_scsi_device_read_write()
2347 if (FT_RAW != out_type) { in do_scsi_device_read_write()
2350 if (do_odir && (FT_BLOCK == out_type)) in do_scsi_device_read_write()
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dglsl_to_nir.cpp1968 glsl_base_type out_type = ir->type->base_type; in visit() local
2045 nir_alu_type dst_type = nir_get_nir_type_for_glsl_base_type(out_type); in visit()
2180 result = type_is_float(out_type) ? nir_fadd(&b, srcs[0], srcs[1]) in visit()
2184 result = type_is_signed(out_type) ? nir_iadd_sat(&b, srcs[0], srcs[1]) in visit()
2188 result = type_is_float(out_type) ? nir_fsub(&b, srcs[0], srcs[1]) in visit()
2192 result = type_is_signed(out_type) ? nir_isub_sat(&b, srcs[0], srcs[1]) in visit()
2203 result = type_is_signed(out_type) ? nir_ihadd(&b, srcs[0], srcs[1]) in visit()
2207 result = type_is_signed(out_type) ? nir_irhadd(&b, srcs[0], srcs[1]) in visit()
2211 result = type_is_signed(out_type) ? nir_imul_32x16(&b, srcs[0], srcs[1]) in visit()
2215 if (type_is_float(out_type)) in visit()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gles3/
Des3cCopyTexImageConversionsTests.cpp4744 GLenum* out_type) const;
4811 GLenum* out_type) const in getFormatAndTypeCompatibleWithInternalformat()
4819 DE_ASSERT(out_type != NULL); in getFormatAndTypeCompatibleWithInternalformat()
4829 *out_type = GL_UNSIGNED_BYTE; in getFormatAndTypeCompatibleWithInternalformat()
4838 *out_type = GL_UNSIGNED_BYTE; in getFormatAndTypeCompatibleWithInternalformat()
4847 *out_type = GL_UNSIGNED_BYTE; in getFormatAndTypeCompatibleWithInternalformat()
4856 *out_type = GL_UNSIGNED_BYTE; in getFormatAndTypeCompatibleWithInternalformat()
4865 *out_type = GL_UNSIGNED_BYTE; in getFormatAndTypeCompatibleWithInternalformat()
4875 *out_type = GL_UNSIGNED_BYTE; in getFormatAndTypeCompatibleWithInternalformat()
4877 *out_type = GL_UNSIGNED_SHORT_5_6_5; in getFormatAndTypeCompatibleWithInternalformat()
[all …]
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_glsl.cpp2843 string CompilerGLSL::remap_swizzle(const SPIRType &out_type, uint32_t input_components, const strin… in remap_swizzle() argument
2845 if (out_type.vecsize == input_components) in remap_swizzle()
2848 return join(type_to_glsl(out_type), "(", expr, ")"); in remap_swizzle()
2854 for (uint32_t c = 0; c < out_type.vecsize; c++) in remap_swizzle()
2856 if (backend.swizzle_is_function && out_type.vecsize > 1) in remap_swizzle()
5014 SPIRType out_type; in convert_float_to_string() local
5016 out_type.basetype = SPIRType::Float; in convert_float_to_string()
5018 out_type.vecsize = 1; in convert_float_to_string()
5020 out_type.width = 32; in convert_float_to_string()
5031 res = join(bitcast_glsl_op(out_type, in_type), "(", print_buffer, " /* ", comment, " */)"); in convert_float_to_string()
[all …]
Dspirv_hlsl.cpp3442 string CompilerHLSL::bitcast_glsl_op(const SPIRType &out_type, const SPIRType &in_type) in bitcast_glsl_op() argument
3444 if (out_type.basetype == SPIRType::UInt && in_type.basetype == SPIRType::Int) in bitcast_glsl_op()
3445 return type_to_glsl(out_type); in bitcast_glsl_op()
3446 else if (out_type.basetype == SPIRType::UInt64 && in_type.basetype == SPIRType::Int64) in bitcast_glsl_op()
3447 return type_to_glsl(out_type); in bitcast_glsl_op()
3448 else if (out_type.basetype == SPIRType::UInt && in_type.basetype == SPIRType::Float) in bitcast_glsl_op()
3450 else if (out_type.basetype == SPIRType::Int && in_type.basetype == SPIRType::UInt) in bitcast_glsl_op()
3451 return type_to_glsl(out_type); in bitcast_glsl_op()
3452 else if (out_type.basetype == SPIRType::Int64 && in_type.basetype == SPIRType::UInt64) in bitcast_glsl_op()
3453 return type_to_glsl(out_type); in bitcast_glsl_op()
[all …]
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
Dnir.c352 ppir_output_type out_type = ppir_nir_output_to_ppir(slot, in ppir_emit_intrinsic() local
354 if (out_type == ppir_output_invalid) { in ppir_emit_intrinsic()
368 dest->ssa.out_type = out_type; in ppir_emit_intrinsic()
384 dest->ssa.out_type = out_type; in ppir_emit_intrinsic()
Dppir.h221 ppir_output_type out_type; member
Dregalloc.c592 comp->out_type_to_reg[reg->out_type] = reg->index / 4; in ppir_regalloc_prog_try()
/third_party/mesa3d/src/intel/compiler/
Dbrw_fs_combine_constants.cpp217 void *out, brw_reg_type *out_type) in get_constant_value() argument
222 *out_type = src->type; in get_constant_value()
224 switch (*out_type) { in get_constant_value()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_nir.h145 uint32_t out_type : 4; member
Ddzn_nir.c606 nir_get_nir_type_for_glsl_base_type(info->out_type); in dzn_nir_blit_fs()
618 glsl_texture_type(info->sampler_dim, info->src_is_array, info->out_type); in dzn_nir_blit_fs()
643 glsl_vector_type(info->out_type, out_comps), in dzn_nir_blit_fs()
656 unsigned nsamples = info->out_type == GLSL_TYPE_FLOAT ? in dzn_nir_blit_fs()
Ddzn_meta.c487 if (info->out_type != GLSL_TYPE_FLOAT) { in dzn_meta_blits_get_fs()
622 .out_type = key->out_type, in dzn_meta_blit_create()
Ddzn_private.h148 uint32_t out_type : 4; member
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_meta_clear.c45 const struct glsl_type *out_type = glsl_vector_type(base_type, 4); in panvk_meta_clear_color_attachment_shader() local
47 nir_variable_create(b.shader, nir_var_shader_out, out_type, "out"); in panvk_meta_clear_color_attachment_shader()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm.c541 LLVMTypeRef out_type = ctx->args.args[i].file == AC_ARG_SGPR ? ctx->ac.i32 : ctx->ac.f32; in si_build_wrapper_function() local
550 if (param_type != out_type) in si_build_wrapper_function()
551 param = LLVMBuildBitCast(builder, param, out_type, ""); in si_build_wrapper_function()
554 LLVMTypeRef vector_type = LLVMVectorType(out_type, size); in si_build_wrapper_function()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_descriptor_set.c118 VkDescriptorType *out_type) in v3dv_descriptor_map_get_descriptor_bo() argument
137 if (out_type) in v3dv_descriptor_map_get_descriptor_bo()
138 *out_type = binding_layout->type; in v3dv_descriptor_map_get_descriptor_bo()
/third_party/node/deps/v8/src/wasm/
Dfunction-body-decoder.cc269 os << " " << imm.out_type(j).name(); in PrintRawWasmCode()
/third_party/mesa3d/src/microsoft/compiler/
Dnir_to_dxil.c3163 nir_alu_type out_type = nir_intrinsic_src_type(intr); in emit_store_output_via_intrinsic() local
3164 enum overload_type overload = get_overload(out_type, intr->src[0].ssa->bit_size); in emit_store_output_via_intrinsic()
3231 const struct dxil_value *value = get_src(ctx, &intr->src[0], i, out_type); in emit_store_output_via_intrinsic()
3329 nir_alu_type out_type = nir_intrinsic_dest_type(intr); in emit_load_input_via_intrinsic() local
3330 enum overload_type overload = get_overload(out_type, intr->dest.ssa.bit_size); in emit_load_input_via_intrinsic()
3380 store_dest(ctx, &intr->dest, i, retval, out_type); in emit_load_input_via_intrinsic()
3733 nir_alu_type out_type = nir_intrinsic_dest_type(intr); in emit_image_load() local
3734 enum overload_type overload = get_overload(out_type, 32); in emit_image_load()
3753 store_dest(ctx, &intr->dest, i, component, out_type); in emit_image_load()

12