Home
last modified time | relevance | path

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

/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_image.cpp76 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/
Dvalidate_image.cpp76 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/
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 …]
/external/mesa3d/src/compiler/
Dglsl_types.cpp52 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 …]
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()
/external/mesa3d/src/compiler/glsl/tests/
Dsampler_types_test.cpp46 EXPECT_EQ(DATA_TYPE, type->sampled_type); \
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instruction_tex.cpp212 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/
Dspirv_builder.h301 spirv_builder_type_image(struct spirv_builder *b, SpvId sampled_type,
Dnir_to_spirv.c510 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()
Dspirv_builder.c943 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/
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
/external/deqp-deps/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
/external/angle/third_party/vulkan-deps/spirv-tools/src/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
/external/mesa3d/src/compiler/spirv/
Dspirv_to_nir.c1607 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/
Dglsl_to_nir.cpp1350 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()
Dir.cpp1822 assert(sampler->type->sampled_type == (int) type->base_type); in set_sampler()
Dast_to_hir.cpp2457 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()
Dbuiltin_functions.cpp4732 …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()