Home
last modified time | relevance | path

Searched refs:basetype (Results 1 – 25 of 88) sorted by relevance

1234

/third_party/skia/third_party/externals/spirv-cross/
Dspirv_hlsl.cpp128 static string image_format_to_type(ImageFormat fmt, SPIRType::BaseType basetype) in image_format_to_type() argument
134 if (basetype != SPIRType::Float) in image_format_to_type()
139 if (basetype != SPIRType::Float) in image_format_to_type()
144 if (basetype != SPIRType::Float) in image_format_to_type()
148 if (basetype != SPIRType::Float) in image_format_to_type()
154 if (basetype != SPIRType::Float) in image_format_to_type()
159 if (basetype != SPIRType::Float) in image_format_to_type()
164 if (basetype != SPIRType::Float) in image_format_to_type()
170 if (basetype != SPIRType::Float) in image_format_to_type()
175 if (basetype != SPIRType::Float) in image_format_to_type()
[all …]
Dspirv_parser.cpp134 target.basetype = source.basetype; in parse()
475 type.basetype = SPIRType::Void; in parse()
483 type.basetype = SPIRType::Boolean; in parse()
494 type.basetype = SPIRType::Double; in parse()
496 type.basetype = SPIRType::Float; in parse()
498 type.basetype = SPIRType::Half; in parse()
511 type.basetype = signedness ? to_signed_basetype(width) : to_unsigned_basetype(width); in parse()
600 type.basetype = SPIRType::Image; in parse()
618 type.basetype = SPIRType::SampledImage; in parse()
627 type.basetype = SPIRType::Sampler; in parse()
[all …]
Dspirv_glsl.cpp344 auto &type = get<SPIRType>(var.basetype); in remap_pls_variables()
387 if (type.basetype == SPIRType::Double) in find_static_extensions()
394 else if (type.basetype == SPIRType::Int64 || type.basetype == SPIRType::UInt64) in find_static_extensions()
401 else if (type.basetype == SPIRType::Half) in find_static_extensions()
407 else if (type.basetype == SPIRType::SByte || type.basetype == SPIRType::UByte) in find_static_extensions()
413 else if (type.basetype == SPIRType::Short || type.basetype == SPIRType::UShort) in find_static_extensions()
1093 return type.basetype == SPIRType::Struct && type.member_types.empty(); in type_is_empty()
1347 switch (type.basetype) in type_to_packed_base_size()
1405 if (type.basetype == SPIRType::Struct) in type_to_packed_alignment()
1503 if (packing_is_hlsl(packing) && type.basetype != SPIRType::Struct) in type_to_packed_size()
[all …]
Dspirv_cross.cpp80 auto &type = get<SPIRType>(v.basetype); in variable_storage_is_aliased()
83 bool image = type.basetype == SPIRType::Image; in variable_storage_is_aliased()
84 bool counter = type.basetype == SPIRType::AtomicCounter; in variable_storage_is_aliased()
255 auto &type = get<SPIRType>(var->basetype); in register_global_read_dependencies()
258 if (type.basetype != SPIRType::Image && type.image.dim != DimSubpassData) in register_global_read_dependencies()
433 return get<SPIRVariable>(id).basetype; in expression_type_id()
442 return get<SPIRConstantOp>(id).basetype; in expression_type_id()
445 return get<SPIRUndef>(id).basetype; in expression_type_id()
451 return get<SPIRAccessChain>(id).basetype; in expression_type_id()
466 switch (type.basetype) in expression_is_lvalue()
[all …]
Dspirv_cpp.cpp34 auto &type = get<SPIRType>(var.basetype); in emit_buffer_block()
54 auto &type = get<SPIRType>(var.basetype); in emit_interface_block()
90 auto &type = get<SPIRType>(var.basetype); in emit_uniform()
100 if (type.basetype == SPIRType::Image || type.basetype == SPIRType::SampledImage || in emit_uniform()
101 type.basetype == SPIRType::AtomicCounter) in emit_uniform()
123 auto &type = get<SPIRType>(var.basetype); in emit_push_constant_block()
184 if (type.basetype == SPIRType::Struct && type.array.empty() && !type.pointer && in emit_resources()
202 auto &type = get<SPIRType>(var.basetype); in emit_resources()
220 auto &type = get<SPIRType>(var.basetype); in emit_resources()
235 auto &type = get<SPIRType>(var.basetype); in emit_resources()
[all …]
Dspirv_msl.cpp81 switch (binding.basetype) in add_msl_resource_binding()
423 workgroup_id_type = var.basetype; in build_implicit_builtins()
440 vec4_type.basetype = SPIRType::Float; in build_implicit_builtins()
896 if (var_type.basetype == SPIRType::Struct) in build_implicit_builtins()
921 vec4_type.basetype = SPIRType::Float; in build_implicit_builtins()
1083 type.basetype = SPIRType::UInt; in get_uint_type_id()
1099 auto &type = get<SPIRType>(var.basetype); in emit_entry_point_declarations()
1100 if (type.basetype == SPIRType::Sampler) in emit_entry_point_declarations()
1216 … type.basetype == SPIRType::SampledImage ? to_sampler_expression(samp.first) : to_name(samp.first), in emit_entry_point_declarations()
1220 … type.basetype == SPIRType::SampledImage ? to_sampler_expression(samp.first) : to_name(samp.first), in emit_entry_point_declarations()
[all …]
Dspirv_common.hpp441 : basetype(basetype_) in SPIRUndef()
444 TypeID basetype; member
496 , basetype(result_type) in SPIRConstantOp()
505 TypeID basetype; member
548 BaseType basetype = Unknown; member
985 : basetype(basetype_) in SPIRAccessChain()
998 TypeID basetype; member
1026 : basetype(basetype_) in SPIRVariable()
1033 TypeID basetype = 0; member
1690 …return type.basetype == SPIRType::Half || type.basetype == SPIRType::Float || type.basetype == SPI… in type_is_floating_point()
[all …]
Dspirv_reflect.cpp288 return type.basetype == SPIRType::Struct && !type.pointer && type.array.empty(); in naturally_emit_type()
393 else if (membertype.basetype == SPIRType::Struct) in emit_type_member()
577 if (type.basetype == SPIRType::Struct) in emit_resources()
639 if (type.basetype == SPIRType::Image && type.image.sampled == 2) in emit_resources()
666 switch (type.basetype) in emit_specialization_constants()
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/
DVK_ANDROID_external_memory_android_hardware_buffer.txt26 basetype:AHardwareBuffer objects created outside of the Vulkan device into
28 It also allows exporting an basetype:AHardwareBuffer from a Vulkan memory
30 But since not all basetype:AHardwareBuffer usages and formats have Vulkan
32 creating the basetype:AHardwareBuffer externally and importing it.
34 Some basetype:AHardwareBuffer images have implementation-defined _external
46 basetype:AHardwareBuffer is strongly typed, so naming the handle type is
55 basetype:AHardwareBuffer-specific commands/structures; the extra symmetry
58 2) The internal layout and therefore size of a basetype:AHardwareBuffer
68 basetype:AHardwareBuffer allocation happens in flink:vkAllocateMemory, and
92 4) Should an basetype:AHardwareBuffer with code:AHARDWAREBUFFER_USAGE_CPU_*
[all …]
DVK_ANDROID_external_memory_android_hardware_buffer.adoc26 basetype:AHardwareBuffer objects created outside of the Vulkan device into
28 It also allows exporting an basetype:AHardwareBuffer from a Vulkan memory
30 But since not all basetype:AHardwareBuffer usages and formats have Vulkan
32 creating the basetype:AHardwareBuffer externally and importing it.
34 Some basetype:AHardwareBuffer images have implementation-defined _external
46 basetype:AHardwareBuffer is strongly typed, so naming the handle type is
55 basetype:AHardwareBuffer-specific commands/structures; the extra symmetry
58 2) The internal layout and therefore size of a basetype:AHardwareBuffer
68 basetype:AHardwareBuffer allocation happens in flink:vkAllocateMemory, and
92 4) Should an basetype:AHardwareBuffer with code:AHARDWAREBUFFER_USAGE_CPU_*
[all …]
DVK_KHR_android_surface.adoc36 basetype:ANativeWindow, Android's native surface type.
37 The basetype:ANativeWindow represents the producer endpoint of any buffer
DVK_KHR_android_surface.txt36 basetype:ANativeWindow, Android's native surface type.
37 The basetype:ANativeWindow represents the producer endpoint of any buffer
DVK_EXT_metal_surface.adoc20 the `apiext:VK_KHR_surface` extension) from basetype:CAMetalLayer, which is
DVK_EXT_metal_surface.txt20 the `apiext:VK_KHR_surface` extension) from basetype:CAMetalLayer, which is
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/VK_KHR_android_surface/
DplatformCreateSurface_android.adoc25 basetype:ANativeWindow handle any attempts to create another surface for the
26 same basetype:ANativeWindow and any attempts to connect to the same
27 basetype:ANativeWindow through other platform mechanisms will fail.
39 basetype:ANativeWindow's reference count, and fname:vkDestroySurfaceKHR will
63 * pname:window is a pointer to the basetype:ANativeWindow to associate the
69 pname:window must: point to a valid Android basetype:ANativeWindow
78 definition of basetype:ANativeWindow is provided in the Vulkan headers:
82 The actual basetype:ANativeWindow type is defined in Android NDK headers.
DplatformCreateSurface_android.txt25 basetype:ANativeWindow handle any attempts to create another surface for the
26 same basetype:ANativeWindow and any attempts to connect to the same
27 basetype:ANativeWindow through other platform mechanisms will fail.
39 basetype:ANativeWindow's reference count, and fname:vkDestroySurfaceKHR will
63 * pname:window is a pointer to the basetype:ANativeWindow to associate the
69 pname:window must: point to a valid Android basetype:ANativeWindow
78 definition of basetype:ANativeWindow is provided in the Vulkan headers:
82 The actual basetype:ANativeWindow type is defined in Android NDK headers.
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/VK_MVK_ios_surface/
DplatformCreateSurface_ios.txt11 basetype:CAMetalLayer, call:
48 * pname:pView is a reference to either a basetype:CAMetalLayer object or a
54 If pname:pView is a basetype:CAMetalLayer object, it must: be a valid
55 basetype:CAMetalLayer
58 must: be backed by a code:CALayer object of type basetype:CAMetalLayer,
DplatformCreateSurface_ios.adoc11 basetype:CAMetalLayer, call:
48 * pname:pView is a reference to either a basetype:CAMetalLayer object or a
54 If pname:pView is a basetype:CAMetalLayer object, it must: be a valid
55 basetype:CAMetalLayer
58 must: be backed by a code:CALayer object of type basetype:CAMetalLayer,
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/VK_MVK_macos_surface/
DplatformCreateSurface_macos.adoc11 basetype:CAMetalLayer, call:
48 * pname:pView is a reference to either a basetype:CAMetalLayer object or
54 If pname:pView is a basetype:CAMetalLayer object, it must: be a valid
55 basetype:CAMetalLayer
59 basetype:CAMetalLayer, and flink:vkCreateMacOSSurfaceMVK must: be called
DplatformCreateSurface_macos.txt11 basetype:CAMetalLayer, call:
48 * pname:pView is a reference to either a basetype:CAMetalLayer object or
54 If pname:pView is a basetype:CAMetalLayer object, it must: be a valid
55 basetype:CAMetalLayer
59 basetype:CAMetalLayer, and flink:vkCreateMacOSSurfaceMVK must: be called
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/VK_EXT_metal_surface/
DplatformCreateSurface_metal.txt11 To create a sname:VkSurfaceKHR object for a basetype:CAMetalLayer, call:
38 * pname:pLayer is a reference to a basetype:CAMetalLayer object
47 definition of basetype:CAMetalLayer is provided in the Vulkan headers:
51 The actual basetype:CAMetalLayer type is defined in the QuartzCore
DplatformCreateSurface_metal.adoc10 To create a sname:VkSurfaceKHR object for a basetype:CAMetalLayer, call:
37 * pname:pLayer is a reference to a basetype:CAMetalLayer object
46 definition of basetype:CAMetalLayer is provided in the Vulkan headers:
50 The actual basetype:CAMetalLayer type is defined in the QuartzCore
/third_party/mesa3d/src/gallium/drivers/r600/sb/
Dsb_ra_init.cpp44 typedef uint32_t basetype; typedef in r600_sb::regbits
45 static const unsigned bt_bytes = sizeof(basetype);
51 basetype dta[size];
125 dta[ih] |= ((basetype)1u << il); in set()
132 dta[ih] &= ~((basetype)1u << il); in clear()
138 return dta[ih] & ((basetype)1u << il); in get()
144 basetype bm = 1u << il; in set()
191 basetype cd = dta[elt]; in find_free_chans()
203 unsigned p = __builtin_ctz(cd) & ~(basetype)3u; in find_free_chans()
226 basetype cd = dta[elt]; in find_free_chan_by_mask()
[all …]
Dsb_valtable.cpp413 basetype d = data[w]; in set_chk()
414 basetype dn = (d & ~(1 << b)) | (bit << b); in set_chk()
434 basetype clear_mask = (~(basetype)0u) << (bit_size % bt_bits); in resize()
448 basetype d = data[w] >> b; in find_bit()
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/VK_EXT_metal_objects/
Ddevice_memory.adoc258 of basetype:MTLDevice_id is provided in the Vulkan headers:
291 of basetype:MTLCommandQueue_id is provided in the Vulkan headers:
348 of basetype:MTLBuffer_id is provided in the Vulkan headers:
416 of basetype:MTLTexture_id is provided in the Vulkan headers:
423 To export the Metal basetype:IOSurfaceRef object underlying a slink:VkImage
436 * pname:ioSurface is the Metal basetype:IOSurfaceRef object underlying the
438 The implementation will return the basetype:IOSurfaceRef in this member,
439 or it will return `NULL` if no basetype:IOSurfaceRef could be found
447 To import, or create, a Metal basetype:IOSurfaceRef object to underlie a
460 basetype:IOSurfaceRef object that is to underlie the slink:VkImage.
[all …]

1234