Home
last modified time | relevance | path

Searched refs:sampled_type (Results 1 – 25 of 26) sorted by relevance

12

/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_image.cpp81 uint32_t sampled_type = 0; member
111 info->sampled_type = inst->word(2); in GetImageTypeInfo()
772 if (_.IsIntScalarType(info.sampled_type) && in ValidateTypeImage()
773 (64 == _.GetBitWidth(info.sampled_type)) && in ValidateTypeImage()
782 if ((!_.IsFloatScalarType(info.sampled_type) && in ValidateTypeImage()
783 !_.IsIntScalarType(info.sampled_type)) || in ValidateTypeImage()
784 ((32 != _.GetBitWidth(info.sampled_type)) && in ValidateTypeImage()
785 (64 != _.GetBitWidth(info.sampled_type))) || in ValidateTypeImage()
786 ((64 == _.GetBitWidth(info.sampled_type)) && in ValidateTypeImage()
787 _.IsFloatScalarType(info.sampled_type))) { in ValidateTypeImage()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_image.cpp81 uint32_t sampled_type = 0; member
111 info->sampled_type = inst->word(2); in GetImageTypeInfo()
772 if (_.IsIntScalarType(info.sampled_type) && in ValidateTypeImage()
773 (64 == _.GetBitWidth(info.sampled_type)) && in ValidateTypeImage()
782 if ((!_.IsFloatScalarType(info.sampled_type) && in ValidateTypeImage()
783 !_.IsIntScalarType(info.sampled_type)) || in ValidateTypeImage()
784 ((32 != _.GetBitWidth(info.sampled_type)) && in ValidateTypeImage()
785 (64 != _.GetBitWidth(info.sampled_type))) || in ValidateTypeImage()
786 ((64 == _.GetBitWidth(info.sampled_type)) && in ValidateTypeImage()
787 _.IsFloatScalarType(info.sampled_type))) { in ValidateTypeImage()
[all …]
/third_party/spirv-tools/source/val/
Dvalidate_image.cpp76 uint32_t sampled_type = 0; member
106 info->sampled_type = inst->word(2); in GetImageTypeInfo()
761 if (_.IsIntScalarType(info.sampled_type) && in ValidateTypeImage()
762 (64 == _.GetBitWidth(info.sampled_type)) && in ValidateTypeImage()
771 if ((!_.IsFloatScalarType(info.sampled_type) && in ValidateTypeImage()
772 !_.IsIntScalarType(info.sampled_type)) || in ValidateTypeImage()
773 ((32 != _.GetBitWidth(info.sampled_type)) && in ValidateTypeImage()
774 (64 != _.GetBitWidth(info.sampled_type))) || in ValidateTypeImage()
775 ((64 == _.GetBitWidth(info.sampled_type)) && in ValidateTypeImage()
776 _.IsFloatScalarType(info.sampled_type))) { in ValidateTypeImage()
[all …]
/third_party/mesa3d/src/compiler/
Dglsl_types.cpp53 base_type(base_type), sampled_type(GLSL_TYPE_VOID), in glsl_type()
68 ASSERT_BITFIELD_SIZE(glsl_type, sampled_type, GLSL_TYPE_ERROR); in glsl_type()
89 base_type(base_type), sampled_type(type), in glsl_type()
110 base_type(GLSL_TYPE_STRUCT), sampled_type(GLSL_TYPE_VOID), in glsl_type()
142 base_type(GLSL_TYPE_INTERFACE), sampled_type(GLSL_TYPE_VOID), in glsl_type()
168 base_type(GLSL_TYPE_FUNCTION), sampled_type(GLSL_TYPE_VOID), in glsl_type()
199 base_type(GLSL_TYPE_SUBROUTINE), sampled_type(GLSL_TYPE_VOID), in glsl_type()
581 base_type(GLSL_TYPE_ARRAY), sampled_type(GLSL_TYPE_VOID), in glsl_type()
2932 unsigned sampled_type:5; member
3028 encoded.sampler.sampled_type = type->sampled_type; in encode_type_to_blob()
[all …]
Dglsl_types.h297 glsl_base_type sampled_type:8; /**< Type of data returned using this member
Dnir_types.cpp210 return (glsl_base_type)type->sampled_type; in glsl_get_sampler_result_type()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dtypes.cpp139 Image::Image(Type* sampled_type, SpvDim dim, uint32_t depth, uint32_t arrayed, in Image() argument
142 : sampled_type_(sampled_type), in Image()
Dtypes.h189 Image(Type* sampled_type, SpvDim dim, uint32_t depth, uint32_t arrayed,
/third_party/mesa3d/src/compiler/glsl/tests/
Dsampler_types_test.cpp46 EXPECT_EQ(DATA_TYPE, type->sampled_type); \
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instruction_tex.cpp230 if (glsl_base_type_is_integer(var->type->sampled_type)) { in r600_nir_lower_int_tg4()
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dspirv_builder.h376 spirv_builder_type_image(struct spirv_builder *b, SpvId sampled_type,
Dspirv_builder.c1218 spirv_builder_type_image(struct spirv_builder *b, SpvId sampled_type, in spirv_builder_type_image() argument
1224 sampled_type, dim, depth ? 1 : 0, arrayed ? 1 : 0, ms ? 1 : 0, sampled, in spirv_builder_type_image()
Dnir_to_spirv.c3232 SpvId sampled_type = spirv_builder_type_sampled_image(&ctx->builder, in emit_tex() local
3234 assert(sampled_type); in emit_tex()
3238 …pvId ptr = spirv_builder_type_pointer(&ctx->builder, SpvStorageClassUniformConstant, sampled_type); in emit_tex()
3241 SpvId load = spirv_builder_emit_load(&ctx->builder, sampled_type, sampler_id); in emit_tex()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dtype_manager.cpp280 uint32_t subtype = GetTypeInstruction(image->sampled_type()); in GetTypeInstruction()
549 const Type* ele_ty = image_ty->sampled_type(); in RebuildType()
Dtypes.h321 const Type* sampled_type() const { return sampled_type_; } in sampled_type() function
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dtype_manager.cpp280 uint32_t subtype = GetTypeInstruction(image->sampled_type()); in GetTypeInstruction()
549 const Type* ele_ty = image_ty->sampled_type(); in RebuildType()
Dtypes.h321 const Type* sampled_type() const { return sampled_type_; } in sampled_type() function
/third_party/spirv-tools/source/opt/
Dtype_manager.cpp280 uint32_t subtype = GetTypeInstruction(image->sampled_type()); in GetTypeInstruction()
549 const Type* ele_ty = image_ty->sampled_type(); in RebuildType()
Dtypes.h321 const Type* sampled_type() const { return sampled_type_; } in sampled_type() function
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_cross.cpp2758 uint32_t sampled_type; in handle() local
2763 sampled_type = compiler.ir.increase_bound_by(1); in handle()
2764 auto &type = compiler.set<SPIRType>(sampled_type); in handle()
2766 type.self = sampled_type; in handle()
2773 sampled_type = args[0]; in handle()
2784 auto &base = compiler.get<SPIRType>(sampled_type); in handle()
Dspirv_glsl.cpp6960 auto sampled_type = type; in convert_separate_image_to_expression() local
6961 sampled_type.basetype = SPIRType::SampledImage; in convert_separate_image_to_expression()
6962 return join(type_to_glsl(sampled_type), "(", to_non_uniform_aware_expression(id), ", ", in convert_separate_image_to_expression()
13289 SPIRType sampled_type = get<SPIRType>(type.image.type); in image_type_glsl() local
13290 sampled_type.vecsize = 4; in image_type_glsl()
13291 return type_to_glsl(sampled_type); in image_type_glsl()
/third_party/mesa3d/src/compiler/spirv/
Dspirv_to_nir.c1663 const struct vtn_type *sampled_type = vtn_get_type(b, w[2]); in vtn_handle_type() local
1665 vtn_fail_if(sampled_type->base_type != vtn_base_type_void, in vtn_handle_type()
1668 vtn_fail_if(sampled_type->base_type != vtn_base_type_scalar, in vtn_handle_type()
1671 vtn_fail_if(glsl_get_bit_size(sampled_type->type) != 32 && in vtn_handle_type()
1672 glsl_get_bit_size(sampled_type->type) != 64, in vtn_handle_type()
1676 vtn_fail_if(glsl_get_bit_size(sampled_type->type) != 32, in vtn_handle_type()
1723 glsl_get_base_type(sampled_type->type); in vtn_handle_type()
/third_party/mesa3d/src/compiler/glsl/
Dglsl_to_nir.cpp1335 nir_get_nir_type_for_glsl_base_type(type->sampled_type)); in visit()
1339 nir_get_nir_type_for_glsl_base_type(type->sampled_type)); in visit()
Dast_to_hir.cpp2494 switch (type->sampled_type) { in get_type_name_for_precision_qualifier()
3545 if (qual->image_base_type != base_type->sampled_type) { in apply_image_qualifier_to_variable()
7791 field_type->without_array()->sampled_type) { in ast_process_struct_or_iface_block_members()
Dir.cpp1823 assert(sampler->type->sampled_type == (int) type->base_type); in set_sampler()

12