/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkCmdUtil.cpp | 55 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()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | BufferGL.cpp | 48 std::vector<uint8_t> clearValues(mAllocatedSize, 1u); in Buffer() local 49 device->gl.BufferData(GL_ARRAY_BUFFER, mAllocatedSize, clearValues.data(), in Buffer() 113 const std::vector<uint8_t> clearValues(size, 0u); in InitializeToZero() local 115 device->gl.BufferSubData(GL_ARRAY_BUFFER, 0, size, clearValues.data()); in InitializeToZero()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | ClearTest.cpp | 633 GLColor clearValues[kAttachmentCount]; in TEST_P() local 644 clearValues[i].R = static_cast<GLubyte>(1 + i * 20); in TEST_P() 645 clearValues[i].G = static_cast<GLubyte>(7 + i * 20); in TEST_P() 646 clearValues[i].B = static_cast<GLubyte>(12 + i * 20); in TEST_P() 647 clearValues[i].A = static_cast<GLubyte>(16 + i * 20); in TEST_P() 656 angle::Vector4 clearColor = clearValues[0].toNormalizedVector(); in TEST_P() 664 clearColor = clearValues[i].toNormalizedVector(); in TEST_P() 676 const GLColor &expect = clearValues[clearIndex]; in TEST_P() 700 GLColor clearValues[kAttachmentCount]; in TEST_P() local 711 clearValues[i].R = static_cast<GLubyte>(1 + i * 20); in TEST_P() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMultisampleBaseResolve.cpp | 335 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()
|
D | vktPipelinePushDescriptorTests.cpp | 1199 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 …]
|
D | vktPipelineMultisampleShaderFragmentMaskTests.cpp | 656 std::vector<VkClearValue> clearValues; in genClearValues() local 663 …clearValues.push_back(makeClearValueColorF32(rng.getFloat(), rng.getFloat(), rng.getFloat(), 1.0f)… in genClearValues() 669 clearValues.push_back(makeClearValueColorU32(rng.getUint32(), 0u, 0u, 0u)); in genClearValues() 677 return clearValues; in genClearValues() 851 std::vector<VkClearValue> clearValues = genClearValues(params.colorFormat, params.numLayers); in drawAndSampleInputAttachment() local 866 static_cast<deUint32>(clearValues.size()), // uint32_t clearValueCount; in drawAndSampleInputAttachment() 867 dataOrNullPtr(clearValues), // const VkClearValue* pClearValues; in drawAndSampleInputAttachment() 1016 std::vector<VkClearValue> clearValues = genClearValues(params.colorFormat, params.numLayers); in draw() local 1031 static_cast<deUint32>(clearValues.size()), // uint32_t clearValueCount; in draw() 1032 dataOrNullPtr(clearValues), // const VkClearValue* pClearValues; in draw()
|
D | vktPipelineDepthRangeUnrestrictedTests.cpp | 1494 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()
|
D | vktPipelineRenderToImageTests.cpp | 1108 vector<VkClearValue> clearValues (numSlices, getClearValue(caseDef.colorFormat)); in testWithSizeReduction() local 1111 …clearValues.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 1354 …clearValues.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()
|
D | vktPipelineMultisampleBaseResolveAndPerSampleFetch.cpp | 600 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()
|
D | vktPipelineMultisampleMixedAttachmentSamplesTests.cpp | 1111 std::vector<VkClearValue> clearValues; in draw() local 1115 clearValues.push_back(makeClearValueColorF32(0.0f, 0.0f, 0.0f, 1.0f)); in draw() 1116 clearValues.push_back(makeClearValueDepthStencil(1.0f, 0u)); in draw() 1132 static_cast<deUint32>(clearValues.size()), // uint32_t clearValueCount; in draw() 1133 dataOrNullPtr(clearValues), // const VkClearValue* pClearValues; in draw() 1723 std::vector<VkClearValue> clearValues; in drawResolve() local 1724 clearValues.push_back(makeClearValueColorF32(0.0f, 0.0f, 0.0f, 1.0f)); in drawResolve() 1725 clearValues.push_back(makeClearValueDepthStencil(1.0f, 0u)); in drawResolve() 1740 static_cast<deUint32>(clearValues.size()), // uint32_t clearValueCount; in drawResolve() 1741 dataOrNullPtr(clearValues), // const VkClearValue* pClearValues; in drawResolve()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | Clear11.cpp | 522 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()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | Clear11.cpp | 528 float clearValues[4] = { in clearFramebuffer() local 546 clearValues[3] = (clearParams.colorF.alpha >= 0.5f) ? 1.0f : 0.0f; in clearFramebuffer() 553 deviceContext1->ClearView(framebufferRTV.get(), clearValues, &scissorRect, 1); in clearFramebuffer() 556 deviceContext1->ClearView(framebufferRTV.get(), clearValues, &scissorRect, 1); in clearFramebuffer() 561 deviceContext->ClearRenderTargetView(framebufferRTV.get(), clearValues); in clearFramebuffer() 564 deviceContext->ClearRenderTargetView(framebufferRTV.get(), clearValues); in clearFramebuffer()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | CommandBufferVk.cpp | 248 std::array<VkClearValue, kMaxColorAttachments + 1> clearValues; in RecordBeginRenderPass() local 261 clearValues[attachmentCount].color.float32[0] = attachmentInfo.clearColor.r; in RecordBeginRenderPass() 262 clearValues[attachmentCount].color.float32[1] = attachmentInfo.clearColor.g; in RecordBeginRenderPass() 263 clearValues[attachmentCount].color.float32[2] = attachmentInfo.clearColor.b; in RecordBeginRenderPass() 264 clearValues[attachmentCount].color.float32[3] = attachmentInfo.clearColor.a; in RecordBeginRenderPass() 275 clearValues[attachmentCount].depthStencil.depth = attachmentInfo.clearDepth; in RecordBeginRenderPass() 276 clearValues[attachmentCount].depthStencil.stencil = attachmentInfo.clearStencil; in RecordBeginRenderPass() 324 beginInfo.pClearValues = clearValues.data(); in RecordBeginRenderPass()
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
D | BlitFramebufferPerf.cpp | 201 GLfloat clearValues[4] = {1.0f, 0.0f, 0.0f, 1.0f}; in drawBenchmark() local 202 glClearBufferfv(GL_COLOR, 0, clearValues); in drawBenchmark()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/ |
D | BlitFramebufferPerf.cpp | 201 GLfloat clearValues[4] = {1.0f, 0.0f, 0.0f, 1.0f}; in drawBenchmark() local 202 glClearBufferfv(GL_COLOR, 0, clearValues); in drawBenchmark()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesShaderIntrinsicsSampled.cpp | 811 std::vector<VkClearValue> clearValues; in recordCommands() local 812 clearValues.push_back(makeClearValueColor(tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f))); in recordCommands() 813 clearValues.push_back(makeClearValueColor(tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f))); in recordCommands() 860 …derPass, **m_framebuffers[mipLevelNdx], renderArea, (deUint32)clearValues.size(), &clearValues[0]); in recordCommands()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawMultiExtTests.cpp | 1003 std::vector<VkClearValue> clearValues; in iterate() local 1004 clearValues.reserve(2u); in iterate() 1005 clearValues.push_back(makeClearValueColorU32(0u, 0u, 0u, 0u)); in iterate() 1006 clearValues.push_back(makeClearValueDepthStencil(((isMosaic || isIndexed) ? 0.0f : 1.0f), 0u)); in iterate() 1037 …ing(vkd, cmdBuffer, *colorBufferView, *dsBufferView, true, scissor, clearValues[0], clearValues[1], in iterate() 1042 …), framebuffer.get(), scissor, static_cast<deUint32>(clearValues.size()), de::dataOrNull(clearValu… in iterate()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | ClearTest.cpp | 764 GLColor clearValues[kAttachmentCount]; in TEST_P() local 775 clearValues[i].R = static_cast<GLubyte>(1 + i * 20); in TEST_P() 776 clearValues[i].G = static_cast<GLubyte>(7 + i * 20); in TEST_P() 777 clearValues[i].B = static_cast<GLubyte>(12 + i * 20); in TEST_P() 778 clearValues[i].A = static_cast<GLubyte>(16 + i * 20); in TEST_P() 787 angle::Vector4 clearColor = clearValues[0].toNormalizedVector(); in TEST_P() 795 clearColor = clearValues[i].toNormalizedVector(); in TEST_P() 807 const GLColor &expect = clearValues[clearIndex]; in TEST_P() 834 GLColor clearValues[kAttachmentCount]; in TEST_P() local 845 clearValues[i].R = static_cast<GLubyte>(1 + i * 20); in TEST_P() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateInheritanceTests.cpp | 722 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()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/ |
D | vktRasterizationFragShaderSideEffectsTests.cpp | 580 std::vector<vk::VkClearValue> clearValues; in iterate() local 581 clearValues.push_back(vk::makeClearValueColor(m_params.clearColor)); in iterate() 582 clearValues.push_back(vk::makeClearValueDepthStencil(1.0f, 0u)); in iterate() 585 …ramebufferWidth, kFramebufferHeight), static_cast<deUint32>(clearValues.size()), clearValues.data(… in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassDepthStencilResolveTests.cpp | 888 VkClearValue clearValues[2]; in submit() local 889 clearValues[0].depthStencil = m_config.clearValue; in submit() 890 clearValues[1].depthStencil = m_config.clearValue; in submit() 906 clearValues in submit() 923 VkClearValue clearValues[2]; in submit() local 924 clearValues[0].depthStencil = m_config.clearValue; in submit() 925 clearValues[1].depthStencil = m_config.clearValue; in submit() 941 clearValues in submit()
|
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/ |
D | DrawTester.cpp | 369 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()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | CommandBufferVk.cpp | 234 std::array<VkClearValue, kMaxColorAttachments + 1> clearValues; in RecordBeginRenderPass() local 253 clearValues[attachmentCount].color.float32[i] = in RecordBeginRenderPass() 262 clearValues[attachmentCount].color.uint32[i] = appliedClearColor[i]; in RecordBeginRenderPass() 270 clearValues[attachmentCount].color.int32[i] = appliedClearColor[i]; in RecordBeginRenderPass() 287 clearValues[attachmentCount].depthStencil.depth = attachmentInfo.clearDepth; in RecordBeginRenderPass() 288 clearValues[attachmentCount].depthStencil.stencil = attachmentInfo.clearStencil; in RecordBeginRenderPass() 337 beginInfo.pClearValues = clearValues.data(); in RecordBeginRenderPass()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | CommandGraph.cpp | 273 const std::vector<VkClearValue> &clearValues, in beginRenderPass() argument 283 renderPassAttachmentOps, clearValues); in beginRenderPass() 428 const std::vector<VkClearValue> &clearValues) in storeRenderPassInfo() argument 434 std::copy(clearValues.begin(), clearValues.end(), mRenderPassClearValues.begin()); in storeRenderPassInfo()
|
D | CommandGraph.h | 112 const std::vector<VkClearValue> &clearValues); 326 const std::vector<VkClearValue> &clearValues,
|