Home
last modified time | relevance | path

Searched refs:extent (Results 176 - 200 of 438) sorted by relevance

12345678910>>...18

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DCopyTexImageTest.cpp152 GLint extent = kFboSizes[0] - offset; in runCopyTexSubImageTest() local
155 extent, extent); in runCopyTexSubImageTest()
169 extent = kFboSizes[0] - offset; in runCopyTexSubImageTest()
176 glCopyTexSubImage2D(GL_TEXTURE_2D, 0, offset, offset, srcOffset, srcOffset, extent, extent); in runCopyTexSubImageTest()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineMultisampleInterpolationTests.cpp67 for (deUint32 z = 0u; z < imageRSInfo.extent.depth; ++z) in checkForError()
68 for (deUint32 y = 0u; y < imageRSInfo.extent.height; ++y) in checkForError()
69 for (deUint32 x = 0u; x < imageRSInfo.extent.width; ++x) in checkForError()
176 for (deUint32 z = 0u; z < imageRSInfo.extent.depth; ++z) in verifyImageData()
177 for (deUint32 y = 0u; y < imageRSInfo.extent.height; ++y) in verifyImageData()
178 for (deUint32 x = 0u; x < imageRSInfo.extent.width; ++x) in verifyImageData()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
H A DvktDynamicStateRSTests.cpp974 const auto extent = vk::makeExtent3D(8u, 8u, 1u); in iterate() local
997 extent, // VkExtent3D extent; in iterate()
1018 extent, // VkExtent3D extent; in iterate()
1040 renderPass.createFramebuffer(vkd, device, static_cast<deUint32>(attachments.size()), de::dataOrNull(images), de::dataOrNull(attachments), extent.width, extent.height); in iterate()
1059 const std::vector<vk::VkViewport> viewports { vk::makeViewport(extent) }; in iterate()
1060 const std::vector<vk::VkRect2D> scissors { vk::makeRect2D(extent) }; in iterate()
1185 const auto iWidth = static_cast<int>(extent in iterate()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineSamplerBorderSwizzleTests.cpp816 const auto extent = getImageExtent(); in iterate() local
833 extent, // VkExtent3D extent; in iterate()
870 extent, // VkExtent3D extent; in iterate()
1004 const std::vector<VkViewport> viewport { makeViewport(extent) }; in iterate()
1005 const std::vector<VkRect2D> scissor { makeRect2D(extent) }; in iterate()
1047 renderPass.createFramebuffer(vkd, device, colorAttachment.get(), colorAttachmentView.get(), extent.width, extent.height); in iterate()
1097 const auto renderSize = tcu::UVec2(extent in iterate()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/
H A DvktDynamicStateRSTests.cpp943 const auto extent = vk::makeExtent3D(8u, 8u, 1u); in iterate() local
966 extent, // VkExtent3D extent; in iterate()
987 extent, // VkExtent3D extent; in iterate()
1008 const auto framebuffer = vk::makeFramebuffer(vkd, device, renderPass.get(), static_cast<deUint32>(attachments.size()), de::dataOrNull(attachments), extent.width, extent.height); in iterate()
1027 const std::vector<vk::VkViewport> viewports { vk::makeViewport(extent) }; in iterate()
1028 const std::vector<vk::VkRect2D> scissors { vk::makeRect2D(extent) }; in iterate()
1142 const auto iWidth = static_cast<int>(extent in iterate()
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DCommandBufferVk.cpp122 region.extent.width = imageExtent.width; in ComputeImageCopyRegion()
123 region.extent.height = imageExtent.height; in ComputeImageCopyRegion()
124 region.extent.depth = has3DTextureInCopy ? copySize.depthOrArrayLayers : 1; in ComputeImageCopyRegion()
334 beginInfo.renderArea.extent.width = renderPass->width; in RecordBeginRenderPass()
335 beginInfo.renderArea.extent.height = renderPass->height; in RecordBeginRenderPass()
673 // the image subresource, when the extent that fits in the copy region of one in RecordCommands()
675 // to find a valid extent to satisfy the requirements on both source and in RecordCommands()
679 // the extent of vkCmdCopyImage. in RecordCommands()
1065 scissorRect.extent.width = renderPassCmd->width; in RecordRenderPass()
1066 scissorRect.extent in RecordRenderPass()
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/
H A DDawnTest.cpp1092 wgpu::Extent3D extent,
1098 bytesPerRow = Align(extent.width * dataSize, kTextureBytesPerRowAlignment);
1100 ASSERT(bytesPerRow >= extent.width * dataSize);
1104 uint32_t rowsPerImage = extent.height;
1105 uint32_t size = utils::RequiredBytesInCopy(bytesPerRow, rowsPerImage, extent.width,
1106 extent.height, extent.depthOrArrayLayers, dataSize);
1118 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &extent);
1129 deferred.rowBytes = extent.width * dataSize;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageCompressionTranscodingSupport.cpp651 const UVec3 size = UVec3(imageData[resultImageNdx].getImageInfo(imageNdx).extent.width, in iterate()
652 imageData[resultImageNdx].getImageInfo(imageNdx).extent.height, in iterate()
653 imageData[resultImageNdx].getImageInfo(imageNdx).extent.depth); in iterate()
730 imageData.getImageInfo(imageNdx).extent; in copyDataToImage()
849 vk.cmdDispatch(cmdBuffer, imageData[1].getImageInfo(ndx).extent.width, in executeShader()
850 imageData[1].getImageInfo(ndx).extent.height, in executeShader()
851 imageData[1].getImageInfo(ndx).extent.depth); in executeShader()
971 extentCompressed, // VkExtent3D extent; in createImageInfos()
1014 extentUncompressed, // VkExtent3D extent; in createImageInfos()
1054 const VkExtent3D extentUncompressed = imageData[m_parameters.imagesCount -1].getImageInfo(imageNdx).extent; in decompressImage()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageCompressionTranscodingSupport.cpp649 const UVec3 size = UVec3(imageData[resultImageNdx].getImageInfo(imageNdx).extent.width, in iterate()
650 imageData[resultImageNdx].getImageInfo(imageNdx).extent.height, in iterate()
651 imageData[resultImageNdx].getImageInfo(imageNdx).extent.depth); in iterate()
719 imageData.getImageInfo(imageNdx).extent; in copyDataToImage()
838 vk.cmdDispatch(cmdBuffer, imageData[1].getImageInfo(ndx).extent.width, in executeShader()
839 imageData[1].getImageInfo(ndx).extent.height, in executeShader()
840 imageData[1].getImageInfo(ndx).extent.depth); in executeShader()
960 extentCompressed, // VkExtent3D extent; in createImageInfos()
1003 extentUncompressed, // VkExtent3D extent; in createImageInfos()
1043 const VkExtent3D extentUncompressed = imageData[m_parameters.imagesCount -1].getImageInfo(imageNdx).extent; in decompressImage()
[all...]
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_image.c457 uint32_t width0 = pCreateInfo->extent.width; in tu_image_init()
458 uint32_t height0 = pCreateInfo->extent.height; in tu_image_init()
483 pCreateInfo->extent.depth != 1) in tu_image_init()
497 pCreateInfo->extent.depth, in tu_image_init()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/
H A DvktFragmentOperationsOcclusionQueryTests.cpp72 makeExtent3D(size.x(), size.y(), 1), // VkExtent3D extent; in makeImageCreateInfo()
160 const VkExtent2D& extent, in commandClearDepthAttachment()
172 { offset, extent }, // VkRect2D rect; in commandClearDepthAttachment()
183 const VkExtent2D& extent, in commandClearStencilAttachment()
195 { offset, extent }, // VkRect2D rect; in commandClearStencilAttachment()
157 commandClearDepthAttachment(const DeviceInterface& vk, const VkCommandBuffer commandBuffer, const VkOffset2D& offset, const VkExtent2D& extent, const deUint32 clearValue) commandClearDepthAttachment() argument
180 commandClearStencilAttachment(const DeviceInterface& vk, const VkCommandBuffer commandBuffer, const VkOffset2D& offset, const VkExtent2D& extent, const deUint32 clearValue) commandClearStencilAttachment() argument
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
H A DvktDynamicRenderingRandomTests.cpp157 m_parameters.renderSize.y(), 1), // VkExtent3D extent in DynamicRenderingTestInstance()
614 const float scaleX = static_cast<float>(renderArea.extent.width - quadShrink * 4) / static_cast<float>(m_parameters.renderSize.x()); in iterate()
615 const float scaleY = static_cast<float>(renderArea.extent.height - quadShrink * 4) / static_cast<float>(m_parameters.renderSize.y()); in iterate()
623 const float offsetX = static_cast<float>(renderArea.offset.x - static_cast<int>(m_parameters.renderSize.x() - renderArea.extent.width) / 2) * pixelSizeX; in iterate()
624 const float offsetY = static_cast<float>(renderArea.offset.y - static_cast<int>(m_parameters.renderSize.y() - renderArea.extent.height) / 2) * pixelSizeY; in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmCrossStageInterfaceTests.cpp85 VkImageCreateInfo makeImageCreateInfo (const VkImageType imageType, const VkExtent3D& extent, const VkFormat format, const VkImageUsageFlags usage, deUint32 queueFamilyIndex) in makeImageCreateInfo() argument
94 {extent.width, extent.height, 1u}, // VkExtent3D extent; in makeImageCreateInfo()
96 extent.depth, // uint32_t arrayLayers; in makeImageCreateInfo()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/
H A DvktFragmentOperationsOcclusionQueryTests.cpp72 makeExtent3D(size.x(), size.y(), 1), // VkExtent3D extent; in makeImageCreateInfo()
160 const VkExtent2D& extent, in commandClearDepthAttachment()
172 { offset, extent }, // VkRect2D rect; in commandClearDepthAttachment()
183 const VkExtent2D& extent, in commandClearStencilAttachment()
195 { offset, extent }, // VkRect2D rect; in commandClearStencilAttachment()
157 commandClearDepthAttachment(const DeviceInterface& vk, const VkCommandBuffer commandBuffer, const VkOffset2D& offset, const VkExtent2D& extent, const deUint32 clearValue) commandClearDepthAttachment() argument
180 commandClearStencilAttachment(const DeviceInterface& vk, const VkCommandBuffer commandBuffer, const VkOffset2D& offset, const VkExtent2D& extent, const deUint32 clearValue) commandClearStencilAttachment() argument
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DTextureFormatTests.cpp238 wgpu::Extent3D extent{width, 1, 1}; in DoSampleTest()
239 encoder.CopyBufferToTexture(&bufferView, &textureView, &extent); in DoSampleTest()
253 wgpu::Extent3D extent{width, 1, 1}; in DoSampleTest()
254 encoder.CopyTextureToBuffer(&textureView, &bufferView, &extent); in DoSampleTest()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktDynamicRenderingRandomTests.cpp157 m_parameters.renderSize.y(), 1), // VkExtent3D extent in DynamicRenderingTestInstance()
614 const float scaleX = static_cast<float>(renderArea.extent.width - quadShrink * 4) / static_cast<float>(m_parameters.renderSize.x()); in iterate()
615 const float scaleY = static_cast<float>(renderArea.extent.height - quadShrink * 4) / static_cast<float>(m_parameters.renderSize.y()); in iterate()
623 const float offsetX = static_cast<float>(renderArea.offset.x - static_cast<int>(m_parameters.renderSize.x() - renderArea.extent.width) / 2) * pixelSizeX; in iterate()
624 const float offsetY = static_cast<float>(renderArea.offset.y - static_cast<int>(m_parameters.renderSize.y() - renderArea.extent.height) / 2) * pixelSizeY; in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmCrossStageInterfaceTests.cpp85 VkImageCreateInfo makeImageCreateInfo (const VkImageType imageType, const VkExtent3D& extent, const VkFormat format, const VkImageUsageFlags usage, deUint32 queueFamilyIndex) in makeImageCreateInfo() argument
94 {extent.width, extent.height, 1u}, // VkExtent3D extent; in makeImageCreateInfo()
96 extent.depth, // uint32_t arrayLayers; in makeImageCreateInfo()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
H A DvktYCbCrStorageImageWriteTests.cpp274 const deUint32 planeW = imageCreateInfo.extent.width / (formatDescription.blockWidth * formatDescription.planes[planeNdx].widthDivisor);
352 VkExtent3D compatibleImageSize { imageCreateInfo.extent.width / formatDescription.blockWidth, imageCreateInfo.extent.height / formatDescription.blockHeight, imageCreateInfo.extent.depth / 1u };
/third_party/mesa3d/src/imagination/vulkan/
H A Dpvr_cmd_buffer.c769 surface_params.depth = iview->vk.extent.depth; in pvr_setup_pbe_state()
770 surface_params.width = iview->vk.extent.width; in pvr_setup_pbe_state()
771 surface_params.height = iview->vk.extent.height; in pvr_setup_pbe_state()
815 render_area->offset.x + render_area->extent.width) - in pvr_setup_pbe_state()
819 render_area->offset.y + render_area->extent.height) - in pvr_setup_pbe_state()
991 job->depth_height = iview->vk.extent.height; in pvr_sub_cmd_gfx_job_init()
2260 width = iview->vk.extent.width; in pvr_perform_start_of_render_attachment_clear()
2261 height = iview->vk.extent.height; in pvr_perform_start_of_render_attachment_clear()
2271 info->render_area.extent.width == width && in pvr_perform_start_of_render_attachment_clear()
2272 info->render_area.extent in pvr_perform_start_of_render_attachment_clear()
[all...]
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_cmd_buffer.c911 .extent = src_iview->vk.image->extent, in cmd_buffer_subpass_handle_pending_resolves()
977 cmd_buffer->state.render_area.extent.width = in cmd_buffer_begin_render_pass_secondary()
979 cmd_buffer->state.render_area.extent.height = in cmd_buffer_begin_render_pass_secondary()
1264 uint32_t max_render_x = min_render_x + state->render_area.extent.width - 1; in v3dv_CmdBeginRenderPass2()
1265 uint32_t max_render_y = min_render_y + state->render_area.extent.height - 1; in v3dv_CmdBeginRenderPass2()
1268 uint32_t max_clip_x = min_clip_x + state->clip_window.extent.width - 1; in v3dv_CmdBeginRenderPass2()
1269 uint32_t max_clip_y = min_clip_y + state->clip_window.extent.height - 1; in v3dv_CmdBeginRenderPass2()
2027 cmd_buffer->state.render_area.extent.width); in emit_scissor()
2029 cmd_buffer->state.render_area.extent in emit_scissor()
[all...]
H A Dv3dv_uniforms.c392 return image_view->vk.extent.width; in get_texture_size_from_image_view()
395 return image_view->vk.extent.height; in get_texture_size_from_image_view()
398 return image_view->vk.extent.depth; in get_texture_size_from_image_view()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate/
H A DvktFragmentShadingRateBasic.cpp962 // Map an extent to a mask of all modes smaller than or equal to it in either dimension
1036 VkExtent2D extent = ShadingRateEnumToExtent(rate); in SanitizeRate() local
1038 extent = SanitizeExtent(extent); in SanitizeRate()
1040 return ShadingRateExtentToEnum(extent); in SanitizeRate()
1050 VkExtent2D extent; in PrimIDToPrimitiveShadingRate()
1051 extent.width = 1 << (primID % 3); in PrimIDToPrimitiveShadingRate()
1052 extent.height = 1 << ((primID/3) % 3); in PrimIDToPrimitiveShadingRate()
1054 cachedRate = ShadingRateExtentToEnum(extent); in PrimIDToPrimitiveShadingRate()
1066 VkExtent2D extent; in PrimIDToPipelineShadingRate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_shading_rate/
H A DvktFragmentShadingRateBasic.cpp843 // Map an extent to a mask of all modes smaller than or equal to it in either dimension
901 VkExtent2D extent = ShadingRateEnumToExtent(rate); in SanitizeRate() local
903 extent = SanitizeExtent(extent); in SanitizeRate()
905 return ShadingRateExtentToEnum(extent); in SanitizeRate()
915 VkExtent2D extent; in PrimIDToPrimitiveShadingRate()
916 extent.width = 1 << (primID % 3); in PrimIDToPrimitiveShadingRate()
917 extent.height = 1 << ((primID/3) % 3); in PrimIDToPrimitiveShadingRate()
919 cachedRate = ShadingRateExtentToEnum(extent); in PrimIDToPrimitiveShadingRate()
931 VkExtent2D extent; in PrimIDToPipelineShadingRate() local
[all...]
/third_party/mesa3d/src/mapi/glapi/gen/
H A DglX_proto_send.py112 if p.extent == None:
113 p.extent = "extent"
545 [dim, width, height, depth, extent] = param.get_dimensions()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
H A DvktSparseResourcesShaderIntrinsicsSampled.cpp563 if (imageSparseInfo.extent.width > deviceProperties.limits.maxFramebufferWidth || in checkSupport()
564 imageSparseInfo.extent.height > deviceProperties.limits.maxFramebufferHeight || in checkSupport()
829 const VkExtent3D mipLevelSize = mipLevelExtents(imageSparseInfo.extent, mipLevelNdx); in recordCommands()

Completed in 66 milliseconds

12345678910>>...18