/external/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_image.cpp | 76 uint32_t sampled_type = 0; member 106 info->sampled_type = inst->word(2); in GetImageTypeInfo() 749 if (_.IsIntScalarType(info.sampled_type) && in ValidateTypeImage() 750 (64 == _.GetBitWidth(info.sampled_type)) && in ValidateTypeImage() 759 if ((!_.IsFloatScalarType(info.sampled_type) && in ValidateTypeImage() 760 !_.IsIntScalarType(info.sampled_type)) || in ValidateTypeImage() 761 ((32 != _.GetBitWidth(info.sampled_type)) && in ValidateTypeImage() 762 (64 != _.GetBitWidth(info.sampled_type))) || in ValidateTypeImage() 763 ((64 == _.GetBitWidth(info.sampled_type)) && in ValidateTypeImage() 764 _.IsFloatScalarType(info.sampled_type))) { in ValidateTypeImage() [all …]
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/val/ |
D | validate_image.cpp | 76 uint32_t sampled_type = 0; member 106 info->sampled_type = inst->word(2); in GetImageTypeInfo() 762 if (_.IsIntScalarType(info.sampled_type) && in ValidateTypeImage() 763 (64 == _.GetBitWidth(info.sampled_type)) && in ValidateTypeImage() 772 if ((!_.IsFloatScalarType(info.sampled_type) && in ValidateTypeImage() 773 !_.IsIntScalarType(info.sampled_type)) || in ValidateTypeImage() 774 ((32 != _.GetBitWidth(info.sampled_type)) && in ValidateTypeImage() 775 (64 != _.GetBitWidth(info.sampled_type))) || in ValidateTypeImage() 776 ((64 == _.GetBitWidth(info.sampled_type)) && in ValidateTypeImage() 777 _.IsFloatScalarType(info.sampled_type))) { in ValidateTypeImage() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/val/ |
D | validate_image.cpp | 76 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 …]
|
/external/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() 196 base_type(GLSL_TYPE_SUBROUTINE), sampled_type(GLSL_TYPE_VOID), in glsl_type() 573 base_type(GLSL_TYPE_ARRAY), sampled_type(GLSL_TYPE_VOID), in glsl_type() 2855 unsigned sampled_type:5; member 2949 encoded.sampler.sampled_type = type->sampled_type; in encode_type_to_blob() [all …]
|
D | glsl_types.h | 297 glsl_base_type sampled_type:8; /**< Type of data returned using this member
|
D | nir_types.cpp | 210 return (glsl_base_type)type->sampled_type; in glsl_get_sampler_result_type()
|
/external/mesa3d/src/compiler/glsl/tests/ |
D | sampler_types_test.cpp | 46 EXPECT_EQ(DATA_TYPE, type->sampled_type); \
|
/external/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_instruction_tex.cpp | 212 if (glsl_base_type_is_integer(var->type->sampled_type)) { in r600_nir_lower_int_tg4()
|
/external/mesa3d/src/gallium/drivers/zink/nir_to_spirv/ |
D | spirv_builder.h | 301 spirv_builder_type_image(struct spirv_builder *b, SpvId sampled_type,
|
D | nir_to_spirv.c | 510 SpvId sampled_type = spirv_builder_type_sampled_image(&ctx->builder, in emit_sampler() local 514 sampled_type); in emit_sampler() 1945 SpvId sampled_type = spirv_builder_type_sampled_image(&ctx->builder, in emit_tex() local 1949 SpvId load = spirv_builder_emit_load(&ctx->builder, sampled_type, in emit_tex()
|
D | spirv_builder.c | 943 spirv_builder_type_image(struct spirv_builder *b, SpvId sampled_type, in spirv_builder_type_image() argument 949 sampled_type, dim, depth ? 1 : 0, arrayed ? 1 : 0, ms ? 1 : 0, sampled, in spirv_builder_type_image()
|
/external/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
|
/external/deqp-deps/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
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/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
|
/external/mesa3d/src/compiler/spirv/ |
D | spirv_to_nir.c | 1607 const struct vtn_type *sampled_type = vtn_get_type(b, w[2]); in vtn_handle_type() local 1609 vtn_fail_if(sampled_type->base_type != vtn_base_type_void, in vtn_handle_type() 1612 vtn_fail_if(sampled_type->base_type != vtn_base_type_scalar, in vtn_handle_type() 1615 vtn_fail_if(glsl_get_bit_size(sampled_type->type) != 32 && in vtn_handle_type() 1616 glsl_get_bit_size(sampled_type->type) != 64, in vtn_handle_type() 1620 vtn_fail_if(glsl_get_bit_size(sampled_type->type) != 32, in vtn_handle_type() 1667 glsl_get_base_type(sampled_type->type); in vtn_handle_type()
|
/external/mesa3d/src/compiler/glsl/ |
D | glsl_to_nir.cpp | 1350 nir_get_nir_type_for_glsl_base_type(type->sampled_type)); in visit() 1354 nir_get_nir_type_for_glsl_base_type(type->sampled_type)); in visit()
|
D | ir.cpp | 1822 assert(sampler->type->sampled_type == (int) type->base_type); in set_sampler()
|
D | ast_to_hir.cpp | 2457 switch (type->sampled_type) { in get_type_name_for_precision_qualifier() 3481 if (qual->image_base_type != base_type->sampled_type) { in apply_image_qualifier_to_variable() 7697 field_type->without_array()->sampled_type) { in ast_process_struct_or_iface_block_members()
|
D | builtin_functions.cpp | 4732 …if (types[i]->sampled_type == GLSL_TYPE_FLOAT && !(flags & IMAGE_FUNCTION_SUPPORTS_FLOAT_DATA_TYPE… in add_image_function() 4734 …if (types[i]->sampled_type == GLSL_TYPE_INT && !(flags & IMAGE_FUNCTION_SUPPORTS_SIGNED_DATA_TYPE)) in add_image_function() 7384 type->sampled_type == GLSL_TYPE_FLOAT) in get_image_available_predicate() 7388 type->sampled_type == GLSL_TYPE_FLOAT) in get_image_available_predicate() 7409 image_type->sampled_type, in _image_prototype()
|