Home
last modified time | relevance | path

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

123

/third_party/vk-gl-cts/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()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DBufferGL.cpp48 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/
DClearTest.cpp633 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/
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.cpp656 std::vector<VkClearValue> clearValues; in genClearValues() local
663clearValues.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()
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.cpp1111 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/
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()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DClear11.cpp528 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/
DCommandBufferVk.cpp248 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/
DBlitFramebufferPerf.cpp201 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/
DBlitFramebufferPerf.cpp201 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/
DvktSparseResourcesShaderIntrinsicsSampled.cpp811 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/
DvktDrawMultiExtTests.cpp1003 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/
DClearTest.cpp764 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/
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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationFragShaderSideEffectsTests.cpp580 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/
DvktRenderPassDepthStencilResolveTests.cpp888 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/
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()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DCommandBufferVk.cpp234 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/
DCommandGraph.cpp273 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()
DCommandGraph.h112 const std::vector<VkClearValue> &clearValues);
326 const std::vector<VkClearValue> &clearValues,

123