Lines Matching defs:const

36 										const char* vertexShaderName,
37 const char* fragmentShaderName,
38 const SharedGroupParams groupParams,
40 const uint32_t layers)
54 const vk::VkDevice device = m_context.getDevice();
55 const deUint32 queueFamilyIndex = m_context.getUniversalQueueFamilyIndex();
56 const auto viewMask = getDefaultViewMask();
57 const auto multiview = (viewMask != 0u);
59 const PipelineLayoutCreateInfo pipelineLayoutCreateInfo;
62 const vk::VkExtent3D targetImageExtent = { WIDTH, HEIGHT, 1 };
63 const ImageCreateInfo targetImageCreateInfo(vk::VK_IMAGE_TYPE_2D, m_colorAttachmentFormat, targetImageExtent, 1, m_layers, vk::VK_SAMPLE_COUNT_1_BIT,
68 const ImageSubresourceRange colorSRR (vk::VK_IMAGE_ASPECT_COLOR_BIT, 0u, 1u, 0u, m_layers);
69 const auto imageViewType = (multiview ? vk::VK_IMAGE_VIEW_TYPE_2D_ARRAY : vk::VK_IMAGE_VIEW_TYPE_2D);
70 const ImageViewCreateInfo colorTargetViewInfo(m_colorTargetImage->object(), imageViewType, m_colorAttachmentFormat, colorSRR);
86 const vk::VkAttachmentReference colorAttachmentReference
103 const std::vector<uint32_t> viewMasks (1u, viewMask);
105 const vk::VkRenderPassMultiviewCreateInfo multiviewCreateInfo =
108 nullptr, // const void* pNext;
110 de::dataOrNull(viewMasks), // const uint32_t* pViewMasks;
112 nullptr, // const int32_t* pViewOffsets;
114 de::dataOrNull(viewMasks), // const uint32_t* pCorrelationMasks;
124 const FramebufferCreateInfo framebufferCreateInfo (*m_renderPass, colorAttachments, WIDTH, HEIGHT, 1);
128 const vk::VkVertexInputBindingDescription vertexInputBindingDescription =
135 const vk::VkVertexInputAttributeDescription vertexInputAttributeDescriptions[] =
162 const vk::VkDeviceSize dataSize = m_data.size() * sizeof(VertexElementData);
171 const CmdPoolCreateInfo cmdPoolCreateInfo(queueFamilyIndex);
181 void DrawTestsBaseClass::initPipeline (const vk::VkDevice device)
183 const vk::Unique<vk::VkShaderModule> vs(createShaderModule(m_vk, device, m_context.getBinaryCollection().get(m_vertexShaderName), 0));
184 const vk::Unique<vk::VkShaderModule> fs(createShaderModule(m_vk, device, m_context.getBinaryCollection().get(m_fragmentShaderName), 0));
186 const PipelineCreateInfo::ColorBlendState::Attachment vkCbAttachmentState;
203 const auto viewMask = getDefaultViewMask();
225 const vk::VkClearValue clearColor { { { 0.0f, 0.0f, 0.0f, 1.0f } } };
230 const ImageSubresourceRange subresourceRange(vk::VK_IMAGE_ASPECT_COLOR_BIT);
234 const vk::VkMemoryBarrier memBarrier
247 void DrawTestsBaseClass::beginLegacyRender (vk::VkCommandBuffer cmdBuffer, const vk::VkSubpassContents content)
249 const vk::VkRect2D renderArea = vk::makeRect2D(WIDTH, HEIGHT);
260 void DrawTestsBaseClass::beginSecondaryCmdBuffer(const vk::DeviceInterface& vk, const vk::VkRenderingFlagsKHR renderingFlags)
265 DE_NULL, // const void* pNext;
269 &m_colorAttachmentFormat, // const VkFormat* pColorAttachmentFormats;
274 const vk::VkCommandBufferInheritanceInfo bufferInheritanceInfo = vk::initVulkanStructure(&inheritanceRenderingInfo);
280 const vk::VkCommandBufferBeginInfo commandBufBeginParams
283 DE_NULL, // const void* pNext;
291 void DrawTestsBaseClass::beginDynamicRender(vk::VkCommandBuffer cmdBuffer, const vk::VkRenderingFlagsKHR renderingFlags)
293 const vk::VkClearValue clearColor{ { { 0.0f, 0.0f, 0.0f, 1.0f } } };
294 const vk::VkRect2D renderArea = vk::makeRect2D(WIDTH, HEIGHT);
305 uint32_t DrawTestsBaseClass::getDefaultViewMask (void) const
307 const bool multiview = (m_layers > 1u);
308 const uint32_t viewMask = (multiview ? ((1u << m_layers) - 1u) : 0u);