Home
last modified time | relevance | path

Searched refs:vk (Results 1 - 25 of 1958) sorted by relevance

12345678910>>...79

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shader_object/
H A DvktShaderObjectBindingTests.cpp63 vk::VkShaderStageFlagBits stage;
64 vk::VkShaderStageFlagBits unusedOutputs;
65 vk::VkShaderStageFlagBits binaryStage;
72 vk::VkShaderStageFlagBits stage;
90 vk::Move<vk::VkShaderEXT> createShader (const vk::DeviceInterface& vk, const vk::VkDevice device, vk
140 createShader(const vk::DeviceInterface& vk, const vk::VkDevice device, vk::VkShaderStageFlagBits stage, const std::string& name, const vk::VkDescriptorSetLayout* descriptorSetLayout) createShader() argument
168 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); setDynamicStates() local
193 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); iterate() local
868 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); iterate() local
1010 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); iterate() local
[all...]
H A DvktShaderObjectCreateUtil.cpp28 namespace vk namespace
31 std::string getShaderName (vk::VkShaderStageFlagBits stage) in getShaderName()
35 case vk::VK_SHADER_STAGE_VERTEX_BIT: return "vert"; in getShaderName()
36 case vk::VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT: return "tesc"; in getShaderName()
37 case vk::VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT: return "tese"; in getShaderName()
38 case vk::VK_SHADER_STAGE_GEOMETRY_BIT: return "geom"; in getShaderName()
39 case vk::VK_SHADER_STAGE_FRAGMENT_BIT: return "frag"; in getShaderName()
40 case vk::VK_SHADER_STAGE_COMPUTE_BIT: return "comp"; in getShaderName()
41 case vk::VK_SHADER_STAGE_MESH_BIT_EXT: return "mesh"; in getShaderName()
42 case vk in getShaderName()
87 createShaderFromBinary(const DeviceInterface& vk, VkDevice device, vk::VkShaderStageFlagBits shaderStage, size_t codeSize, const void* pCode, bool tessellationShaderFeature, bool geometryShaderFeature, vk::VkDescriptorSetLayout descriptorSetLayout) createShaderFromBinary() argument
110 createShader(const DeviceInterface& vk, VkDevice device, const vk::VkShaderCreateInfoEXT& shaderCreateInfo) createShader() argument
241 setDefaultShaderObjectDynamicStates(const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, const std::vector<std::string>& deviceExtensions, vk::VkPrimitiveTopology topology, bool meshShader, bool setViewport) setDefaultShaderObjectDynamicStates() argument
397 bindGraphicsShaders(const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, vk::VkShaderEXT vertShader, vk::VkShaderEXT tescShader, vk::VkShaderEXT teseShader, vk::VkShaderEXT geomShader, vk::VkShaderEXT fragShader, bool taskShaderSupported, bool meshShaderSupported) bindGraphicsShaders() argument
426 bindComputeShader(const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, vk::VkShaderEXT compShader) bindComputeShader() argument
432 bindNullTaskMeshShaders(const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, vk::VkPhysicalDeviceMeshShaderFeaturesEXT meshShaderFeatures) bindNullTaskMeshShaders() argument
445 bindNullRasterizationShaders(const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, vk::VkPhysicalDeviceFeatures features) bindNullRasterizationShaders() argument
[all...]
H A DvktShaderObjectPipelineInteractionTests.cpp80 bool verifyImage (de::MovePtr<vk::BufferWithMemory>& outputBuffer, deUint32 drawCount);
84 const vk::VkFormat colorAttachmentFormat = vk::VK_FORMAT_R8G8B8A8_UNORM;
85 const vk::VkRect2D renderArea = { {0u, 0u, }, {32u, 32u, } };
122 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); in iterate() local
123 const vk::VkDevice device = m_context.getDevice(); in iterate()
124 const vk::VkQueue queue = m_context.getUniversalQueue(); in iterate()
127 const auto deviceExtensions = vk::removeUnsupportedShaderObjectExtensions(m_context.getInstanceInterface(), m_context.getPhysicalDevice(), m_context.getDeviceExtensions()); in iterate()
133 const auto subresourceRange = makeImageSubresourceRange(vk in iterate()
820 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); iterate() local
[all...]
H A DvktShaderObjectPerformanceTests.cpp86 std::chrono::nanoseconds draw (const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, vk::VkBuffer indexBuffer, vk::VkBuffer indirectBuffer, vk::VkBuffer countBuffer) const;
97 std::vector<vk::VkDynamicState> getDynamicStates (Context& context) in getDynamicStates()
99 const auto deviceExtensions = vk::removeUnsupportedShaderObjectExtensions(context.getInstanceInterface(), context.getPhysicalDevice(), context.getDeviceExtensions()); in getDynamicStates()
105 std::vector<vk::VkDynamicState> dynamicStates = { in getDynamicStates()
106 vk in getDynamicStates()
237 createShaderFromBinary(const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::Move<vk::VkShaderEXT>& shader, vk::VkShaderStageFlagBits stage) createShaderFromBinary() argument
267 draw(const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, vk::VkBuffer indexBuffer, vk::VkBuffer indirectBuffer, vk::VkBuffer countBuffer) const draw() argument
315 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); iterate() local
792 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); iterate() local
949 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); iterate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A 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
[all...]
H A DvktDrawImageObjectUtil.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 vk::VkImageCreateInfo& createInfo, deUint32 queueFamilyIndex);
67 static de::SharedPtr<Image> createAndAlloc (const vk::DeviceInterface& vk,
[all...]
H A DvktDrawImageObjectUtil.cpp48 vk::VkDeviceSize rowPitchOrZero, in pack()
49 vk::VkDeviceSize depthPitchOrZero, in pack()
53 vk::VkDeviceSize rowPitch = rowPitchOrZero; in pack()
54 vk::VkDeviceSize depthPitch = depthPitchOrZero; in pack()
62 const vk::VkDeviceSize size = depthPitch * depth; in pack()
71 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) && in pack()
72 depthPitch == static_cast<vk::VkDeviceSize>(rowPitch * height)) in pack()
82 vk::VkDeviceSize offsetDepthDst = d * depthPitch; in pack()
83 vk::VkDeviceSize offsetDepthSrc = d * (pixelSize * width * height); in pack()
100 vk in unpack()
147 Image(const vk::DeviceInterface& vk, vk::VkDevice device, deUint32 queueFamilyIndex, vk::VkFormat format, const vk::VkExtent3D& extend, deUint32 levelCount, deUint32 layerCount, vk::Move<vk::VkImage> object_) Image() argument
814 createAndAlloc(const vk::DeviceInterface& vk, vk::VkDevice device, const vk::VkImageCreateInfo& createInfo, vk::Allocator& allocator, deUint32 queueFamilyIndex, vk::MemoryRequirement memoryRequirement) createAndAlloc() argument
828 create(const vk::DeviceInterface& vk, vk::VkDevice device, const vk::VkImageCreateInfo &createInfo, deUint32 queueFamilyIndex) create() argument
837 transition2DImage(const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, vk::VkImage image, vk::VkImageAspectFlags aspectMask, vk::VkImageLayout oldLayout, vk::VkImageLayout newLayout, vk::VkAccessFlags srcAccessMask, vk::VkAccessFlags dstAccessMask, vk::VkPipelineStageFlags srcStageMask, vk::VkPipelineStageFlags dstStageMask, deUint32 numLayers) transition2DImage() argument
869 initialTransitionColor2DImage(const vk::DeviceInterface &vk, vk::VkCommandBuffer cmdBuffer, vk::VkImage image, vk::VkImageLayout layout, vk::VkAccessFlags dstAccessMask, vk::VkPipelineStageFlags dstStageMask, deUint32 numLayers) initialTransitionColor2DImage() argument
875 initialTransitionDepth2DImage(const vk::DeviceInterface &vk, vk::VkCommandBuffer cmdBuffer, vk::VkImage image, vk::VkImageLayout layout, vk::VkAccessFlags dstAccessMask, vk::VkPipelineStageFlags dstStageMask) initialTransitionDepth2DImage() argument
881 initialTransitionStencil2DImage(const vk::DeviceInterface &vk, vk::VkCommandBuffer cmdBuffer, vk::VkImage image, vk::VkImageLayout layout, vk::VkAccessFlags dstAccessMask, vk::VkPipelineStageFlags dstStageMask) initialTransitionStencil2DImage() argument
887 initialTransitionDepthStencil2DImage(const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, vk::VkImage image, vk::VkImageLayout layout, vk::VkAccessFlags dstAccessMask, vk::VkPipelineStageFlags dstStageMask) initialTransitionDepthStencil2DImage() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A 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
[all...]
H A DvktDrawImageObjectUtil.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 vk::VkImageCreateInfo& createInfo, deUint32 queueFamilyIndex);
67 static de::SharedPtr<Image> createAndAlloc (const vk::DeviceInterface& vk,
[all...]
H A DvktDrawImageObjectUtil.cpp48 vk::VkDeviceSize rowPitchOrZero, in pack()
49 vk::VkDeviceSize depthPitchOrZero, in pack()
53 vk::VkDeviceSize rowPitch = rowPitchOrZero; in pack()
54 vk::VkDeviceSize depthPitch = depthPitchOrZero; in pack()
62 const vk::VkDeviceSize size = depthPitch * depth; in pack()
71 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) && in pack()
72 depthPitch == static_cast<vk::VkDeviceSize>(rowPitch * height)) in pack()
82 vk::VkDeviceSize offsetDepthDst = d * depthPitch; in pack()
83 vk::VkDeviceSize offsetDepthSrc = d * (pixelSize * width * height); in pack()
100 vk in unpack()
147 Image(const vk::DeviceInterface& vk, vk::VkDevice device, deUint32 queueFamilyIndex, vk::VkFormat format, const vk::VkExtent3D& extend, deUint32 levelCount, deUint32 layerCount, vk::Move<vk::VkImage> object_) Image() argument
814 createAndAlloc(const vk::DeviceInterface& vk, vk::VkDevice device, const vk::VkImageCreateInfo& createInfo, vk::Allocator& allocator, deUint32 queueFamilyIndex, vk::MemoryRequirement memoryRequirement) createAndAlloc() argument
828 create(const vk::DeviceInterface& vk, vk::VkDevice device, const vk::VkImageCreateInfo &createInfo, deUint32 queueFamilyIndex) create() argument
837 transition2DImage(const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, vk::VkImage image, vk::VkImageAspectFlags aspectMask, vk::VkImageLayout oldLayout, vk::VkImageLayout newLayout, vk::VkAccessFlags srcAccessMask, vk::VkAccessFlags dstAccessMask, vk::VkPipelineStageFlags srcStageMask, vk::VkPipelineStageFlags dstStageMask, deUint32 numLayers) transition2DImage() argument
869 initialTransitionColor2DImage(const vk::DeviceInterface &vk, vk::VkCommandBuffer cmdBuffer, vk::VkImage image, vk::VkImageLayout layout, vk::VkAccessFlags dstAccessMask, vk::VkPipelineStageFlags dstStageMask, deUint32 numLayers) initialTransitionColor2DImage() argument
875 initialTransitionDepth2DImage(const vk::DeviceInterface &vk, vk::VkCommandBuffer cmdBuffer, vk::VkImage image, vk::VkImageLayout layout, vk::VkAccessFlags dstAccessMask, vk::VkPipelineStageFlags dstStageMask) initialTransitionDepth2DImage() argument
881 initialTransitionStencil2DImage(const vk::DeviceInterface &vk, vk::VkCommandBuffer cmdBuffer, vk::VkImage image, vk::VkImageLayout layout, vk::VkAccessFlags dstAccessMask, vk::VkPipelineStageFlags dstStageMask) initialTransitionStencil2DImage() argument
887 initialTransitionDepthStencil2DImage(const vk::DeviceInterface& vk, vk::VkCommandBuffer cmdBuffer, vk::VkImage image, vk::VkImageLayout layout, vk::VkAccessFlags dstAccessMask, vk::VkPipelineStageFlags dstStageMask) initialTransitionDepthStencil2DImage() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/util/
H A DvktExternalMemoryUtil.hpp55 NativeHandle (Win32HandleType type, vk::pt::Win32Handle handle);
56 NativeHandle (vk::pt::AndroidHardwareBufferPtr buffer);
60 NativeHandle& operator= (vk::pt::AndroidHardwareBufferPtr buffer);
62 void setZirconHandle (vk::pt::zx_handle_t zirconHandle);
63 void setWin32Handle (Win32HandleType type, vk::pt::Win32Handle handle);
64 vk::pt::Win32Handle getWin32Handle (void) const;
68 vk::pt::AndroidHardwareBufferPtr getAndroidHardwareBuffer (void) const;
69 vk::pt::zx_handle_t getZirconHandle (void) const;
75 vk::pt::zx_handle_t m_zirconHandle;
77 vk
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
H A DvktYCbCrCopyTests.cpp65 ImageConfig (vk::VkFormat format_, in ImageConfig()
66 vk::VkImageTiling tiling_, in ImageConfig()
76 vk::VkFormat format;
77 vk::VkImageTiling tiling;
99 const vk::VkFormatProperties properties (vk::getPhysicalDeviceFormatProperties(context.getInstanceInterface(), context.getPhysicalDevice(), config.format)); in checkFormatSupport()
100 const vk::VkFormatFeatureFlags features (config.tiling == vk::VK_IMAGE_TILING_OPTIMAL in checkFormatSupport()
104 if ((features & vk::VK_FORMAT_FEATURE_TRANSFER_SRC_BIT) == 0 in checkFormatSupport()
105 && (features & vk in checkFormatSupport()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationUtil.hpp64 Buffer (const vk::DeviceInterface& vk, in Buffer() argument
65 const vk::VkDevice device, in Buffer()
66 vk::Allocator& allocator, in Buffer()
67 const vk::VkBufferCreateInfo& bufferCreateInfo, in Buffer()
68 const vk::MemoryRequirement memoryRequirement) in Buffer()
69 : m_buffer (createBuffer(vk, device, &bufferCreateInfo)) in Buffer()
70 , m_allocation (allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequirement)) in Buffer()
72 VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset())); in Buffer()
75 Buffer (vk
98 Image(const vk::DeviceInterface& vk, const vk::VkDevice device, vk::Allocator& allocator, const vk::VkImageCreateInfo& imageCreateInfo, const vk::MemoryRequirement memoryRequirement) Image() argument
199 SynchronizationWrapperBase(const vk::DeviceInterface& vk) SynchronizationWrapperBase() argument
[all...]
H A DvktSynchronizationOperationResources.hpp38 { RESOURCE_TYPE_BUFFER, tcu::IVec4( 0x4000, 0, 0, 0), vk::VK_IMAGE_TYPE_LAST, vk::VK_FORMAT_UNDEFINED, (vk::VkImageAspectFlags)0, vk::VK_SAMPLE_COUNT_1_BIT }, // 16 KiB (min max UBO range)
39 { RESOURCE_TYPE_BUFFER, tcu::IVec4(0x40000, 0, 0, 0), vk::VK_IMAGE_TYPE_LAST, vk::VK_FORMAT_UNDEFINED, (vk::VkImageAspectFlags)0, vk::VK_SAMPLE_COUNT_1_BIT }, // 256 KiB
41 { RESOURCE_TYPE_IMAGE, tcu::IVec4(128, 0, 0, 0), vk::VK_IMAGE_TYPE_1D, vk
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
H A DvktSynchronizationUtil.hpp64 Buffer (const vk::DeviceInterface& vk, in Buffer() argument
65 const vk::VkDevice device, in Buffer()
66 vk::Allocator& allocator, in Buffer()
67 const vk::VkBufferCreateInfo& bufferCreateInfo, in Buffer()
68 const vk::MemoryRequirement memoryRequirement) in Buffer()
69 : m_buffer (createBuffer(vk, device, &bufferCreateInfo)) in Buffer()
70 , m_allocation (allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequirement)) in Buffer()
72 VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset())); in Buffer()
75 Buffer (vk
98 Image(const vk::DeviceInterface& vk, const vk::VkDevice device, vk::Allocator& allocator, const vk::VkImageCreateInfo& imageCreateInfo, const vk::MemoryRequirement memoryRequirement) Image() argument
199 SynchronizationWrapperBase(const vk::DeviceInterface& vk) SynchronizationWrapperBase() argument
[all...]
H A DvktSynchronizationOperationResources.hpp38 { RESOURCE_TYPE_BUFFER, tcu::IVec4( 0x4000, 0, 0, 0), vk::VK_IMAGE_TYPE_LAST, vk::VK_FORMAT_UNDEFINED, (vk::VkImageAspectFlags)0, vk::VK_SAMPLE_COUNT_1_BIT }, // 16 KiB (min max UBO range)
39 { RESOURCE_TYPE_BUFFER, tcu::IVec4(0x40000, 0, 0, 0), vk::VK_IMAGE_TYPE_LAST, vk::VK_FORMAT_UNDEFINED, (vk::VkImageAspectFlags)0, vk::VK_SAMPLE_COUNT_1_BIT }, // 256 KiB
41 { RESOURCE_TYPE_IMAGE, tcu::IVec4(128, 0, 0, 0), vk::VK_IMAGE_TYPE_1D, vk
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sc/
H A DvktObjectRefreshTests.cpp52 vk::VkPhysicalDevice physicalDevice = context.getPhysicalDevice(); in queryRefreshableObjects()
53 const vk::InstanceInterface& vki = context.getInstanceInterface(); in queryRefreshableObjects()
56 vk::VkResult result = vki.getPhysicalDeviceRefreshableObjectTypesKHR(physicalDevice, &countReported, DE_NULL); in queryRefreshableObjects()
57 if (result != vk::VK_SUCCESS) in queryRefreshableObjects()
64 std::vector<vk::VkObjectType> refreshableObjects (refreshableObjectsMaxCount); in queryRefreshableObjects()
70 std::fill(refreshableObjects.begin(), refreshableObjects.end(), vk::VK_OBJECT_TYPE_UNKNOWN); in queryRefreshableObjects()
74 if ((result != vk::VK_SUCCESS) && (result != vk::VK_INCOMPLETE)) in queryRefreshableObjects()
84 if (refreshableObjects[i] == vk::VK_OBJECT_TYPE_UNKNOWN) in queryRefreshableObjects()
95 vk in refreshObjects()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sc/
H A DvktObjectRefreshTests.cpp52 vk::VkPhysicalDevice physicalDevice = context.getPhysicalDevice(); in queryRefreshableObjects()
53 const vk::InstanceInterface& vki = context.getInstanceInterface(); in queryRefreshableObjects()
56 vk::VkResult result = vki.getPhysicalDeviceRefreshableObjectTypesKHR(physicalDevice, &countReported, DE_NULL); in queryRefreshableObjects()
57 if (result != vk::VK_SUCCESS) in queryRefreshableObjects()
64 std::vector<vk::VkObjectType> refreshableObjects (refreshableObjectsMaxCount); in queryRefreshableObjects()
70 std::fill(refreshableObjects.begin(), refreshableObjects.end(), vk::VK_OBJECT_TYPE_UNKNOWN); in queryRefreshableObjects()
74 if ((result != vk::VK_SUCCESS) && (result != vk::VK_INCOMPLETE)) in queryRefreshableObjects()
84 if (refreshableObjects[i] == vk::VK_OBJECT_TYPE_UNKNOWN) in queryRefreshableObjects()
95 vk in refreshObjects()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineRobustnessCacheTests.cpp61 std::unique_ptr<vk::BufferWithMemory> makeBufferForImage(const vk::DeviceInterface& vk, const vk::VkDevice device, vk::Allocator& allocator, vk::VkFormat imageFormat, vk::VkExtent2D imageExtent) in makeBufferForImage() argument
64 const auto outBufferSize = static_cast<vk::VkDeviceSize>(static_cast<uint32_t>(tcu::getPixelSize(tcuFormat)) * imageExtent.width * imageExtent.height); in makeBufferForImage()
65 const auto outBufferUsage = vk::VK_BUFFER_USAGE_TRANSFER_DST_BIT; in makeBufferForImage()
66 const auto outBufferInfo = vk in makeBufferForImage()
97 makeSampler(const vk::DeviceInterface& vk, const vk::VkDevice device) makeSampler() argument
159 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); draw() local
188 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); verifyImage() local
220 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); iterate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
H A DvktProtectedMemYCbCrConversionTests.cpp52 static const vk::VkFormat s_colorFormat = vk::VK_FORMAT_R8G8B8A8_UNORM;
101 vk::VkFormat format_, in TestConfig()
102 vk::VkImageTiling imageTiling_, in TestConfig()
103 vk::VkFilter textureFilter_, in TestConfig()
104 vk::VkSamplerAddressMode addressModeU_, in TestConfig()
105 vk::VkSamplerAddressMode addressModeV_, in TestConfig()
107 vk::VkFilter chromaFilter_, in TestConfig()
108 vk::VkChromaLocation xChromaOffset_, in TestConfig()
109 vk in TestConfig()
323 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); uploadYCbCrImage() local
513 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); validateImage() local
782 const vk::DeviceInterface& vk = context.getDeviceInterface(); createYcbcrImage2D() local
828 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); renderYCbCrToColor() local
1151 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); conversionTest() local
[all...]
H A DvktProtectedMemUtils.cpp47 using namespace vk;
52 typedef std::vector<vk::VkExtensionProperties> Extensions;
57 const Extensions supportedExtensions(vk::enumerateInstanceExtensionProperties(vkp, DE_NULL)); in makeProtectedMemInstance()
84 const vk::InstanceInterface& vkd = context.getInstanceInterface(); in checkProtectedQueueSupport()
85 vk::VkPhysicalDevice physDevice = context.getPhysicalDevice(); in checkProtectedQueueSupport()
86 std::vector<vk::VkQueueFamilyProperties> properties; in checkProtectedQueueSupport()
96 if (prop.queueFlags & vk::VK_QUEUE_PROTECTED_BIT) in checkProtectedQueueSupport()
102 deUint32 chooseProtectedMemQueueFamilyIndex (const vk::InstanceDriver& vkd, in chooseProtectedMemQueueFamilyIndex()
103 vk::VkPhysicalDevice physicalDevice, in chooseProtectedMemQueueFamilyIndex()
104 vk in chooseProtectedMemQueueFamilyIndex()
301 getProtectedQueue(const vk::DeviceInterface& vk, vk::VkDevice device, const deUint32 queueFamilyIndex, const deUint32 queueIdx) getProtectedQueue() argument
337 const vk::DeviceInterface& vk = context.getDeviceInterface(); createImage2D() local
387 const vk::DeviceInterface& vk = context.getDeviceInterface(); makeBuffer() local
440 const vk::DeviceInterface& vk = context.getDeviceInterface(); createRenderPass() local
449 const vk::DeviceInterface& vk = context.getDeviceInterface(); createFramebuffer() local
484 beginSecondaryCommandBuffer(const vk::DeviceInterface& vk, const vk::VkCommandBuffer secondaryCmdBuffer, const vk::VkCommandBufferInheritanceInfo bufferInheritanceInfo) beginSecondaryCommandBuffer() argument
508 const vk::DeviceInterface& vk = context.getDeviceInterface(); queueSubmit() local
544 makeSampler(const vk::DeviceInterface& vk, const vk::VkDevice& device) makeSampler() argument
573 makeCommandPool(const vk::DeviceInterface& vk, const vk::VkDevice& device, ProtectionMode protectionMode, const deUint32 queueFamilyIdx) makeCommandPool() argument
590 makeGraphicsPipeline(const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkPipelineLayout pipelineLayout, const vk::VkRenderPass renderPass, const vk::VkShaderModule vertexShaderModule, const vk::VkShaderModule fragmentShaderModule, const VertexBindings& vertexBindings, const VertexAttribs& vertexAttribs, const tcu::UVec2& renderSize, const vk::VkPrimitiveTopology topology, const vk::VkPipelineCreateFlags flags) makeGraphicsPipeline() argument
653 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); clearImage() local
726 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); uploadImage() local
835 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); copyToProtectedImage() local
[all...]
H A DvktProtectedMemBufferValidator.hpp78 void initBufferValidatorPrograms (vk::SourceCollections& programCollection, TestType testType, BufferType bufferType);
79 vk::VkDescriptorType getDescriptorType (BufferType bufferType);
85 BufferValidator (const ValidationData<T> data, vk::VkFormat format) in BufferValidator()
93 BufferValidator (const ValidationDataStorage<T> data, vk::VkFormat format) in BufferValidator()
102 void initPrograms (vk::SourceCollections& programCollection) const;
105 const vk::VkBuffer buffer) const;
115 vk::VkFormat m_format;
119 inline void BufferValidator<tcu::UVec4>::initPrograms (vk::SourceCollections& programCollection) const in initPrograms()
125 inline void BufferValidator<tcu::IVec4>::initPrograms (vk::SourceCollections& programCollection) const in initPrograms()
131 inline void BufferValidator<tcu::Vec4>::initPrograms (vk
184 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); validateBuffer() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/
H A DvktProtectedMemYCbCrConversionTests.cpp52 static const vk::VkFormat s_colorFormat = vk::VK_FORMAT_R8G8B8A8_UNORM;
101 vk::VkFormat format_, in TestConfig()
102 vk::VkImageTiling imageTiling_, in TestConfig()
103 vk::VkFilter textureFilter_, in TestConfig()
104 vk::VkSamplerAddressMode addressModeU_, in TestConfig()
105 vk::VkSamplerAddressMode addressModeV_, in TestConfig()
107 vk::VkFilter chromaFilter_, in TestConfig()
108 vk::VkChromaLocation xChromaOffset_, in TestConfig()
109 vk in TestConfig()
323 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); uploadYCbCrImage() local
513 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); validateImage() local
782 const vk::DeviceInterface& vk = context.getDeviceInterface(); createYcbcrImage2D() local
828 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); renderYCbCrToColor() local
1151 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); conversionTest() local
[all...]
H A DvktProtectedMemUtils.cpp47 using namespace vk;
52 typedef std::vector<vk::VkExtensionProperties> Extensions;
57 const Extensions supportedExtensions(vk::enumerateInstanceExtensionProperties(vkp, DE_NULL)); in makeProtectedMemInstance()
84 const vk::InstanceInterface& vkd = context.getInstanceInterface(); in checkProtectedQueueSupport()
85 vk::VkPhysicalDevice physDevice = context.getPhysicalDevice(); in checkProtectedQueueSupport()
86 std::vector<vk::VkQueueFamilyProperties> properties; in checkProtectedQueueSupport()
96 if (prop.queueFlags & vk::VK_QUEUE_PROTECTED_BIT) in checkProtectedQueueSupport()
102 deUint32 chooseProtectedMemQueueFamilyIndex (const vk::InstanceDriver& vkd, in chooseProtectedMemQueueFamilyIndex()
103 vk::VkPhysicalDevice physicalDevice, in chooseProtectedMemQueueFamilyIndex()
104 vk in chooseProtectedMemQueueFamilyIndex()
301 getProtectedQueue(const vk::DeviceInterface& vk, vk::VkDevice device, const deUint32 queueFamilyIndex, const deUint32 queueIdx) getProtectedQueue() argument
337 const vk::DeviceInterface& vk = context.getDeviceInterface(); createImage2D() local
387 const vk::DeviceInterface& vk = context.getDeviceInterface(); makeBuffer() local
440 const vk::DeviceInterface& vk = context.getDeviceInterface(); createRenderPass() local
449 const vk::DeviceInterface& vk = context.getDeviceInterface(); createFramebuffer() local
484 beginSecondaryCommandBuffer(const vk::DeviceInterface& vk, const vk::VkCommandBuffer secondaryCmdBuffer, const vk::VkCommandBufferInheritanceInfo bufferInheritanceInfo) beginSecondaryCommandBuffer() argument
508 const vk::DeviceInterface& vk = context.getDeviceInterface(); queueSubmit() local
544 makeSampler(const vk::DeviceInterface& vk, const vk::VkDevice& device) makeSampler() argument
573 makeCommandPool(const vk::DeviceInterface& vk, const vk::VkDevice& device, ProtectionMode protectionMode, const deUint32 queueFamilyIdx) makeCommandPool() argument
590 makeGraphicsPipeline(const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkPipelineLayout pipelineLayout, const vk::VkRenderPass renderPass, const vk::VkShaderModule vertexShaderModule, const vk::VkShaderModule fragmentShaderModule, const VertexBindings& vertexBindings, const VertexAttribs& vertexAttribs, const tcu::UVec2& renderSize, const vk::VkPrimitiveTopology topology, const vk::VkPipelineCreateFlags flags) makeGraphicsPipeline() argument
653 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); clearImage() local
726 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); uploadImage() local
835 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); copyToProtectedImage() local
[all...]
H A DvktProtectedMemBufferValidator.hpp78 void initBufferValidatorPrograms (vk::SourceCollections& programCollection, TestType testType, BufferType bufferType);
79 vk::VkDescriptorType getDescriptorType (BufferType bufferType);
85 BufferValidator (const ValidationData<T> data, vk::VkFormat format) in BufferValidator()
93 BufferValidator (const ValidationDataStorage<T> data, vk::VkFormat format) in BufferValidator()
102 void initPrograms (vk::SourceCollections& programCollection) const;
105 const vk::VkBuffer buffer) const;
115 vk::VkFormat m_format;
119 inline void BufferValidator<tcu::UVec4>::initPrograms (vk::SourceCollections& programCollection) const in initPrograms()
125 inline void BufferValidator<tcu::IVec4>::initPrograms (vk::SourceCollections& programCollection) const in initPrograms()
131 inline void BufferValidator<tcu::Vec4>::initPrograms (vk
184 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); validateBuffer() local
[all...]

Completed in 17 milliseconds

12345678910>>...79