/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_image.cpp | 81 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/spirv-tools/source/val/ |
D | validate_image.cpp | 81 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/ |
D | validate_image.cpp | 83 uint32_t sampled_type = 0; member 113 info->sampled_type = inst->word(2); in GetImageTypeInfo() 778 if (_.IsIntScalarType(info.sampled_type) && in ValidateTypeImage() 779 (64 == _.GetBitWidth(info.sampled_type)) && in ValidateTypeImage() 788 if ((!_.IsFloatScalarType(info.sampled_type) && in ValidateTypeImage() 789 !_.IsIntScalarType(info.sampled_type)) || in ValidateTypeImage() 790 ((32 != _.GetBitWidth(info.sampled_type)) && in ValidateTypeImage() 791 (64 != _.GetBitWidth(info.sampled_type))) || in ValidateTypeImage() 792 ((64 == _.GetBitWidth(info.sampled_type)) && in ValidateTypeImage() 793 _.IsFloatScalarType(info.sampled_type))) { in ValidateTypeImage() [all …]
|
/third_party/mesa3d/src/compiler/ |
D | glsl_types.cpp | 52 base_type(base_type), sampled_type(GLSL_TYPE_VOID), in glsl_type() 67 ASSERT_BITFIELD_SIZE(glsl_type, sampled_type, GLSL_TYPE_ERROR); in glsl_type() 88 base_type(base_type), sampled_type(type), in glsl_type() 109 base_type(GLSL_TYPE_STRUCT), sampled_type(GLSL_TYPE_VOID), in glsl_type() 141 base_type(GLSL_TYPE_INTERFACE), sampled_type(GLSL_TYPE_VOID), in glsl_type() 167 base_type(GLSL_TYPE_FUNCTION), sampled_type(GLSL_TYPE_VOID), in glsl_type() 198 base_type(GLSL_TYPE_SUBROUTINE), sampled_type(GLSL_TYPE_VOID), in glsl_type() 576 base_type(GLSL_TYPE_ARRAY), sampled_type(GLSL_TYPE_VOID), in glsl_type() 3058 unsigned sampled_type:5; member 3159 encoded.sampler.sampled_type = type->sampled_type; in encode_type_to_blob() [all …]
|
D | nir_types.cpp | 120 (glsl_base_type)type->sampled_type); in glsl_texture_type_to_sampler() 129 (glsl_base_type)type->sampled_type); in glsl_sampler_type_to_texture() 239 return (glsl_base_type)type->sampled_type; in glsl_get_sampler_result_type() 377 return type->is_sampler() && type->sampled_type == GLSL_TYPE_VOID; in glsl_type_is_bare_sampler()
|
D | glsl_types.h | 301 glsl_base_type sampled_type:8; /**< Type of data returned using this member
|
/third_party/mesa3d/src/compiler/glsl/tests/ |
D | sampler_types_test.cpp | 45 EXPECT_EQ(DATA_TYPE, type->sampled_type); \
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_nir_lower_tex.cpp | 123 if (glsl_base_type_is_integer(var->type->sampled_type)) { in r600_nir_lower_int_tg4()
|
/third_party/spirv-tools/source/opt/ |
D | type_manager.cpp | 282 uint32_t subtype = GetTypeInstruction(image->sampled_type()); in GetTypeInstruction() 549 const Type* ele_ty = image_ty->sampled_type(); in RebuildType()
|
D | types.h | 315 const Type* sampled_type() const { return sampled_type_; } in sampled_type() function
|
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/ |
D | spirv_builder.h | 381 spirv_builder_type_image(struct spirv_builder *b, SpvId sampled_type,
|
D | spirv_builder.c | 1289 spirv_builder_type_image(struct spirv_builder *b, SpvId sampled_type, in spirv_builder_type_image() argument 1295 sampled_type, dim, depth ? 1 : 0, arrayed ? 1 : 0, ms ? 1 : 0, sampled, in spirv_builder_type_image()
|
D | nir_to_spirv.c | 3491 SpvId sampled_type = spirv_builder_type_sampled_image(&ctx->builder, in emit_tex() local 3493 assert(sampled_type); in emit_tex() 3497 …pvId ptr = spirv_builder_type_pointer(&ctx->builder, SpvStorageClassUniformConstant, sampled_type); in emit_tex() 3500 SpvId load = spirv_builder_emit_load(&ctx->builder, sampled_type, sampler_id); in emit_tex()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | type_manager.cpp | 280 uint32_t subtype = GetTypeInstruction(image->sampled_type()); in GetTypeInstruction() 549 const Type* ele_ty = image_ty->sampled_type(); in RebuildType()
|
D | types.h | 321 const Type* sampled_type() const { return sampled_type_; } in sampled_type() function
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | type_manager.cpp | 280 uint32_t subtype = GetTypeInstruction(image->sampled_type()); in GetTypeInstruction() 549 const Type* ele_ty = image_ty->sampled_type(); in RebuildType()
|
D | types.h | 321 const Type* sampled_type() const { return sampled_type_; } in sampled_type() function
|
/third_party/skia/third_party/externals/spirv-cross/ |
D | spirv_cross.cpp | 2758 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()
|
D | spirv_glsl.cpp | 6960 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/ |
D | spirv_to_nir.c | 1703 const struct vtn_type *sampled_type = vtn_get_type(b, w[2]); in vtn_handle_type() local 1705 vtn_fail_if(sampled_type->base_type != vtn_base_type_void, in vtn_handle_type() 1708 vtn_fail_if(sampled_type->base_type != vtn_base_type_scalar, in vtn_handle_type() 1711 vtn_fail_if(glsl_get_bit_size(sampled_type->type) != 32 && in vtn_handle_type() 1712 glsl_get_bit_size(sampled_type->type) != 64, in vtn_handle_type() 1716 vtn_fail_if(glsl_get_bit_size(sampled_type->type) != 32, in vtn_handle_type() 1763 glsl_get_base_type(sampled_type->type); in vtn_handle_type()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | glsl_to_nir.cpp | 1388 nir_get_nir_type_for_glsl_base_type(type->sampled_type)); in visit() 1392 nir_get_nir_type_for_glsl_base_type(type->sampled_type)); in visit()
|
D | ast_to_hir.cpp | 2508 switch (type->sampled_type) { in get_type_name_for_precision_qualifier() 3559 if (qual->image_base_type != base_type->sampled_type) { in apply_image_qualifier_to_variable() 7817 field_type->without_array()->sampled_type) { in ast_process_struct_or_iface_block_members()
|
D | ir.cpp | 1823 assert(sampler->type->sampled_type == (int) type->base_type); in set_sampler()
|
D | builtin_functions.cpp | 5501 …if (types[i]->sampled_type == GLSL_TYPE_FLOAT && !(flags & IMAGE_FUNCTION_SUPPORTS_FLOAT_DATA_TYPE… in add_image_function() 5503 …if (types[i]->sampled_type == GLSL_TYPE_INT && !(flags & IMAGE_FUNCTION_SUPPORTS_SIGNED_DATA_TYPE)) in add_image_function() 8114 type->sampled_type == GLSL_TYPE_FLOAT) in get_image_available_predicate() 8118 type->sampled_type == GLSL_TYPE_FLOAT) in get_image_available_predicate() 8142 image_type->sampled_type, in _image_prototype()
|