Lines Matching defs:width

53 deUint32 getNextWidth (const deUint32 width)
55 if (width < 128)
58 return width + 1;
63 return width * 2;
736 explicit Image (Context& context, deUint32 width, deUint32 height, VkFormat format, VkImageUsageFlags usage = VK_IMAGE_USAGE_STORAGE_BIT)
750 {width, height, 1}, // VkExtent3D extent;
2805 for (deUint32 width = 1u; width < maxWidth; width = getNextWidth(width))
2827 vk.cmdDraw(*cmdBuffer, 2 * width, 1, 0, 0);
2844 if (!checkResult(internalData, datas, width/2u, subgroupSize))
2862 bool vkt::subgroups::check (std::vector<const void*> datas, deUint32 width, deUint32 ref)
2866 for (deUint32 n = 0; n < width; ++n)
3037 for (deUint32 width = 1u; width < maxWidth; width = getNextWidth(width))
3065 vk.cmdDraw(*cmdBuffer, width, 1u, 0u, 0u);
3083 if (!checkResult(internalData, datas, width, subgroupSize))
3346 for (deUint32 width = 1u; width < maxWidth; width = getNextWidth(width))
3374 vk.cmdDraw(*cmdBuffer, width, 1, 0, 0);
3378 copyImageToBuffer(vk, *cmdBuffer, resultImage.getImage(), imageBufferResult.getBuffer(), tcu::IVec2(width, 1), VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL);
3412 const deUint32 usedWidth = ((stagesVector[ndx] == VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT) ? width * 2 : width);
3438 if (!checkResult(internalData, datas, width, subgroupSize, false))
3619 for (deUint32 width = 1u; width < maxWidth; width = getNextWidth(width))
3647 vk.cmdDraw(*cmdBuffer, width, 1u, 0u, 0u);
3665 if (!checkResult(internalData, datas, width, subgroupSize))
3809 for (deUint32 width = 8; width <= subgroupSize; width *= 2)
3824 const VkDeviceSize resultImageSizeInBytes = width * height * formatSize;
3825 Image resultImage (context, width, height, format, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT);
3827 const Unique<VkFramebuffer> framebuffer (makeFramebuffer(vk, device, *renderPass, resultImage.getImageView(), width, height));
3828 VkViewport viewport = makeViewport(width, height);
3829 VkRect2D scissor = {{0, 0}, {width, height}};
3837 beginRenderPass(vk, *cmdBuffer, *renderPass, *framebuffer, makeRect2D(0, 0, width, height), tcu::Vec4(0.0f));
3848 copyImageToBuffer(vk, *cmdBuffer, resultImage.getImage(), resultBuffer.getBuffer(), tcu::IVec2(width, height), VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL);
3863 if (!checkResult(internalData, datas, width, height, subgroupSize))
4176 framebuffer = makeFramebuffer(vk, device, renderPass.get(), 0u, nullptr, renderArea.extent.width, renderArea.extent.height);
5043 for (deUint32 width = 1u; width < maxWidth; width = getNextWidth(width))
5072 width, 1, 1);
5110 if (!checkResult(internalData, datas, width, subgroupSize, false))