Home
last modified time | relevance | path

Searched refs:clearValues (Results 1 – 25 of 42) sorted by relevance

12

/external/deqp/external/vulkancts/framework/vulkan/
DvkCmdUtil.cpp55 const VkClearValue* clearValues, in beginRenderPass() argument
67 clearValues, // const VkClearValue* pClearValues; in beginRenderPass()
122 const VkClearValue clearValues[] = in beginRenderPass() local
128 …Buffer, renderPass, framebuffer, renderArea, DE_LENGTH_OF_ARRAY(clearValues), clearValues, content… in beginRenderPass()
175 const VkClearValue clearValues[] = in beginRenderPass() local
188 DE_LENGTH_OF_ARRAY(clearValues), // deUint32 clearValueCount; in beginRenderPass()
189 clearValues, // const VkClearValue* pClearValues; in beginRenderPass()
DvkCmdUtil.hpp45 const VkClearValue* clearValues,
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleBaseResolve.cpp335 std::vector<VkClearValue> clearValues; in iterate() local
336 clearValues.push_back(makeClearValueColor(tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f))); in iterate()
337 clearValues.push_back(makeClearValueColor(tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f))); in iterate()
339 …ageMSInfo.extent.width, imageMSInfo.extent.height), (deUint32)clearValues.size(), &clearValues[0]); in iterate()
DvktPipelinePushDescriptorTests.cpp1199 VkClearValue clearValues[2]; in init() local
1200 clearValues[0].color.float32[0] = 0.0f; in init()
1201 clearValues[0].color.float32[1] = 1.0f; in init()
1202 clearValues[0].color.float32[2] = 0.0f; in init()
1203 clearValues[0].color.float32[3] = 1.0f; in init()
1204 clearValues[1].color.float32[0] = 1.0f; in init()
1205 clearValues[1].color.float32[1] = 0.0f; in init()
1206 clearValues[1].color.float32[2] = 0.0f; in init()
1207 clearValues[1].color.float32[3] = 1.0f; in init()
1273 …fer, **m_textureImages[texIdx], VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &clearValues[texIdx].color, … in init()
[all …]
DvktPipelineMultisampleShaderFragmentMaskTests.cpp655 std::vector<VkClearValue> clearValues; in genClearValues() local
662clearValues.push_back(makeClearValueColorF32(rng.getFloat(), rng.getFloat(), rng.getFloat(), 1.0f)… in genClearValues()
668 clearValues.push_back(makeClearValueColorU32(rng.getUint32(), 0u, 0u, 0u)); in genClearValues()
676 return clearValues; in genClearValues()
850 std::vector<VkClearValue> clearValues = genClearValues(params.colorFormat, params.numLayers); in drawAndSampleInputAttachment() local
865 static_cast<deUint32>(clearValues.size()), // uint32_t clearValueCount; in drawAndSampleInputAttachment()
866 dataOrNullPtr(clearValues), // const VkClearValue* pClearValues; in drawAndSampleInputAttachment()
1015 std::vector<VkClearValue> clearValues = genClearValues(params.colorFormat, params.numLayers); in draw() local
1030 static_cast<deUint32>(clearValues.size()), // uint32_t clearValueCount; in draw()
1031 dataOrNullPtr(clearValues), // const VkClearValue* pClearValues; in draw()
DvktPipelineDepthRangeUnrestrictedTests.cpp1494 float clearValues[] = {2.0f, -3.0f, 6.0f, -7.0f}; in createDepthRangeUnrestrictedTests() local
1515 for (int val = 0; val < DE_LENGTH_OF_ARRAY(clearValues); val++) in createDepthRangeUnrestrictedTests()
1517 testParams.depthBufferClearValue.depthStencil.depth = clearValues[val]; in createDepthRangeUnrestrictedTests()
1542 for (int clearValue = 0; clearValue < DE_LENGTH_OF_ARRAY(clearValues); clearValue++) in createDepthRangeUnrestrictedTests()
1544 testParams.depthBufferClearValue.depthStencil.depth = clearValues[clearValue]; in createDepthRangeUnrestrictedTests()
1577 for (int clearValue = 0; clearValue < DE_LENGTH_OF_ARRAY(clearValues); clearValue++) in createDepthRangeUnrestrictedTests()
1579 testParams.depthBufferClearValue.depthStencil.depth = clearValues[clearValue]; in createDepthRangeUnrestrictedTests()
1622 for (int clearValue = 0; clearValue < DE_LENGTH_OF_ARRAY(clearValues); clearValue++) in createDepthRangeUnrestrictedTests()
1624 testParams.depthBufferClearValue.depthStencil.depth = clearValues[clearValue]; in createDepthRangeUnrestrictedTests()
DvktPipelineRenderToImageTests.cpp1108 vector<VkClearValue> clearValues (numSlices, getClearValue(caseDef.colorFormat)); in testWithSizeReduction() local
1111clearValues.insert(clearValues.end(), numSlices, makeClearValueDepthStencil(REFERENCE_DEPTH_VALUE,… in testWithSizeReduction()
1115 …er, makeRect2D(0, 0, imageSize.x(), imageSize.y()), (deUint32)clearValues.size(), &clearValues[0]); in testWithSizeReduction()
1351 vector<VkClearValue> clearValues (numSlices, getClearValue(caseDef.colorFormat)); in drawToMipLevel() local
1354clearValues.insert(clearValues.end(), numSlices, makeClearValueDepthStencil(REFERENCE_DEPTH_VALUE,… in drawToMipLevel()
1358 …buffer, makeRect2D(0, 0, mipSize.x(), mipSize.y()), (deUint32)clearValues.size(), &clearValues[0]); in drawToMipLevel()
DvktPipelineMultisampleBaseResolveAndPerSampleFetch.cpp600 std::vector<VkClearValue> clearValues(firstSubpassAttachmentsCount + numSamples); in iterate() local
603 clearValues[attachmentNdx] = makeClearValueColor(tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in iterate()
606 …fo.extent.width, imageMSInfo.extent.height), (deUint32)clearValues.size(), dataPointer(clearValues in iterate()
DvktPipelineMultisampleMixedAttachmentSamplesTests.cpp1100 std::vector<VkClearValue> clearValues; in draw() local
1104 clearValues.push_back(makeClearValueColorF32(0.0f, 0.0f, 0.0f, 1.0f)); in draw()
1105 clearValues.push_back(makeClearValueDepthStencil(1.0f, 0u)); in draw()
1121 static_cast<deUint32>(clearValues.size()), // uint32_t clearValueCount; in draw()
1122 dataOrNullPtr(clearValues), // const VkClearValue* pClearValues; in draw()
1667 std::vector<VkClearValue> clearValues; in drawResolve() local
1668 clearValues.push_back(makeClearValueColorF32(0.0f, 0.0f, 0.0f, 1.0f)); in drawResolve()
1669 clearValues.push_back(makeClearValueDepthStencil(1.0f, 0u)); in drawResolve()
1684 static_cast<deUint32>(clearValues.size()), // uint32_t clearValueCount; in drawResolve()
1685 dataOrNullPtr(clearValues), // const VkClearValue* pClearValues; in drawResolve()
DvktPipelineColorWriteEnableTests.cpp863 std::vector<vk::VkClearValue> clearValues; in iterate() local
866 clearValues.push_back(colorClearValue); in iterate()
867 clearValues.push_back(vk::makeClearValueDepthStencil(m_testConfig.clearDepthValue, 0u)); in iterate()
881 …ramebufferWidth, kFramebufferHeight), static_cast<deUint32>(clearValues.size()), clearValues.data(… in iterate()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DClear11.cpp522 float clearValues[4] = { in clearFramebuffer() local
540 clearValues[3] = (clearParams.colorF.alpha >= 0.5f) ? 1.0f : 0.0f; in clearFramebuffer()
547 deviceContext1->ClearView(framebufferRTV.get(), clearValues, &scissorRect, 1); in clearFramebuffer()
550 deviceContext1->ClearView(framebufferRTV.get(), clearValues, &scissorRect, 1); in clearFramebuffer()
555 deviceContext->ClearRenderTargetView(framebufferRTV.get(), clearValues); in clearFramebuffer()
558 deviceContext->ClearRenderTargetView(framebufferRTV.get(), clearValues); in clearFramebuffer()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesShaderIntrinsicsSampled.cpp801 std::vector<VkClearValue> clearValues; in recordCommands() local
802 clearValues.push_back(makeClearValueColor(tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f))); in recordCommands()
803 clearValues.push_back(makeClearValueColor(tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f))); in recordCommands()
850 …derPass, **m_framebuffers[mipLevelNdx], renderArea, (deUint32)clearValues.size(), &clearValues[0]); in recordCommands()
/external/angle/src/tests/perf_tests/
DBlitFramebufferPerf.cpp201 GLfloat clearValues[4] = {1.0f, 0.0f, 0.0f, 1.0f}; in drawBenchmark() local
202 glClearBufferfv(GL_COLOR, 0, clearValues); in drawBenchmark()
/external/angle/src/tests/gl_tests/
DClearTest.cpp723 GLColor clearValues[kAttachmentCount]; in TEST_P() local
734 clearValues[i].R = static_cast<GLubyte>(1 + i * 20); in TEST_P()
735 clearValues[i].G = static_cast<GLubyte>(7 + i * 20); in TEST_P()
736 clearValues[i].B = static_cast<GLubyte>(12 + i * 20); in TEST_P()
737 clearValues[i].A = static_cast<GLubyte>(16 + i * 20); in TEST_P()
746 angle::Vector4 clearColor = clearValues[0].toNormalizedVector(); in TEST_P()
754 clearColor = clearValues[i].toNormalizedVector(); in TEST_P()
766 const GLColor &expect = clearValues[clearIndex]; in TEST_P()
793 GLColor clearValues[kAttachmentCount]; in TEST_P() local
804 clearValues[i].R = static_cast<GLubyte>(1 + i * 20); in TEST_P()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateInheritanceTests.cpp722 VkClearValue clearValues[2]; in startRenderCmds() local
723 clearValues[0].color.float32[0] = geometry.clearColor.x(); in startRenderCmds()
724 clearValues[0].color.float32[1] = geometry.clearColor.y(); in startRenderCmds()
725 clearValues[0].color.float32[2] = geometry.clearColor.z(); in startRenderCmds()
726 clearValues[0].color.float32[3] = 1.0f; in startRenderCmds()
727 clearValues[1].depthStencil = { geometry.clearDepth, 0 }; in startRenderCmds()
735 2, clearValues }; in startRenderCmds()
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationFragShaderSideEffectsTests.cpp584 std::vector<vk::VkClearValue> clearValues; in iterate() local
585 clearValues.push_back(vk::makeClearValueColor(m_params.clearColor)); in iterate()
586 clearValues.push_back(vk::makeClearValueDepthStencil(1.0f, 0u)); in iterate()
589 …ramebufferWidth, kFramebufferHeight), static_cast<deUint32>(clearValues.size()), clearValues.data(… in iterate()
/external/swiftshader/tests/VulkanWrapper/
DDrawTester.cpp369 vk::ClearValue clearValues[1]; in createCommandBuffers() local
370 clearValues[0].color = vk::ClearColorValue(std::array<float, 4>{ 0.5f, 0.5f, 0.5f, 1.0f }); in createCommandBuffers()
378 renderPassBeginInfo.clearValueCount = ARRAY_SIZE(clearValues); in createCommandBuffers()
379 renderPassBeginInfo.pClearValues = clearValues; in createCommandBuffers()
/external/angle/third_party/vulkan_memory_allocator/src/
DVulkanSample.cpp1850 VkClearValue clearValues[2]; in DrawFrame() local
1851 ZeroMemory(clearValues, sizeof(clearValues)); in DrawFrame()
1852 clearValues[0].color.float32[0] = 0.25f; in DrawFrame()
1853 clearValues[0].color.float32[1] = 0.25f; in DrawFrame()
1854 clearValues[0].color.float32[2] = 0.5f; in DrawFrame()
1855 clearValues[0].color.float32[3] = 1.0f; in DrawFrame()
1856 clearValues[1].depthStencil.depth = 1.0f; in DrawFrame()
1864 renderPassBeginInfo.clearValueCount = (uint32_t)_countof(clearValues); in DrawFrame()
1865 renderPassBeginInfo.pClearValues = clearValues; in DrawFrame()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawMultipleInterpolationTests.cpp498 std::vector<vk::VkClearValue> clearValues; in render() local
501 clearValues.push_back(vk::makeClearValueColor(tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f))); in render()
504 … *cmdBuffer, *renderPass, *framebuffer, renderArea, (deUint32)clearValues.size(), &clearValues[0]); in render()
/external/angle/src/libANGLE/renderer/vulkan/
DCommandGraph.cpp342 const std::vector<VkClearValue> &clearValues, in beginRenderPass() argument
352 renderPassAttachmentOps, clearValues); in beginRenderPass()
506 const std::vector<VkClearValue> &clearValues) in storeRenderPassInfo() argument
512 std::copy(clearValues.begin(), clearValues.end(), mRenderPassClearValues.begin()); in storeRenderPassInfo()
DCommandGraph.h113 const std::vector<VkClearValue> &clearValues);
489 const std::vector<VkClearValue> &clearValues,
/external/swiftshader/src/Vulkan/
DVkCommandBuffer.cpp52 clearValues = new VkClearValue[clearValueCount]; in CmdBeginRenderPass()
53 memcpy(clearValues, pClearValues, clearValueCount * sizeof(VkClearValue)); in CmdBeginRenderPass()
58 delete[] clearValues; in ~CmdBeginRenderPass()
66 framebuffer->clear(executionState.renderPass, clearValueCount, clearValues, renderArea); in play()
76 VkClearValue *clearValues; member in __anon37a6868d0111::CmdBeginRenderPass
1280 … uint32_t clearValueCount, const VkClearValue *clearValues, VkSubpassContents contents, in beginRenderPass() argument
1292 …addCommand<::CmdBeginRenderPass>(renderPass, framebuffer, renderArea, clearValueCount, clearValues in beginRenderPass()
DVkImageView.hpp76 …void clear(const VkClearValue &clearValues, VkImageAspectFlags aspectMask, const VkRect2D &renderA…
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassDepthStencilResolveTests.cpp863 VkClearValue clearValues[2]; in submit() local
864 clearValues[0].depthStencil = m_config.clearValue; in submit()
865 clearValues[1].depthStencil = m_config.clearValue; in submit()
881 clearValues in submit()
/external/skqp/src/gpu/vk/
DGrVkCommandBuffer.h217 const VkClearValue clearValues[],

12