/third_party/skia/third_party/externals/spirv-cross/ |
D | spirv_hlsl.cpp | 128 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 …]
|
D | spirv_parser.cpp | 134 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 …]
|
D | spirv_glsl.cpp | 344 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 …]
|
D | spirv_cross.cpp | 80 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 …]
|
D | spirv_cpp.cpp | 34 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 …]
|
D | spirv_msl.cpp | 81 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 …]
|
D | spirv_common.hpp | 441 : 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 …]
|
D | spirv_reflect.cpp | 288 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/ |
D | VK_ANDROID_external_memory_android_hardware_buffer.txt | 26 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 …]
|
D | VK_ANDROID_external_memory_android_hardware_buffer.adoc | 26 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 …]
|
D | VK_KHR_android_surface.adoc | 36 basetype:ANativeWindow, Android's native surface type. 37 The basetype:ANativeWindow represents the producer endpoint of any buffer
|
D | VK_KHR_android_surface.txt | 36 basetype:ANativeWindow, Android's native surface type. 37 The basetype:ANativeWindow represents the producer endpoint of any buffer
|
D | VK_EXT_metal_surface.adoc | 20 the `apiext:VK_KHR_surface` extension) from basetype:CAMetalLayer, which is
|
D | VK_EXT_metal_surface.txt | 20 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/ |
D | platformCreateSurface_android.adoc | 25 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.
|
D | platformCreateSurface_android.txt | 25 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/ |
D | platformCreateSurface_ios.txt | 11 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,
|
D | platformCreateSurface_ios.adoc | 11 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/ |
D | platformCreateSurface_macos.adoc | 11 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
|
D | platformCreateSurface_macos.txt | 11 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/ |
D | platformCreateSurface_metal.txt | 11 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
|
D | platformCreateSurface_metal.adoc | 10 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/ |
D | sb_ra_init.cpp | 44 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 …]
|
D | sb_valtable.cpp | 413 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/ |
D | device_memory.adoc | 258 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 …]
|