Searched refs:sampled_type (Results 1 – 15 of 15) sorted by relevance
/external/deqp-deps/SPIRV-Tools/source/val/ |
D | validate_image.cpp | 73 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/ |
D | validate_image.cpp | 73 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/ |
D | glsl_types.cpp | 42 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()
|
D | nir_types.cpp | 144 return (glsl_base_type)type->sampled_type; in glsl_get_sampler_result_type()
|
D | glsl_types.h | 153 glsl_base_type sampled_type:8; /**< Type of data returned using this member
|
/external/mesa3d/src/compiler/glsl/tests/ |
D | sampler_types_test.cpp | 46 EXPECT_EQ(DATA_TYPE, type->sampled_type); \
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | type_manager.cpp | 264 uint32_t subtype = GetTypeInstruction(image->sampled_type()); in GetTypeInstruction() 491 const Type* ele_ty = image_ty->sampled_type(); in RebuildType()
|
D | types.h | 312 const Type* sampled_type() const { return sampled_type_; } in sampled_type() function
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | type_manager.cpp | 264 uint32_t subtype = GetTypeInstruction(image->sampled_type()); in GetTypeInstruction() 491 const Type* ele_ty = image_ty->sampled_type(); in RebuildType()
|
D | types.h | 312 const Type* sampled_type() const { return sampled_type_; } in sampled_type() function
|
/external/mesa3d/src/compiler/spirv/ |
D | spirv_to_nir.c | 1180 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/ |
D | ir.cpp | 1494 assert(sampler->type->sampled_type == (int) type->base_type); in set_sampler()
|
D | ast_to_hir.cpp | 2424 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()
|
D | builtin_functions.cpp | 3408 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/ |
D | brw_fs_nir.cpp | 1681 switch ((glsl_base_type)type->sampled_type) { in get_image_base_type()
|