Lines Matching defs:const
87 Move<VkDeviceMemory>& memory) const = 0;
97 Move<VkDeviceMemory>& memory) const;
107 Move<VkDeviceMemory>& memory) const;
114 const std::string& name,
121 virtual TestInstance* createInstance (Context& ctx) const
125 virtual void checkSupport (Context& ctx) const
146 Move<VkDeviceMemory>& memory) const
148 const VkDevice vkDevice = context.getDevice();
149 const DeviceInterface& vk = context.getDeviceInterface();
150 const deUint32 queueFamilyIndex = context.getUniversalQueueFamilyIndex();
152 const VkBufferCreateInfo bufferParams =
155 DE_NULL, // const void* pNext;
161 &queueFamilyIndex, // const deUint32* pQueueFamilyIndices;
166 testBuffer = vk::createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL);
168 catch (const vk::Error& error)
187 const VkMemoryAllocateInfo memAlloc =
190 NULL, // const void* pNext
197 memory = allocateMemory(vk, vkDevice, &memAlloc, (const VkAllocationCallbacks*)DE_NULL);
199 catch (const vk::Error& error)
214 Move<VkDeviceMemory>& memory) const
216 const InstanceInterface& vkInstance = context.getInstanceInterface();
217 const VkDevice vkDevice = context.getDevice();
218 const VkPhysicalDevice vkPhysicalDevice = context.getPhysicalDevice();
219 const DeviceInterface& vk = context.getDeviceInterface();
220 const deUint32 queueFamilyIndex = context.getUniversalQueueFamilyIndex();
225 DE_NULL, // const void* pNext;
236 const VkBufferCreateInfo bufferParams =
239 DE_NULL, // const void* pNext;
245 &queueFamilyIndex, // const deUint32* pQueueFamilyIndices;
250 testBuffer = vk::createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL);
252 catch (const vk::Error& error)
260 DE_NULL, // const void* pNext
286 const deUint32 heapTypeIndex = static_cast<deUint32>(deCtz32(memReqs.memoryRequirements.memoryTypeBits));
305 DE_NULL, // const void* pNext
313 &dedicatedInfo, // const void* pNext
335 const VkDevice vkDevice = m_context.getDevice();
336 const DeviceInterface& vk = m_context.getDeviceInterface();
337 const VkDeviceSize size = 3 * 5 * 7 * 64;
354 const VkBufferViewCreateInfo bufferViewCreateInfo =
357 NULL, // const void* pNext;
367 bufferView = createBufferView(vk, vkDevice, &bufferViewCreateInfo, (const VkAllocationCallbacks*)DE_NULL);
369 catch (const vk::Error& error)
381 NULL, // const void* pNext;
391 completeBufferView = createBufferView(vk, vkDevice, &completeBufferViewCreateInfo, (const VkAllocationCallbacks*)DE_NULL);
393 catch (const vk::Error& error)
406 const VkDeviceSize range = VK_WHOLE_SIZE;
407 const vk::VkBufferUsageFlags usage[] = { vk::VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT, vk::VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT };
408 const vk::VkFormatFeatureFlags feature[] = { vk::VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT, vk::VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT };
409 const char* const usageName[] = { "uniform", "storage"};
431 const std::string formatName = de::toLower(getFormatName((VkFormat)format)).substr(10);
434 const std::string testName = de::toLower(getFormatName((VkFormat)format)).substr(10);
437 const BufferViewCaseParameters