Home
last modified time | relevance | path

Searched refs:vkExtent (Results 1 - 11 of 11) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/query_pool/
H A DvktQueryPoolFragInvocationTests.cpp124 const auto vkExtent = makeExtent3D(fbExtent); in testInvocations() local
132 ImageWithBuffer colorBuffer (ctx.vkd, ctx.device, ctx.allocator, vkExtent, colorFormat, colorUsage, imageType, colorSRR); in testInvocations()
140 const auto framebuffer = makeFramebuffer(ctx.vkd, ctx.device, renderPass.get(), colorBuffer.getImageView(), vkExtent.width, vkExtent.height); in testInvocations()
158 const std::vector<VkViewport> viewports (1u, makeViewport(vkExtent)); in testInvocations()
225 const auto copyRegion = makeBufferImageCopy(vkExtent, colorSRL); in testInvocations()
240 const auto expectedResult = vkExtent.width * vkExtent.height * vkExtent.depth; in testInvocations()
248 msg << "Framebuffer size: " << vkExtent in testInvocations()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate/
H A DvktFragmentShadingRateMiscTests.cpp213 auto vkExtent = getDefaultExtent(); in testEnableDisable() local
215 de::clamp(vkExtent.width, minSize.width, maxSize.width); in testEnableDisable()
216 de::clamp(vkExtent.height, minSize.height, maxSize.height); in testEnableDisable()
218 const tcu::IVec3 fbExtent (static_cast<int>(vkExtent.width), static_cast<int>(vkExtent.height), static_cast<int>(vkExtent.depth)); in testEnableDisable()
220 vk::ImageWithBuffer colorBuffer (ctx.vkd, ctx.device, ctx.allocator, vkExtent, colorFormat, colorUsage, VK_IMAGE_TYPE_2D); in testEnableDisable()
303 makeExtent2D(vkExtent.width, vkExtent.height), // VkExtent2D shadingRateAttachmentTexelSize; in testEnableDisable()
344 vkExtent in testEnableDisable()
517 const auto vkExtent = makeExtent3D(8u, 1u, 1u); testNoFrag() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineExtendedDynamicStateMiscTests.cpp137 const auto vkExtent = makeExtent3D(fbExtent); in sampleShadingWithDynamicSampleCount() local
152 ImageWithBuffer colorBuffer (ctx.vkd, ctx.device, ctx.allocator, vkExtent, colorFormat, colorUsage, VK_IMAGE_TYPE_2D, colorSRR, 1u, kMultiSampleCount); in sampleShadingWithDynamicSampleCount()
153 ImageWithBuffer resolveBuffer (ctx.vkd, ctx.device, ctx.allocator, vkExtent, colorFormat, colorUsage, VK_IMAGE_TYPE_2D, colorSRR, 1u, kSingleSampleCount); in sampleShadingWithDynamicSampleCount()
246 renderPass.createFramebuffer(ctx.vkd, ctx.device, de::sizeU32(imageViews), de::dataOrNull(images), de::dataOrNull(imageViews), vkExtent.width, vkExtent.height); in sampleShadingWithDynamicSampleCount()
292 const float heightF = static_cast<float>(vkExtent.height); in sampleShadingWithDynamicSampleCount()
293 const std::vector<VkRect2D> dynamicScissors { makeRect2D(0, 0, halfWidthU, vkExtent.height), makeRect2D(halfWidth, 0, halfWidthU, vkExtent.height) }; in sampleShadingWithDynamicSampleCount()
413 const uint32_t minInvs = (vkExtent.width * vkExtent in sampleShadingWithDynamicSampleCount()
[all...]
H A DvktPipelineInputAttributeOffsetTests.cpp346 const auto vkExtent = makeExtent3D(fbExtent); in iterate() local
347 const auto vertices = generateVertices(vkExtent.width, vkExtent.height); in iterate()
372 ImageWithBuffer colorBuffer(ctx.vkd, ctx.device, ctx.allocator, vkExtent, colorFormat, colorUsage, VK_IMAGE_TYPE_2D); in iterate()
376 renderPass.createFramebuffer(ctx.vkd, ctx.device, colorBuffer.getImage(), colorBuffer.getImageView(), vkExtent.width, vkExtent.height); in iterate()
412 const std::vector<VkViewport> viewports (1u, makeViewport(vkExtent)); in iterate()
413 const std::vector<VkRect2D> scissors (1u, makeRect2D(vkExtent)); in iterate()
H A DvktPipelineSamplerTests.cpp2014 const auto vkExtent = makeExtent3D(fbExtent); in iterate() local
2074 ImageWithBuffer colorBuffer (ctx.vkd, ctx.device, ctx.allocator, vkExtent, vkFormat, fbUsage, imageType); in iterate()
2122 renderPass.createFramebuffer(ctx.vkd, ctx.device, colorBuffer.getImage(), colorBuffer.getImageView(), vkExtent.width, vkExtent.height); in iterate()
2125 const std::vector<float> pcValues { maxLodBias, static_cast<float>(vkExtent.width), static_cast<float>(vkExtent.height) }; in iterate()
2151 const std::vector<VkViewport> viewports (1u, makeViewport(vkExtent)); in iterate()
2152 const std::vector<VkRect2D> scissors (1u, makeRect2D(vkExtent)); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/
H A DvktRasterizationDepthBiasControlTests.cpp348 const auto vkExtent = makeExtent3D(fbExtent); in iterate() local
363 const auto colorCreateInfo = getImageCreateInfo(colorFormat, vkExtent, colorUsage); in iterate()
364 const auto depthCreateInfo = getImageCreateInfo(depthFormat, vkExtent, depthUsage); in iterate()
367 ImageWithBuffer colorBuffer(ctx.vkd, ctx.device, ctx.allocator, vkExtent, colorFormat, colorUsage, colorCreateInfo.imageType, colorSRR, in iterate()
371 ImageWithBuffer depthBuffer(ctx.vkd, ctx.device, ctx.allocator, vkExtent, depthFormat, depthUsage, depthCreateInfo.imageType, depthSRR, in iterate()
422 vkExtent.width, vkExtent.height); in iterate()
594 const auto depthRegion = makeBufferImageCopy(vkExtent, depthSRL); in iterate()
595 const auto colorRegion = makeBufferImageCopy(vkExtent, colorSRL); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationMiscDrawTests.cpp776 const auto vkExtent = makeExtent3D(fbExtent); in iterate() local
784 ImageWithBuffer referenceBuffer (ctx.vkd, ctx.device, ctx.allocator, vkExtent, colorFormat, colorUsage, imageType, colorSRR); in iterate()
785 ImageWithBuffer resultBuffer (ctx.vkd, ctx.device, ctx.allocator, vkExtent, colorFormat, colorUsage, imageType, colorSRR); in iterate()
817 const auto framebuffer0 = makeFramebuffer(ctx.vkd, ctx.device, *renderPass, referenceBuffer.getImageView(), vkExtent.width, vkExtent.height); in iterate()
818 const auto framebuffer1 = makeFramebuffer(ctx.vkd, ctx.device, *renderPass, resultBuffer.getImageView(), vkExtent.width, vkExtent.height); in iterate()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A Dvk_utils.cpp1453 void GetExtent(const gl::Extents &glExtent, VkExtent3D *vkExtent) in GetExtent() argument
1455 vkExtent->width = glExtent.width; in GetExtent()
1456 vkExtent->height = glExtent.height; in GetExtent()
1457 vkExtent->depth = glExtent.depth; in GetExtent()
H A DTextureVk.cpp2966 VkExtent3D vkExtent; in initImage() local
2968 gl_vk::GetExtentsAndLayerCount(mState.getType(), firstLevelExtents, &vkExtent, &layerCount); in initImage()
2977 contextVk, mState.getType(), vkExtent, intendedImageFormatID, actualImageFormatID, samples, in initImage()
H A Dvk_utils.h1043 void GetExtent(const gl::Extents &glExtent, VkExtent3D *vkExtent);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
H A DvktTransformFeedbackSimpleTests.cpp2062 const auto vkExtent = makeExtent3D(fbExtent);
2063 const std::vector<VkViewport> viewports (1u, makeViewport(vkExtent));
2064 const std::vector<VkRect2D> scissors (1u, makeRect2D(vkExtent));
2070 ImageWithBuffer colorBuffer (vk, device, allocator, vkExtent, colorFormat, colorUsage, VK_IMAGE_TYPE_2D);
2084 const Unique<VkFramebuffer> framebuffer (makeFramebuffer (vk, device, *renderPass, colorBuffer.getImageView(), vkExtent.width, vkExtent.height));
2086 const Unique<VkPipeline> pipeline (makeGraphicsPipeline (vk, device, *pipelineLayout, *renderPass, *vertexModule, DE_NULL, DE_NULL, DE_NULL, *fragModule, makeExtent2D(vkExtent.width, vkExtent.height), 0u));
2154 static_cast<float>(vkExtent.width),
2183 static_cast<float>(vkExtent
3019 const auto vkExtent = makeExtent3D(fbExtent); iterate() local
[all...]

Completed in 28 milliseconds