Home
last modified time | relevance | path

Searched refs:vk (Results 1 – 25 of 241) sorted by relevance

12345678910

/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeTestsUtil.hpp42 Buffer (const vk::DeviceInterface& vk,
43 const vk::VkDevice device,
44 vk::Allocator& allocator,
45 const vk::VkBufferCreateInfo& bufferCreateInfo,
46 const vk::MemoryRequirement memoryRequirement);
48 const vk::VkBuffer& get (void) const { return *m_buffer; } in get()
49 const vk::VkBuffer& operator* (void) const { return get(); } in operator *()
50 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation()
53 de::MovePtr<vk::Allocation> m_allocation;
54 vk::Move<vk::VkBuffer> m_buffer;
[all …]
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateCreateInfoUtil.hpp39 class ImageSubresourceRange : public vk::VkImageSubresourceRange
42 ImageSubresourceRange (vk::VkImageAspectFlags aspectMask,
49 class ComponentMapping : public vk::VkComponentMapping
52 ComponentMapping (vk::VkComponentSwizzle r = vk::VK_COMPONENT_SWIZZLE_R,
53 vk::VkComponentSwizzle g = vk::VK_COMPONENT_SWIZZLE_G,
54 vk::VkComponentSwizzle b = vk::VK_COMPONENT_SWIZZLE_B,
55 vk::VkComponentSwizzle a = vk::VK_COMPONENT_SWIZZLE_A);
58 class ImageViewCreateInfo : public vk::VkImageViewCreateInfo
61 ImageViewCreateInfo (vk::VkImage image,
62 vk::VkImageViewType viewType,
[all …]
DvktDynamicStateImageObjectUtil.hpp47 vk::VkDeviceSize rowPitchOrZero,
48 vk::VkDeviceSize depthPitchOrZero,
56 vk::VkDeviceSize rowPitchOrZero,
57 vk::VkDeviceSize depthPitchOrZero,
65 …static de::SharedPtr<Image> create (const vk::DeviceInterface& vk, vk::VkDevice device, const v…
67 static de::SharedPtr<Image> createAndAlloc (const vk::DeviceInterface& vk,
68 vk::VkDevice device,
69 const vk::VkImageCreateInfo& createInfo,
70 vk::Allocator& allocator,
71 vk::MemoryRequirement memoryRequirement = vk::MemoryRequirement::Any);
[all …]
DvktDynamicStateImageObjectUtil.cpp47 vk::VkDeviceSize rowPitchOrZero, in pack()
48 vk::VkDeviceSize depthPitchOrZero, in pack()
52 vk::VkDeviceSize rowPitch = rowPitchOrZero; in pack()
53 vk::VkDeviceSize depthPitch = depthPitchOrZero; in pack()
61 const vk::VkDeviceSize size = depthPitch * depth; in pack()
70 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) && in pack()
71 depthPitch == static_cast<vk::VkDeviceSize>(rowPitch * height)) in pack()
81 vk::VkDeviceSize offsetDepthDst = d * depthPitch; in pack()
82 vk::VkDeviceSize offsetDepthSrc = d * (pixelSize * width * height); in pack()
99 vk::VkDeviceSize rowPitchOrZero, in unpack()
[all …]
DvktDynamicStateDSTests.cpp58 , m_colorAttachmentFormat (vk::VK_FORMAT_R8G8B8A8_UNORM) in DepthStencilBaseCase()
59 , m_topology (vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP) in DepthStencilBaseCase()
74 vk::VkFormat m_colorAttachmentFormat;
75 vk::VkFormat m_depthStencilAttachmentFormat;
77 vk::VkPrimitiveTopology m_topology;
79 const vk::DeviceInterface& m_vk;
81 vk::Move<vk::VkPipeline> m_pipeline_1;
82 vk::Move<vk::VkPipeline> m_pipeline_2;
83 vk::Move<vk::VkPipelineLayout> m_pipelineLayout;
86 vk::Move<vk::VkImageView> m_colorTargetView;
[all …]
DvktDynamicStateRSTests.cpp50 , m_colorAttachmentFormat (vk::VK_FORMAT_R8G8B8A8_UNORM) in DepthBiasBaseCase()
51 , m_topology (vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP) in DepthBiasBaseCase()
66 vk::VkFormat m_colorAttachmentFormat;
67 vk::VkFormat m_depthStencilAttachmentFormat;
69 vk::VkPrimitiveTopology m_topology;
71 const vk::DeviceInterface& m_vk;
73 vk::Move<vk::VkPipeline> m_pipeline;
74 vk::Move<vk::VkPipelineLayout> m_pipelineLayout;
77 vk::Move<vk::VkImageView> m_colorTargetView;
80 vk::Move<vk::VkImageView> m_attachmentView;
[all …]
DvktDynamicStateBaseClass.cpp36 , m_colorAttachmentFormat (vk::VK_FORMAT_R8G8B8A8_UNORM) in DynamicStateBaseClass()
37 , m_topology (vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP) in DynamicStateBaseClass()
46 const vk::VkDevice device = m_context.getDevice(); in initialize()
50 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); in initialize()
52 const vk::VkExtent3D targetImageExtent = { WIDTH, HEIGHT, 1 }; in initialize()
53 … ImageCreateInfo targetImageCreateInfo(vk::VK_IMAGE_TYPE_2D, m_colorAttachmentFormat, targetImageE… in initialize()
54vk::VK_IMAGE_TILING_OPTIMAL, vk::VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | vk::VK_IMAGE_USAGE_TRANSFER… in initialize()
58 …const ImageViewCreateInfo colorTargetViewInfo(m_colorTargetImage->object(), vk::VK_IMAGE_VIEW_TYPE… in initialize()
59 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in initialize()
63 vk::VK_SAMPLE_COUNT_1_BIT, in initialize()
[all …]
DvktDynamicStateCreateInfoUtil.cpp34 ImageSubresourceRange::ImageSubresourceRange (vk::VkImageAspectFlags _aspectMask, in ImageSubresourceRange()
47 ComponentMapping::ComponentMapping (vk::VkComponentSwizzle _r, in ComponentMapping()
48 vk::VkComponentSwizzle _g, in ComponentMapping()
49 vk::VkComponentSwizzle _b, in ComponentMapping()
50 vk::VkComponentSwizzle _a) in ComponentMapping()
58 ImageViewCreateInfo::ImageViewCreateInfo (vk::VkImage _image, in ImageViewCreateInfo()
59 vk::VkImageViewType _viewType, in ImageViewCreateInfo()
60 vk::VkFormat _format, in ImageViewCreateInfo()
61 const vk::VkImageSubresourceRange& _subresourceRange, in ImageViewCreateInfo()
62 const vk::VkComponentMapping& _components, in ImageViewCreateInfo()
[all …]
DvktDynamicStateBufferObjectUtil.hpp42 …static de::SharedPtr<Buffer> create (const vk::DeviceInterface& vk, vk::VkDevice device, const v…
44 static de::SharedPtr<Buffer> createAndAlloc (const vk::DeviceInterface& vk,
45 vk::VkDevice device,
46 const vk::VkBufferCreateInfo& createInfo,
47 vk::Allocator& allocator,
48 vk::MemoryRequirement allocationMemoryProperties = vk::MemoryRequirement::Any);
50 … Buffer (const vk::DeviceInterface &vk, vk::VkDevice device, vk::Move<vk::VkBuffer> object);
52 void bindMemory (de::MovePtr<vk::Allocation> allocation);
54 vk::VkBuffer object (void) const { return *m_object; } in object()
55 vk::Allocation getBoundMemory (void) const { return *m_allocation; } in getBoundMemory()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawCreateInfoUtil.hpp37 class ImageSubresourceRange : public vk::VkImageSubresourceRange
40 ImageSubresourceRange (vk::VkImageAspectFlags aspectMask,
47 class ComponentMapping : public vk::VkComponentMapping
50 ComponentMapping (vk::VkComponentSwizzle r = vk::VK_COMPONENT_SWIZZLE_R,
51 vk::VkComponentSwizzle g = vk::VK_COMPONENT_SWIZZLE_G,
52 vk::VkComponentSwizzle b = vk::VK_COMPONENT_SWIZZLE_B,
53 vk::VkComponentSwizzle a = vk::VK_COMPONENT_SWIZZLE_A);
56 class ImageViewCreateInfo : public vk::VkImageViewCreateInfo
59 ImageViewCreateInfo (vk::VkImage image,
60 vk::VkImageViewType viewType,
[all …]
DvktDrawImageObjectUtil.hpp46 vk::VkDeviceSize rowPitchOrZero,
47 vk::VkDeviceSize depthPitchOrZero,
55 vk::VkDeviceSize rowPitchOrZero,
56 vk::VkDeviceSize depthPitchOrZero,
64 …static de::SharedPtr<Image> create (const vk::DeviceInterface& vk, vk::VkDevice device, const v…
66 static de::SharedPtr<Image> createAndAlloc (const vk::DeviceInterface& vk,
67 vk::VkDevice device,
68 const vk::VkImageCreateInfo& createInfo,
69 vk::Allocator& allocator,
70 vk::MemoryRequirement memoryRequirement = vk::MemoryRequirement::Any);
[all …]
DvktDrawImageObjectUtil.cpp47 vk::VkDeviceSize rowPitchOrZero, in pack()
48 vk::VkDeviceSize depthPitchOrZero, in pack()
52 vk::VkDeviceSize rowPitch = rowPitchOrZero; in pack()
53 vk::VkDeviceSize depthPitch = depthPitchOrZero; in pack()
61 const vk::VkDeviceSize size = depthPitch * depth; in pack()
70 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) && in pack()
71 depthPitch == static_cast<vk::VkDeviceSize>(rowPitch * height)) in pack()
81 vk::VkDeviceSize offsetDepthDst = d * depthPitch; in pack()
82 vk::VkDeviceSize offsetDepthSrc = d * (pixelSize * width * height); in pack()
99 vk::VkDeviceSize rowPitchOrZero, in unpack()
[all …]
DvktDrawBaseClass.cpp34 , m_colorAttachmentFormat (vk::VK_FORMAT_R8G8B8A8_UNORM) in DrawTestsBaseClass()
35 , m_topology (vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP) in DrawTestsBaseClass()
44 const vk::VkDevice device = m_context.getDevice(); in initialize()
48 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); in initialize()
50 const vk::VkExtent3D targetImageExtent = { WIDTH, HEIGHT, 1 }; in initialize()
51 … ImageCreateInfo targetImageCreateInfo(vk::VK_IMAGE_TYPE_2D, m_colorAttachmentFormat, targetImageE… in initialize()
52vk::VK_IMAGE_TILING_OPTIMAL, vk::VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | vk::VK_IMAGE_USAGE_TRANSFER… in initialize()
56 …const ImageViewCreateInfo colorTargetViewInfo(m_colorTargetImage->object(), vk::VK_IMAGE_VIEW_TYPE… in initialize()
57 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in initialize()
61 vk::VK_SAMPLE_COUNT_1_BIT, in initialize()
[all …]
DvktDrawCreateInfoUtil.cpp34 ImageSubresourceRange::ImageSubresourceRange (vk::VkImageAspectFlags _aspectMask, in ImageSubresourceRange()
47 ComponentMapping::ComponentMapping (vk::VkComponentSwizzle _r, in ComponentMapping()
48 vk::VkComponentSwizzle _g, in ComponentMapping()
49 vk::VkComponentSwizzle _b, in ComponentMapping()
50 vk::VkComponentSwizzle _a) in ComponentMapping()
58 ImageViewCreateInfo::ImageViewCreateInfo (vk::VkImage _image, in ImageViewCreateInfo()
59 vk::VkImageViewType _viewType, in ImageViewCreateInfo()
60 vk::VkFormat _format, in ImageViewCreateInfo()
61 const vk::VkImageSubresourceRange& _subresourceRange, in ImageViewCreateInfo()
62 const vk::VkComponentMapping& _components, in ImageViewCreateInfo()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolCreateInfoUtil.hpp37 class ImageSubresourceRange : public vk::VkImageSubresourceRange
40 ImageSubresourceRange (vk::VkImageAspectFlags aspectMask,
47 class ComponentMapping : public vk::VkComponentMapping
50 ComponentMapping (vk::VkComponentSwizzle r = vk::VK_COMPONENT_SWIZZLE_R,
51 vk::VkComponentSwizzle g = vk::VK_COMPONENT_SWIZZLE_G,
52 vk::VkComponentSwizzle b = vk::VK_COMPONENT_SWIZZLE_B,
53 vk::VkComponentSwizzle a = vk::VK_COMPONENT_SWIZZLE_A);
56 class ImageViewCreateInfo : public vk::VkImageViewCreateInfo
59 ImageViewCreateInfo (vk::VkImage image,
60 vk::VkImageViewType viewType,
[all …]
DvktQueryPoolImageObjectUtil.hpp46 vk::VkDeviceSize rowPitchOrZero,
47 vk::VkDeviceSize depthPitchOrZero,
55 vk::VkDeviceSize rowPitchOrZero,
56 vk::VkDeviceSize depthPitchOrZero,
64 …static de::SharedPtr<Image> create (const vk::DeviceInterface& vk, vk::VkDevice device, const v…
66 static de::SharedPtr<Image> createAndAlloc (const vk::DeviceInterface& vk,
67 vk::VkDevice device,
68 const vk::VkImageCreateInfo& createInfo,
69 vk::Allocator& allocator,
70 vk::MemoryRequirement memoryRequirement = vk::MemoryRequirement::Any);
[all …]
DvktQueryPoolImageObjectUtil.cpp47 vk::VkDeviceSize rowPitchOrZero, in pack()
48 vk::VkDeviceSize depthPitchOrZero, in pack()
52 vk::VkDeviceSize rowPitch = rowPitchOrZero; in pack()
53 vk::VkDeviceSize depthPitch = depthPitchOrZero; in pack()
61 const vk::VkDeviceSize size = depthPitch * depth; in pack()
70 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) && in pack()
71 depthPitch == static_cast<vk::VkDeviceSize>(rowPitch * height)) in pack()
81 vk::VkDeviceSize offsetDepthDst = d * depthPitch; in pack()
82 vk::VkDeviceSize offsetDepthSrc = d * (pixelSize * width * height); in pack()
99 vk::VkDeviceSize rowPitchOrZero, in unpack()
[all …]
DvktQueryPoolOcclusionTests.cpp48 …StateObjects (const vk::DeviceInterface&vk, vkt::Context &context, const int numVertices, vk::VkPr…
49 void setVertices (const vk::DeviceInterface&vk, std::vector<tcu::Vec4> vertices);
59 vk::Move<vk::VkPipeline> m_pipeline;
60 vk::Move<vk::VkPipelineLayout> m_pipelineLayout;
63 vk::Move<vk::VkImageView> m_attachmentView;
64 vk::Move<vk::VkImageView> m_depthiew;
66 vk::Move<vk::VkRenderPass> m_renderPass;
67 vk::Move<vk::VkFramebuffer> m_framebuffer;
71 vk::VkFormat m_colorAttachmentFormat;
74 StateObjects::StateObjects (const vk::DeviceInterface&vk, vkt::Context &context, const int numVerti… in StateObjects() argument
[all …]
DvktQueryPoolCreateInfoUtil.cpp34 ImageSubresourceRange::ImageSubresourceRange (vk::VkImageAspectFlags _aspectMask, in ImageSubresourceRange()
47 ComponentMapping::ComponentMapping (vk::VkComponentSwizzle _r, in ComponentMapping()
48 vk::VkComponentSwizzle _g, in ComponentMapping()
49 vk::VkComponentSwizzle _b, in ComponentMapping()
50 vk::VkComponentSwizzle _a) in ComponentMapping()
58 ImageViewCreateInfo::ImageViewCreateInfo (vk::VkImage _image, in ImageViewCreateInfo()
59 vk::VkImageViewType _viewType, in ImageViewCreateInfo()
60 vk::VkFormat _format, in ImageViewCreateInfo()
61 const vk::VkImageSubresourceRange& _subresourceRange, in ImageViewCreateInfo()
62 const vk::VkComponentMapping& _components, in ImageViewCreateInfo()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesTestsUtil.hpp54 vk::VkImageType mapImageType (const ImageType imageType);
55 vk::VkImageViewType mapImageViewType (const ImageType imageType);
64 Buffer (const vk::DeviceInterface& vk,
65 const vk::VkDevice device,
66 vk::Allocator& allocator,
67 const vk::VkBufferCreateInfo& bufferCreateInfo,
68 const vk::MemoryRequirement memoryRequirement);
70 const vk::VkBuffer& get (void) const { return *m_buffer; } in get()
71 const vk::VkBuffer& operator* (void) const { return get(); } in operator *()
72 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageTestsUtil.hpp53 vk::VkImageType mapImageType (const ImageType imageType);
54 vk::VkImageViewType mapImageViewType (const ImageType imageType);
62 Buffer (const vk::DeviceInterface& vk,
63 const vk::VkDevice device,
64 vk::Allocator& allocator,
65 const vk::VkBufferCreateInfo& bufferCreateInfo,
66 const vk::MemoryRequirement memoryRequirement);
68 const vk::VkBuffer& get (void) const { return *m_buffer; } in get()
69 const vk::VkBuffer& operator* (void) const { return get(); } in operator *()
70 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp78 bool isUniformDescriptorType (vk::VkDescriptorType type) in isUniformDescriptorType()
80 return type == vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER || in isUniformDescriptorType()
81 type == vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC || in isUniformDescriptorType()
82 type == vk::VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER; in isUniformDescriptorType()
85 bool isDynamicDescriptorType (vk::VkDescriptorType type) in isDynamicDescriptorType()
87 …return type == vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC || type == vk::VK_DESCRIPTOR_TYPE_STO… in isDynamicDescriptorType()
90 void verifyDriverSupport(const vk::VkPhysicalDeviceFeatures& deviceFeatures, in verifyDriverSupport()
91 vk::VkDescriptorType descType, in verifyDriverSupport()
92 vk::VkShaderStageFlags activeStages) in verifyDriverSupport()
96 case vk::VK_DESCRIPTOR_TYPE_SAMPLER: in verifyDriverSupport()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryPipelineBarrierTests.cpp83 ALL_PIPELINE_STAGES = vk::VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT
84 | vk::VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT
85 | vk::VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT
86 | vk::VK_PIPELINE_STAGE_VERTEX_INPUT_BIT
87 | vk::VK_PIPELINE_STAGE_VERTEX_SHADER_BIT
88 | vk::VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT
89 | vk::VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT
90 | vk::VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT
91 | vk::VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT
92 | vk::VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageSamplingInstance.hpp46 vk::VkImageViewType imageViewType,
47 vk::VkFormat imageFormat,
50 const vk::VkComponentMapping& componentMapping,
51 const vk::VkImageSubresourceRange& subresourceRange,
52 const vk::VkSamplerCreateInfo& samplerParams,
64 const vk::VkImageViewType m_imageViewType;
65 const vk::VkFormat m_imageFormat;
69 const vk::VkComponentMapping m_componentMapping;
70 const vk::VkImageSubresourceRange m_subresourceRange;
71 const vk::VkSamplerCreateInfo m_samplerParams;
[all …]
/external/deqp/external/vulkancts/modules/vulkan/
DvktShaderLibrary.cpp80 using vk::SourceCollections;
81 using vk::Move;
82 using vk::Unique;
728 vk::VkShaderModule getShader (glu::ShaderType type) const { return *m_shaderModules[type]; } in getShader()
732 Move<vk::VkShaderModule> m_shaderModules[glu::SHADERTYPE_LAST];
745 …m_shaderModules[shaderType] = vk::createShaderModule(context.getDeviceInterface(), context.getDevi… in PipelineProgram()
751 vector<vk::VkPipelineShaderStageCreateInfo> getPipelineShaderStageCreateInfo (const PipelineProgram… in getPipelineShaderStageCreateInfo()
753 vector<vk::VkPipelineShaderStageCreateInfo> infos; in getPipelineShaderStageCreateInfo()
759 const vk::VkPipelineShaderStageCreateInfo info = in getPipelineShaderStageCreateInfo()
761 vk::VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO, // sType in getPipelineShaderStageCreateInfo()
[all …]

12345678910