/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_barycentric/ |
D | vktFragmentShadingBarycentricTests.cpp | 361 TestParams m_testParams; member in vkt::FragmentShadingBarycentric::__anon31dbec620111::FragmentShadingBarycentricDataTestInstance 366 , m_testParams (testParams) in FragmentShadingBarycentricDataTestInstance() 379 switch (m_testParams.topology) in generateVertexBuffer() 383 verticesCount = m_testParams.width * m_testParams.height; in generateVertexBuffer() 387 for (size_t y = 0; y < m_testParams.height; y++) in generateVertexBuffer() 389 const float yy = -1.0f + 2.0f * ((0.5f + float(y)) / float(m_testParams.height)); in generateVertexBuffer() 391 for (size_t x = 0; x < m_testParams.width; x++) in generateVertexBuffer() 393 const float xx = -1.0f + 2.0f * ((0.5f + float(x)) / float(m_testParams.width)); in generateVertexBuffer() 404 verticesCount = 2 * m_testParams.height; in generateVertexBuffer() 408 for (size_t y = 0; y < m_testParams.height; y++) in generateVertexBuffer() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_shading_barycentric/ |
D | vktFragmentShadingBarycentricTests.cpp | 361 TestParams m_testParams; member in vkt::FragmentShadingBarycentric::__anon7dff9ae20111::FragmentShadingBarycentricDataTestInstance 366 , m_testParams (testParams) in FragmentShadingBarycentricDataTestInstance() 379 switch (m_testParams.topology) in generateVertexBuffer() 383 verticesCount = m_testParams.width * m_testParams.height; in generateVertexBuffer() 387 for (size_t y = 0; y < m_testParams.height; y++) in generateVertexBuffer() 389 const float yy = -1.0f + 2.0f * ((0.5f + float(y)) / float(m_testParams.height)); in generateVertexBuffer() 391 for (size_t x = 0; x < m_testParams.width; x++) in generateVertexBuffer() 393 const float xx = -1.0f + 2.0f * ((0.5f + float(x)) / float(m_testParams.width)); in generateVertexBuffer() 404 verticesCount = 2 * m_testParams.height; in generateVertexBuffer() 408 for (size_t y = 0; y < m_testParams.height; y++) in generateVertexBuffer() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/ |
D | vktConditionalDrawAndClearTests.cpp | 227 bool m_testParams; member 262 name += (updateBufferTestParams.m_testParams ? "discard_" : "no_discard_"); in generateUpdateBufferWithDrawTestName() 347 ClearTestParams m_testParams; member in vkt::conditional::__anon43c1c4010111::ConditionalRenderingClearAttachmentsTestInstance 361 DrawTestParams m_testParams; member in vkt::conditional::__anon43c1c4010111::ConditionalRenderingDrawTestInstance 381 UpdateBufferWithDrawTestParams m_testParams; member in vkt::conditional::__anon43c1c4010111::ConditionalRenderingUpdateBufferWithDrawTestInstance 837 , m_testParams (testParams) in ConditionalRenderingClearAttachmentsTestInstance() 851 if (m_testParams.m_useOffset) offsetMultiplier = 3; in iterate() 855 …createInitBufferWithPredicate(m_testParams.m_memoryType, m_testParams.m_discard, m_testParams.m_in… in iterate() 856 …m_testParams.m_testDepth ? createTargetDepthImageAndImageView() : createTargetColorImageAndImageVi… in iterate() 857 createResultBuffer(m_testParams.m_testDepth ? VK_FORMAT_D32_SFLOAT : VK_FORMAT_R8G8B8A8_UNORM); in iterate() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/ |
D | vktConditionalDrawAndClearTests.cpp | 227 bool m_testParams; member 262 name += (updateBufferTestParams.m_testParams ? "discard_" : "no_discard_"); in generateUpdateBufferWithDrawTestName() 347 ClearTestParams m_testParams; member in vkt::conditional::__anon0a4152810111::ConditionalRenderingClearAttachmentsTestInstance 361 DrawTestParams m_testParams; member in vkt::conditional::__anon0a4152810111::ConditionalRenderingDrawTestInstance 381 UpdateBufferWithDrawTestParams m_testParams; member in vkt::conditional::__anon0a4152810111::ConditionalRenderingUpdateBufferWithDrawTestInstance 837 , m_testParams (testParams) in ConditionalRenderingClearAttachmentsTestInstance() 851 if (m_testParams.m_useOffset) offsetMultiplier = 3; in iterate() 855 …createInitBufferWithPredicate(m_testParams.m_memoryType, m_testParams.m_discard, m_testParams.m_in… in iterate() 856 …m_testParams.m_testDepth ? createTargetDepthImageAndImageView() : createTargetColorImageAndImageVi… in iterate() 857 createResultBuffer(m_testParams.m_testDepth ? VK_FORMAT_D32_SFLOAT : VK_FORMAT_R8G8B8A8_UNORM); in iterate() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
D | vktRenderPassDitheringTests.cpp | 134 TestParams m_testParams; member in vkt::renderpass::__anonb1ad43200111::DitheringTest 157 TestParams m_testParams; member in vkt::renderpass::__anonb1ad43200111::DitheringTestInstance 191 , m_testParams (testParams) in DitheringTest() 229 if (m_testParams.renderingType == RENDERING_TYPE_RENDERPASS2) in checkSupport() 233 if (m_testParams.renderingType == RENDERING_TYPE_DYNAMIC_RENDERING) in checkSupport() 239 for (const VkFormat format : m_testParams.colorFormats) in checkSupport() 255 if (m_testParams.depthStencilFormat != VK_FORMAT_UNDEFINED) in checkSupport() 264 …const auto result = vki.getPhysicalDeviceImageFormatProperties(physDev, m_testParams.depthSten… in checkSupport() 273 return new DitheringTestInstance(context, m_testParams); in createInstance() 279 , m_testParams (testParams) in DitheringTestInstance() [all …]
|
D | vktRenderPassFragmentDensityMapTests.cpp | 384 const TestParams& m_testParams; member in vkt::renderpass::__anon89235df40111::RenderPassWrapper 395 , m_testParams (testParams) in RenderPassWrapper() 404 DE_ASSERT(m_testParams.dynamicDensityMap); in createRenderPassProduceDynamicDensityMap() 411 m_testParams.densityMapFormat, // VkFormat format in createRenderPassProduceDynamicDensityMap() 495 m_testParams.colorSamples, // VkSampleCountFlagBits samples in createRenderPassProduceSubsampledImage() 506 if (m_testParams.colorSamples != VK_SAMPLE_COUNT_1_BIT) in createRenderPassProduceSubsampledImage() 531 m_testParams.colorSamples, // VkSampleCountFlagBits samples in createRenderPassProduceSubsampledImage() 546 m_testParams.densityMapFormat, // VkFormat format in createRenderPassProduceSubsampledImage() 571 if (m_testParams.colorSamples != VK_SAMPLE_COUNT_1_BIT) in createRenderPassProduceSubsampledImage() 620 if (m_testParams.viewCount > 1) in createRenderPassProduceSubsampledImage() [all …]
|
D | vktRenderPassUnusedClearAttachmentTests.cpp | 202 const TestParams m_testParams; member in vkt::renderpass::__anon44526ea60111::UnusedClearAttachmentTestInstance 232 , m_testParams(testParams) in UnusedClearAttachmentTest() 239 const TestParams m_testParams; member in vkt::renderpass::__anon44526ea60111::UnusedClearAttachmentTest 263 if (m_testParams.groupParams->renderingType == RENDERING_TYPE_RENDERPASS2) in checkSupport() 267 if (m_testParams.groupParams->renderingType == RENDERING_TYPE_DYNAMIC_RENDERING) in checkSupport() 271 if (!m_testParams.colorUsed.empty()) in checkSupport() 274 if (hasDepthStencil(m_testParams.depthStencilType)) in checkSupport() 275 …checkFormatSupported(context, m_testParams.depthStencilFormat, VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACH… in checkSupport() 280 return new UnusedClearAttachmentTestInstance(context, m_testParams); in createInstance() 305 for (size_t i = 0; i < m_testParams.colorUsed.size(); ++i) in initPrograms() [all …]
|
D | vktRenderPassSubpassMergeFeedbackTests.cpp | 83 const TestParams m_testParams; member in vkt::renderpass::__anonf9b88a580111::SubpassMergeFeedbackTest 98 const TestParams m_testParams; member in vkt::renderpass::__anonf9b88a580111::SubpassMergeFeedbackTestInstance 106 , m_testParams (testParams) in SubpassMergeFeedbackTest() 116 return new SubpassMergeFeedbackTestInstance(context, m_testParams); in createInstance() 122 , m_testParams (testParams) in SubpassMergeFeedbackTestInstance() 149 for (deUint32 i = 0; i < m_testParams.subpassCount; ++i) in createRenderPassAndVerify() 179 if (i == 1 && m_testParams.disallowMergeSubPass1) in createRenderPassAndVerify() 199 for (deUint32 i = 0; i < m_testParams.subpassCount; ++i) in createRenderPassAndVerify() 209 for (deUint32 i = 0; i < m_testParams.subpassCount; ++i) in createRenderPassAndVerify() 228 for (deUint32 i = 1; i < m_testParams.subpassCount; ++i) in createRenderPassAndVerify() [all …]
|
D | vktRenderPassLoadStoreOpNoneTests.cpp | 368 const TestParams m_testParams; member in vkt::renderpass::__anon0198b9be0111::LoadStoreOpNoneTest 397 TestParams m_testParams; member in vkt::renderpass::__anon0198b9be0111::LoadStoreOpNoneTestInstance 420 , m_testParams(testParams) in LoadStoreOpNoneTest() 430 return new LoadStoreOpNoneTestInstance(context, m_testParams); in createInstance() 436 if (m_testParams.groupParams->renderingType == RENDERING_TYPE_RENDERPASS2) in checkSupport() 440 if (m_testParams.groupParams->renderingType == RENDERING_TYPE_DYNAMIC_RENDERING) in checkSupport() 446 for (const auto& att : m_testParams.attachments) in checkSupport() 450 const VkFormat format = getFormat(att.usage, m_testParams.depthStencilFormat); in checkSupport() 541 , m_testParams (testParams) in LoadStoreOpNoneTestInstance() 628 if (m_testParams.attachments[i].usage & ATTACHMENT_USAGE_MULTISAMPLE) in createCommandBuffer() [all …]
|
D | vktRenderPassUnusedAttachmentSparseFillingTests.cpp | 130 TestParams m_testParams; member in vkt::renderpass::__anone2fa7ff20111::InputAttachmentSparseFillingTest 152 TestParams m_testParams; member in vkt::renderpass::__anone2fa7ff20111::InputAttachmentSparseFillingTestInstance 188 : vkt::TestCase (testContext, name, description), m_testParams(testParams) in InputAttachmentSparseFillingTest() 218 …generateInputAttachmentParams(m_testParams.activeInputAttachmentCount, 2u * m_testParams.activeInp… in initPrograms() 242 return new InputAttachmentSparseFillingTestInstance(context, m_testParams); in createInstance() 247 if (m_testParams.renderingType == RENDERING_TYPE_RENDERPASS2) in checkSupport() 252 if( 2u * m_testParams.activeInputAttachmentCount > limits.maxPerStageDescriptorInputAttachments ) in checkSupport() 255 if ( 2u * m_testParams.activeInputAttachmentCount > limits.maxPerStageResources) in checkSupport() 263 , m_testParams (testParams) in InputAttachmentSparseFillingTestInstance() 304 for (deUint32 imageNdx = 0; imageNdx < m_testParams.activeInputAttachmentCount; ++imageNdx) in InputAttachmentSparseFillingTestInstance() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassDitheringTests.cpp | 134 TestParams m_testParams; member in vkt::renderpass::__anon1128e4a00111::DitheringTest 157 TestParams m_testParams; member in vkt::renderpass::__anon1128e4a00111::DitheringTestInstance 191 , m_testParams (testParams) in DitheringTest() 229 if (m_testParams.renderingType == RENDERING_TYPE_RENDERPASS2) in checkSupport() 233 if (m_testParams.renderingType == RENDERING_TYPE_DYNAMIC_RENDERING) in checkSupport() 239 for (const VkFormat format : m_testParams.colorFormats) in checkSupport() 255 if (m_testParams.depthStencilFormat != VK_FORMAT_UNDEFINED) in checkSupport() 264 …const auto result = vki.getPhysicalDeviceImageFormatProperties(physDev, m_testParams.depthSten… in checkSupport() 273 return new DitheringTestInstance(context, m_testParams); in createInstance() 279 , m_testParams (testParams) in DitheringTestInstance() [all …]
|
D | vktRenderPassFragmentDensityMapTests.cpp | 384 const TestParams& m_testParams; member in vkt::renderpass::__anon2d8caf740111::RenderPassWrapper 395 , m_testParams (testParams) in RenderPassWrapper() 404 DE_ASSERT(m_testParams.dynamicDensityMap); in createRenderPassProduceDynamicDensityMap() 411 m_testParams.densityMapFormat, // VkFormat format in createRenderPassProduceDynamicDensityMap() 495 m_testParams.colorSamples, // VkSampleCountFlagBits samples in createRenderPassProduceSubsampledImage() 506 if (m_testParams.colorSamples != VK_SAMPLE_COUNT_1_BIT) in createRenderPassProduceSubsampledImage() 531 m_testParams.colorSamples, // VkSampleCountFlagBits samples in createRenderPassProduceSubsampledImage() 546 m_testParams.densityMapFormat, // VkFormat format in createRenderPassProduceSubsampledImage() 571 if (m_testParams.colorSamples != VK_SAMPLE_COUNT_1_BIT) in createRenderPassProduceSubsampledImage() 620 if (m_testParams.viewCount > 1) in createRenderPassProduceSubsampledImage() [all …]
|
D | vktRenderPassUnusedClearAttachmentTests.cpp | 202 const TestParams m_testParams; member in vkt::renderpass::__anon28cc50260111::UnusedClearAttachmentTestInstance 232 , m_testParams(testParams) in UnusedClearAttachmentTest() 239 const TestParams m_testParams; member in vkt::renderpass::__anon28cc50260111::UnusedClearAttachmentTest 263 if (m_testParams.groupParams->renderingType == RENDERING_TYPE_RENDERPASS2) in checkSupport() 267 if (m_testParams.groupParams->renderingType == RENDERING_TYPE_DYNAMIC_RENDERING) in checkSupport() 271 if (!m_testParams.colorUsed.empty()) in checkSupport() 274 if (hasDepthStencil(m_testParams.depthStencilType)) in checkSupport() 275 …checkFormatSupported(context, m_testParams.depthStencilFormat, VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACH… in checkSupport() 280 return new UnusedClearAttachmentTestInstance(context, m_testParams); in createInstance() 305 for (size_t i = 0; i < m_testParams.colorUsed.size(); ++i) in initPrograms() [all …]
|
D | vktRenderPassSubpassMergeFeedbackTests.cpp | 83 const TestParams m_testParams; member in vkt::renderpass::__anon5dbc3bd80111::SubpassMergeFeedbackTest 98 const TestParams m_testParams; member in vkt::renderpass::__anon5dbc3bd80111::SubpassMergeFeedbackTestInstance 106 , m_testParams (testParams) in SubpassMergeFeedbackTest() 116 return new SubpassMergeFeedbackTestInstance(context, m_testParams); in createInstance() 122 , m_testParams (testParams) in SubpassMergeFeedbackTestInstance() 149 for (deUint32 i = 0; i < m_testParams.subpassCount; ++i) in createRenderPassAndVerify() 179 if (i == 1 && m_testParams.disallowMergeSubPass1) in createRenderPassAndVerify() 199 for (deUint32 i = 0; i < m_testParams.subpassCount; ++i) in createRenderPassAndVerify() 209 for (deUint32 i = 0; i < m_testParams.subpassCount; ++i) in createRenderPassAndVerify() 228 for (deUint32 i = 1; i < m_testParams.subpassCount; ++i) in createRenderPassAndVerify() [all …]
|
D | vktRenderPassLoadStoreOpNoneTests.cpp | 368 const TestParams m_testParams; member in vkt::renderpass::__anonaea77b3e0111::LoadStoreOpNoneTest 397 TestParams m_testParams; member in vkt::renderpass::__anonaea77b3e0111::LoadStoreOpNoneTestInstance 420 , m_testParams(testParams) in LoadStoreOpNoneTest() 430 return new LoadStoreOpNoneTestInstance(context, m_testParams); in createInstance() 436 if (m_testParams.groupParams->renderingType == RENDERING_TYPE_RENDERPASS2) in checkSupport() 440 if (m_testParams.groupParams->renderingType == RENDERING_TYPE_DYNAMIC_RENDERING) in checkSupport() 446 for (const auto& att : m_testParams.attachments) in checkSupport() 450 const VkFormat format = getFormat(att.usage, m_testParams.depthStencilFormat); in checkSupport() 541 , m_testParams (testParams) in LoadStoreOpNoneTestInstance() 628 if (m_testParams.attachments[i].usage & ATTACHMENT_USAGE_MULTISAMPLE) in createCommandBuffer() [all …]
|
D | vktRenderPassUnusedAttachmentSparseFillingTests.cpp | 130 TestParams m_testParams; member in vkt::renderpass::__anoncdfde1720111::InputAttachmentSparseFillingTest 152 TestParams m_testParams; member in vkt::renderpass::__anoncdfde1720111::InputAttachmentSparseFillingTestInstance 188 : vkt::TestCase (testContext, name, description), m_testParams(testParams) in InputAttachmentSparseFillingTest() 218 …generateInputAttachmentParams(m_testParams.activeInputAttachmentCount, 2u * m_testParams.activeInp… in initPrograms() 242 return new InputAttachmentSparseFillingTestInstance(context, m_testParams); in createInstance() 247 if (m_testParams.renderingType == RENDERING_TYPE_RENDERPASS2) in checkSupport() 252 if( 2u * m_testParams.activeInputAttachmentCount > limits.maxPerStageDescriptorInputAttachments ) in checkSupport() 255 if ( 2u * m_testParams.activeInputAttachmentCount > limits.maxPerStageResources) in checkSupport() 263 , m_testParams (testParams) in InputAttachmentSparseFillingTestInstance() 304 for (deUint32 imageNdx = 0; imageNdx < m_testParams.activeInputAttachmentCount; ++imageNdx) in InputAttachmentSparseFillingTestInstance() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/ |
D | vktDescriptorSetsIndexingTests.cpp | 413 const TestParams m_testParams; member in vkt::DescriptorIndexing::__anon93c6ef1c0111::CommonDescriptorInstance 540 , m_testParams (testParams) in CommonDescriptorInstance() 550 …const deUint32 vertexCount = m_testParams.frameResolution.width * m_testParams.frameResolution.hei… in computeAvailableDescriptorCount() 551 …Properties(m_context).computeMaxPerStageDescriptorCount(m_testParams.descriptorType, m_testParams.… in computeAvailableDescriptorCount() 558 …descriptorCount = computeAvailableDescriptorCount(m_testParams.descriptorType, reserveUniformTexel… in createDescriptorSetLayout() 560 …bool optional = (m_testParams.additionalDescriptorBinding != BINDING_Undefined) && (m_testParams.a… in createDescriptorSetLayout() 562 …const VkShaderStageFlags bindingStageFlags = (m_testParams.descriptorType == VK_DESCRIPTOR_TYPE_IN… in createDescriptorSetLayout() 563 VkShaderStageFlags{VK_SHADER_STAGE_FRAGMENT_BIT} : m_testParams.stageFlags; in createDescriptorSetLayout() 568 m_testParams.descriptorBinding, // binding in createDescriptorSetLayout() 569 m_testParams.descriptorType, // descriptorType in createDescriptorSetLayout() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/descriptor_indexing/ |
D | vktDescriptorSetsIndexingTests.cpp | 413 const TestParams m_testParams; member in vkt::DescriptorIndexing::__anonaf4d0d9c0111::CommonDescriptorInstance 540 , m_testParams (testParams) in CommonDescriptorInstance() 550 …const deUint32 vertexCount = m_testParams.frameResolution.width * m_testParams.frameResolution.hei… in computeAvailableDescriptorCount() 551 …Properties(m_context).computeMaxPerStageDescriptorCount(m_testParams.descriptorType, m_testParams.… in computeAvailableDescriptorCount() 558 …descriptorCount = computeAvailableDescriptorCount(m_testParams.descriptorType, reserveUniformTexel… in createDescriptorSetLayout() 560 …bool optional = (m_testParams.additionalDescriptorBinding != BINDING_Undefined) && (m_testParams.a… in createDescriptorSetLayout() 562 …const VkShaderStageFlags bindingStageFlags = (m_testParams.descriptorType == VK_DESCRIPTOR_TYPE_IN… in createDescriptorSetLayout() 563 VkShaderStageFlags{VK_SHADER_STAGE_FRAGMENT_BIT} : m_testParams.stageFlags; in createDescriptorSetLayout() 568 m_testParams.descriptorBinding, // binding in createDescriptorSetLayout() 569 m_testParams.descriptorType, // descriptorType in createDescriptorSetLayout() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcTextureCompatibilityTests.cpp | 136 TestParameters m_testParams; member in glcts::__anon0380201d0111::SubImageFormatTest 145 , m_testParams (testParams) in SubImageFormatTest() 215 tcu::TextureFormat refTexFormat (glu::mapGLInternalFormat(m_testParams.internalFormat)); in iterate() 223 tcu::TextureFormat refTexFormatSub = glu::mapGLInternalFormat(m_testParams.internalFormat); in iterate() 231 …gl.texImage2D(GL_TEXTURE_2D, 0, m_testParams.internalFormat, m_textureSize, m_textureSize, 0, refT… in iterate() 232 …OR(gl.getError(), ("gltexImage2D() failed" + glu::getTextureFormatStr(m_testParams.internalFormat)… in iterate() 237 …gl.getError(), ("gltexSubImage2D() failed" + glu::getTextureFormatStr(m_testParams.internalFormat)… in iterate() 243 …m_context.getTestContext().getLog() << tcu::TestLog::Message << m_testParams.testName.c_str() << "… in iterate() 250 …tcu::TextureFormat testTexFormatSub = glu::mapGLTransferFormat(m_testParams.format, m_testParams.t… in iterate() 258 …gl.texImage2D(GL_TEXTURE_2D, 0, m_testParams.internalFormat, m_textureSize, m_textureSize, 0, refT… in iterate() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/ |
D | vktBindingDescriptorUpdateASTests.cpp | 340 TestParams m_testParams; member in vkt::BindingModel::__anonb1ed36500111::BindingAcceleratioStructureTestInstance 361 , m_testParams (testParams) in BindingAcceleratioStructureTestInstance() 382 const bool templateUpdateMethod = isTemplateUpdateMethod(m_testParams.updateMethod); in iterate() 383 const bool pushUpdateMethod = isPushUpdateMethod(m_testParams.updateMethod); in iterate() 385 const deUint32 width = m_testParams.width; in iterate() 386 const deUint32 height = m_testParams.height; in iterate() 387 const deUint32 depth = m_testParams.depth; in iterate() 388 …const VkImageCreateInfo imageCreateInfo = makeImageCreateInfo(m_testParams.format, wi… in iterate() 391 …w = makeImageView(vkd, device, **image, VK_IMAGE_VIEW_TYPE_3D, m_testParams.format, imageSu… in iterate() 393 const deUint32 pixelSize = mapVkFormat(m_testParams.format).getPixelSize(); in iterate() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/ |
D | vktBindingDescriptorUpdateASTests.cpp | 340 TestParams m_testParams; member in vkt::BindingModel::__anon0d83e4d00111::BindingAcceleratioStructureTestInstance 361 , m_testParams (testParams) in BindingAcceleratioStructureTestInstance() 382 const bool templateUpdateMethod = isTemplateUpdateMethod(m_testParams.updateMethod); in iterate() 383 const bool pushUpdateMethod = isPushUpdateMethod(m_testParams.updateMethod); in iterate() 385 const deUint32 width = m_testParams.width; in iterate() 386 const deUint32 height = m_testParams.height; in iterate() 387 const deUint32 depth = m_testParams.depth; in iterate() 388 …const VkImageCreateInfo imageCreateInfo = makeImageCreateInfo(m_testParams.format, wi… in iterate() 391 …w = makeImageView(vkd, device, **image, VK_IMAGE_VIEW_TYPE_3D, m_testParams.format, imageSu… in iterate() 393 const deUint32 pixelSize = mapVkFormat(m_testParams.format).getPixelSize(); in iterate() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/ |
D | vktSynchronizationNoneStageTests.cpp | 193 const TestParams m_testParams; member in vkt::synchronization::__anon9987ce5c0111::NoneStageTestInstance 265 , m_testParams (testParams) in NoneStageTestInstance() 273 const auto writeLayout = m_testParams.writeLayout; 274 const auto writeAspect = m_testParams.writeAspect; 275 const auto readLayout = m_testParams.readLayout; 276 const auto readAspect = m_testParams.readAspect; 417 if (m_testParams.useGenericAccessFlags) in getAccessFlag() 806 …SynchronizationWrapperPtr synchronizationWrapper = getSynchronizationWrapper(m_testParams.type, vk… in iterate() 821 if (m_testParams.readLayout == VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL) in iterate() 899 *m_attachmentViews[m_usePipelineToWrite], m_testParams.readLayout); in iterate() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
D | vktSynchronizationNoneStageTests.cpp | 193 const TestParams m_testParams; member in vkt::synchronization::__anoncb1b4fdc0111::NoneStageTestInstance 265 , m_testParams (testParams) in NoneStageTestInstance() 273 const auto writeLayout = m_testParams.writeLayout; 274 const auto writeAspect = m_testParams.writeAspect; 275 const auto readLayout = m_testParams.readLayout; 276 const auto readAspect = m_testParams.readAspect; 417 if (m_testParams.useGenericAccessFlags) in getAccessFlag() 806 …SynchronizationWrapperPtr synchronizationWrapper = getSynchronizationWrapper(m_testParams.type, vk… in iterate() 821 if (m_testParams.readLayout == VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL) in iterate() 899 *m_attachmentViews[m_usePipelineToWrite], m_testParams.readLayout); in iterate() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/ |
D | vktMemoryExternalMemoryHostTests.cpp | 134 TestParams m_testParams; member in vkt::memory::__anon185939800111::ExternalMemoryHostRenderImageTestInstance 312 , m_testParams (testParams) in ExternalMemoryHostRenderImageTestInstance() 335 verifyFormatProperties(m_testParams.m_format, tiling, usageFlags); in iterate() 338 …m_vki.getPhysicalDeviceFormatProperties(m_physicalDevice, m_testParams.m_format, &formatProperties… in iterate() 343 m_image = createImage(m_testParams.m_format, tiling, usageFlags); in iterate() 348 …const VkDeviceSize requiredSize = imageMemoryRequirements.size + (m_testParams.m_useOffset ? image… in iterate() 368 …eMemory(m_device, *m_image, *m_deviceMemoryAllocatedFromHostPointer, (m_testParams.m_useOffset ? i… in iterate() 408 …tcu::ConstPixelBufferAccess result(mapVkFormat(m_testParams.m_format), tcu::IVec3(100,100,1), m… in iterate() 411 …tcu::PixelBufferAccess reference(mapVkFormat(m_testParams.m_format), tcu::IVec3(100, 100, 1), … in iterate() 478 m_testParams.m_format, // VkFormat format in createImageView() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryExternalMemoryHostTests.cpp | 134 TestParams m_testParams; member in vkt::memory::__anon67490b000111::ExternalMemoryHostRenderImageTestInstance 312 , m_testParams (testParams) in ExternalMemoryHostRenderImageTestInstance() 335 verifyFormatProperties(m_testParams.m_format, tiling, usageFlags); in iterate() 338 …m_vki.getPhysicalDeviceFormatProperties(m_physicalDevice, m_testParams.m_format, &formatProperties… in iterate() 343 m_image = createImage(m_testParams.m_format, tiling, usageFlags); in iterate() 348 …const VkDeviceSize requiredSize = imageMemoryRequirements.size + (m_testParams.m_useOffset ? image… in iterate() 368 …eMemory(m_device, *m_image, *m_deviceMemoryAllocatedFromHostPointer, (m_testParams.m_useOffset ? i… in iterate() 408 …tcu::ConstPixelBufferAccess result(mapVkFormat(m_testParams.m_format), tcu::IVec3(100,100,1), m… in iterate() 411 …tcu::PixelBufferAccess reference(mapVkFormat(m_testParams.m_format), tcu::IVec3(100, 100, 1), … in iterate() 478 m_testParams.m_format, // VkFormat format in createImageView() [all …]
|