Home
last modified time | relevance | path

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

/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_image.cpp73 uint32_t sampled_type = 0; member
103 info->sampled_type = inst->word(2); in GetImageTypeInfo()
684 if ((!_.IsFloatScalarType(info.sampled_type) && in ValidateTypeImage()
685 !_.IsIntScalarType(info.sampled_type)) || in ValidateTypeImage()
686 32 != _.GetBitWidth(info.sampled_type)) { in ValidateTypeImage()
692 const SpvOp sampled_type_opcode = _.GetIdOpcode(info.sampled_type); in ValidateTypeImage()
881 if (info.sampled_type != ptr_type) { in ValidateImageTexelPointer()
977 if (_.GetIdOpcode(info.sampled_type) != SpvOpTypeVoid) { in ValidateImageLod()
980 if (texel_component_type != info.sampled_type) { in ValidateImageLod()
1053 if (actual_result_type != info.sampled_type) { in ValidateImageDrefLod()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_image.cpp73 uint32_t sampled_type = 0; member
103 info->sampled_type = inst->word(2); in GetImageTypeInfo()
684 if ((!_.IsFloatScalarType(info.sampled_type) && in ValidateTypeImage()
685 !_.IsIntScalarType(info.sampled_type)) || in ValidateTypeImage()
686 32 != _.GetBitWidth(info.sampled_type)) { in ValidateTypeImage()
692 const SpvOp sampled_type_opcode = _.GetIdOpcode(info.sampled_type); in ValidateTypeImage()
881 if (info.sampled_type != ptr_type) { in ValidateImageTexelPointer()
977 if (_.GetIdOpcode(info.sampled_type) != SpvOpTypeVoid) { in ValidateImageLod()
980 if (texel_component_type != info.sampled_type) { in ValidateImageLod()
1053 if (actual_result_type != info.sampled_type) { in ValidateImageDrefLod()
[all …]
/external/mesa3d/src/compiler/
Dglsl_types.cpp42 base_type(base_type), sampled_type(GLSL_TYPE_VOID), in glsl_type()
56 ASSERT_BITFIELD_SIZE(glsl_type, sampled_type, GLSL_TYPE_ERROR); in glsl_type()
76 base_type(base_type), sampled_type(type), in glsl_type()
95 base_type(GLSL_TYPE_STRUCT), sampled_type(GLSL_TYPE_VOID), in glsl_type()
122 base_type(GLSL_TYPE_INTERFACE), sampled_type(GLSL_TYPE_VOID), in glsl_type()
148 base_type(GLSL_TYPE_FUNCTION), sampled_type(GLSL_TYPE_VOID), in glsl_type()
177 base_type(GLSL_TYPE_SUBROUTINE), sampled_type(GLSL_TYPE_VOID), in glsl_type()
452 base_type(GLSL_TYPE_ARRAY), sampled_type(GLSL_TYPE_VOID), in glsl_type()
2189 (type->sampled_type); in encode_type_to_blob()
2200 (type->sampled_type); in encode_type_to_blob()
Dnir_types.cpp144 return (glsl_base_type)type->sampled_type; in glsl_get_sampler_result_type()
Dglsl_types.h153 glsl_base_type sampled_type:8; /**< Type of data returned using this member
/external/mesa3d/src/compiler/glsl/tests/
Dsampler_types_test.cpp46 EXPECT_EQ(DATA_TYPE, type->sampled_type); \
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dtype_manager.cpp264 uint32_t subtype = GetTypeInstruction(image->sampled_type()); in GetTypeInstruction()
491 const Type* ele_ty = image_ty->sampled_type(); in RebuildType()
Dtypes.h312 const Type* sampled_type() const { return sampled_type_; } in sampled_type() function
/external/deqp-deps/SPIRV-Tools/source/opt/
Dtype_manager.cpp264 uint32_t subtype = GetTypeInstruction(image->sampled_type()); in GetTypeInstruction()
491 const Type* ele_ty = image_ty->sampled_type(); in RebuildType()
Dtypes.h312 const Type* sampled_type() const { return sampled_type_; } in sampled_type() function
/external/mesa3d/src/compiler/spirv/
Dspirv_to_nir.c1180 const struct vtn_type *sampled_type = in vtn_handle_type() local
1183 vtn_fail_if(sampled_type->base_type != vtn_base_type_scalar || in vtn_handle_type()
1184 glsl_get_bit_size(sampled_type->type) != 32, in vtn_handle_type()
1223 glsl_get_base_type(sampled_type->type); in vtn_handle_type()
/external/mesa3d/src/compiler/glsl/
Dir.cpp1494 assert(sampler->type->sampled_type == (int) type->base_type); in set_sampler()
Dast_to_hir.cpp2424 switch (type->sampled_type) { in get_type_name_for_precision_qualifier()
3444 if (qual->image_base_type != base_type->sampled_type) { in apply_image_qualifier_to_variable()
7445 field_type->without_array()->sampled_type) { in ast_process_struct_or_iface_block_members()
Dbuiltin_functions.cpp3408 if ((types[i]->sampled_type != GLSL_TYPE_FLOAT || in add_image_function()
5967 type->sampled_type == GLSL_TYPE_FLOAT) in get_image_available_predicate()
5984 image_type->sampled_type, in _image_prototype()
/external/mesa3d/src/intel/compiler/
Dbrw_fs_nir.cpp1681 switch ((glsl_base_type)type->sampled_type) { in get_image_base_type()