Home
last modified time | relevance | path

Searched refs:clearValue (Results 1 – 25 of 85) sorted by relevance

1234

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineClearUtil.cpp95 VkClearValue clearValue; in defaultClearValue() local
100 clearValue.depthStencil.stencil = dsValue.stencil; in defaultClearValue()
101 clearValue.depthStencil.depth = dsValue.depth; in defaultClearValue()
109 clearValue.color.uint32[0] = defaultColor.x(); in defaultClearValue()
110 clearValue.color.uint32[1] = defaultColor.y(); in defaultClearValue()
111 clearValue.color.uint32[2] = defaultColor.z(); in defaultClearValue()
112 clearValue.color.uint32[3] = defaultColor.w(); in defaultClearValue()
117 clearValue.color.int32[0] = defaultColor.x(); in defaultClearValue()
118 clearValue.color.int32[1] = defaultColor.y(); in defaultClearValue()
119 clearValue.color.int32[2] = defaultColor.z(); in defaultClearValue()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemAttachmentLoadTests.cpp60 const vk::VkClearValue& clearValue,
78 vk::VkClearValue clearValue, in AttachmentLoadTestCase() argument
81 , m_clearValue (clearValue) in AttachmentLoadTestCase()
102 const vk::VkClearValue& clearValue, in AttachmentLoadTestInstance() argument
107 , m_clearValue (clearValue) in AttachmentLoadTestInstance()
227 const vk::VkClearValue clearValue; in createAttachmentLoadTests() member
293 …dChild(new AttachmentLoadTestCase(testCtx, name.c_str(), testData[ndx].clearValue, testData[ndx].d… in createAttachmentLoadTests()
303 vk::VkClearValue clearValue = vk::makeClearValueColorF32( in createAttachmentLoadTests() local
309 …tcu::Vec4 refValue (clearValue.color.float32[0], clearValue.color.float32[1], clearValue.color.f… in createAttachmentLoadTests()
318 loadRandomTests->addChild(new AttachmentLoadTestCase(testCtx, name.c_str(), clearValue, data)); in createAttachmentLoadTests()
DvktProtectedMemAttachmentClearTests.cpp59 const vk::VkClearValue& clearValue,
79 vk::VkClearValue clearValue, in AttachmentClearTestCase() argument
83 , m_clearValue (clearValue) in AttachmentClearTestCase()
106 const vk::VkClearValue& clearValue, in AttachmentClearTestInstance() argument
112 , m_clearValue (clearValue) in AttachmentClearTestInstance()
179 const tcu::Vec4 clearValue (m_clearValue.color.float32[0] < 0.5f ? 1.0f : 0.0f, in iterate() local
187 …renderPass, *framebuffer, vk::makeRect2D(RENDER_WIDTH, RENDER_HEIGHT), clearValue, subpassContents… in iterate()
283 const vk::VkClearValue clearValue; in createAttachmentClearTests() member
349 …Child(new AttachmentClearTestCase(testCtx, name.c_str(), testData[ndx].clearValue, testData[ndx].d… in createAttachmentClearTests()
359 vk::VkClearValue clearValue = vk::makeClearValueColorF32( in createAttachmentClearTests() local
[all …]
DvktProtectedMemClearColorImageTests.cpp321 vk::VkClearValue clearValue = vk::makeClearValueColorF32( in createClearColorImageTests() local
327 …tcu::Vec4 refValue (clearValue.color.float32[0], clearValue.color.float32[1], clearValue.color.f… in createClearColorImageTests()
336 …clearRandomTests->addChild(new ClearColorImageTestCase(testCtx, name.c_str(), clearValue.color, da… in createClearColorImageTests()
DvktProtectedMemCopyImageToBufferTests.cpp374 vk::VkClearValue clearValue = vk::makeClearValueColorF32( in createCopyImageToFloatBufferTests() local
380 …tcu::Vec4 refValue (clearValue.color.float32[0], clearValue.color.float32[1], clearValue.color.f… in createCopyImageToFloatBufferTests()
395 …dChild(new CopyImageToBufferTestCase<tcu::Vec4>(testCtx, name.c_str(), clearValue.color, data, cmd… in createCopyImageToFloatBufferTests()
DvktProtectedMemBlitImageTests.cpp428 vk::VkClearValue clearValue = vk::makeClearValueColorF32( in createBlitImageTests() local
434 …tcu::Vec4 refValue (clearValue.color.float32[0], clearValue.color.float32[1], clearValue.color.f… in createBlitImageTests()
443 …blitRandomTests->addChild(new BlitImageTestCase(testCtx, name.c_str(), clearValue.color, data, cmd… in createBlitImageTests()
DvktProtectedMemCopyImageTests.cpp426 vk::VkClearValue clearValue = vk::makeClearValueColorF32( in createCopyImageTests() local
432 …tcu::Vec4 refValue (clearValue.color.float32[0], clearValue.color.float32[1], clearValue.color.f… in createCopyImageTests()
441 …copyRandomTests->addChild(new CopyImageTestCase(testCtx, name.c_str(), clearValue.color, data, cmd… in createCopyImageTests()
/external/deqp/external/vulkancts/framework/vulkan/
DvkCmdUtil.cpp77 const VkClearValue& clearValue, in beginRenderPass() argument
80 beginRenderPass(vk, commandBuffer, renderPass, framebuffer, renderArea, 1u, &clearValue, contents); in beginRenderPass()
91 const VkClearValue clearValue = makeClearValueColor(clearColor); in beginRenderPass() local
93 beginRenderPass(vk, commandBuffer, renderPass, framebuffer, renderArea, clearValue, contents); in beginRenderPass()
104 …const VkClearValue clearValue = makeClearValueColorU32(clearColor.x(), clearColor.y(), clearColor.… in beginRenderPass() local
106 beginRenderPass(vk, commandBuffer, renderPass, framebuffer, renderArea, clearValue, contents); in beginRenderPass()
DvkCmdUtil.hpp53 const VkClearValue& clearValue,
/external/swiftshader/src/Vulkan/
DVkImageView.cpp75 void ImageView::clear(const VkClearValue& clearValue, const VkImageAspectFlags aspectMask, const Vk… in clear() argument
91 image->clear(clearValue, renderArea, subresourceRange); in clear()
94 void ImageView::clear(const VkClearValue& clearValue, const VkImageAspectFlags aspectMask, const Vk… in clear() argument
115 image->clear(clearValue, renderArea.rect, sr); in clear()
DVkFramebuffer.cpp84 attachment.clearValue, attachment.aspectMask, rect); in clear()
93 …attachments[subpass.pDepthStencilAttachment->attachment]->clear(attachment.clearValue, attachment.… in clear()
DVkImageView.hpp35 …void clear(const VkClearValue& clearValue, const VkImageAspectFlags aspectMask, const VkClearRect&…
DVkImage.cpp590 void Image::clear(const VkClearValue& clearValue, const VkRect2D& renderArea, const VkImageSubresou… in clear() argument
603 …clear((void*)(clearValue.color.float32), getClearFormat(), renderArea, subresourceRange, VK_IMAGE_… in clear()
609 …clear((void*)(&clearValue.depthStencil.depth), VK_FORMAT_D32_SFLOAT, renderArea, subresourceRange,… in clear()
614 …clear((void*)(&clearValue.depthStencil.stencil), VK_FORMAT_S8_UINT, renderArea, subresourceRange, … in clear()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp470 VkClearValue clearValue[2]; //!< the second value is used with more than one mip map member
491 void beginRenderPass (VkSubpassContents content, VkClearValue clearValue) const;
1018 depthValue = m_params.clearValue[0].depthStencil.depth; in verifyResultImage()
1047 stencilValue = m_params.clearValue[0].depthStencil.stencil; in verifyResultImage()
1080 pColorValue = &m_params.clearValue[clearColorNdx].color; in verifyResultImage()
1100 void ImageClearingTestInstance::beginRenderPass (VkSubpassContents content, VkClearValue clearValue in beginRenderPass()
1102 …r, makeRect2D(0, 0, m_params.imageExtent.width, m_params.imageExtent.height), clearValue, content); in beginRenderPass()
1167 …mmandBuffer, *m_image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &m_params.clearValue[i].color, 1, &su… in iterate()
1169 …mmandBuffer, *m_image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &m_params.clearValue[i].color, 1, &st… in iterate()
1231 …mmandBuffer, *m_image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &m_params.clearValue[0].depthStencil,… in iterate()
[all …]
DvktApiComputeInstanceResultBuffer.cpp83 const float clearValue = initValue; in createResultBuffer() local
87 deMemcpy(((deUint8 *) mapPtr) + offset, &clearValue, sizeof(float)); in createResultBuffer()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassDepthStencilResolveTests.cpp106 VkClearDepthStencilValue clearValue; member
685 clearValues[0].depthStencil = m_config.clearValue; in submit()
686 clearValues[1].depthStencil = m_config.clearValue; in submit()
813 expectedValue = m_config.clearValue.depth; in verifyDepth()
855 float error = deFloatAbs(depth - m_config.clearValue.depth); in verifyDepth()
861 << depth << " (expected " << m_config.clearValue.depth << ")" << TestLog::EndMessage; in verifyDepth()
897 expectedValue = static_cast<deUint8>(m_config.clearValue.stencil); in verifyStencil()
912 if (stencil != m_config.clearValue.stencil) in verifyStencil()
917 << stencil << " (expected " << m_config.clearValue.stencil << ")" << TestLog::EndMessage; in verifyStencil()
1086 VkClearDepthStencilValue clearValue; in initTests() member
[all …]
DvktRenderPassMultisampleResolveTests.cpp1071 float clearValue; in verify() local
1078 clearValue = -1.0f; in verify()
1083 clearValue = 0.0f; in verify()
1088 clearValue = 0.0f; in verify()
1100 ? Vec4(clearValue, in verify()
1101 componentCount > 1 ? clearValue : 0.0f, in verify()
1102 componentCount > 2 ? clearValue : 0.0f, in verify()
1103 componentCount > 3 ? clearValue : 1.0f) in verify()
1143 …<< tcu::TestLog::Message << "Empty sample mask didn't produce all " << clearValue << " pixels" << … in verify()
1167 const UVec4 clearValue (tcu::select(UVec4(0u), in verify() local
[all …]
DvktRenderPassUnusedAttachmentTests.cpp430 VkClearValue clearValue; in UnusedAttachmentTestInstance() local
431 clearValue.color.float32[0] = 0.1f; in UnusedAttachmentTestInstance()
432 clearValue.color.float32[1] = 0.2f; in UnusedAttachmentTestInstance()
433 clearValue.color.float32[2] = 0.3f; in UnusedAttachmentTestInstance()
434 clearValue.color.float32[3] = 0.4f; in UnusedAttachmentTestInstance()
492 …age(*cmdBuffer, *m_unusedImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &clearValue.color, 1, &clear… in UnusedAttachmentTestInstance()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMutableTests.cpp158 VkClearValue clearValue; in getClearValueInt() local
197 clearValue.color.int32[0] = COLOR_TABLE_INT[colorTableIndex].x() & channelMask; in getClearValueInt()
198 clearValue.color.int32[1] = COLOR_TABLE_INT[colorTableIndex].y() & channelMask; in getClearValueInt()
199 clearValue.color.int32[2] = COLOR_TABLE_INT[colorTableIndex].z() & channelMask; in getClearValueInt()
200 clearValue.color.int32[3] = COLOR_TABLE_INT[colorTableIndex].w() & channelMask; in getClearValueInt()
202 return clearValue; in getClearValueInt()
411 const VkClearValue clearValue = getClearValueInt(caseDef, idx); in initPrograms() local
413 …peStr << "(" << clearValue.color.int32[0] << ", " << clearValue.color.int32[1] << ", " << clearVal… in initPrograms()
823 const VkClearValue clearValue = getClearValueInt(caseDef, colorIdx); in genVertexData() local
824 …const IVec4 colorInt (clearValue.color.int32[0], clearValue.color.int32[1], clearValue.color.int… in genVertexData()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_bufferobjects.c561 const void *clearValue, in st_clear_buffer_subdata() argument
571 clearValue, clearValueSize, bufObj); in st_clear_buffer_subdata()
575 if (!clearValue) in st_clear_buffer_subdata()
576 clearValue = zeros; in st_clear_buffer_subdata()
579 clearValue, clearValueSize); in st_clear_buffer_subdata()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DMapEntry.java267 public Builder<K, V> clearValue() { in clearValue() method in MapEntry.Builder
269 dataBuilder.clearValue(); in clearValue()
339 clearValue(); in clearField()
/external/desugar/java/com/google/devtools/common/options/
DInvocationPolicyEnforcer.java585 parser.clearValue(flagPolicy.description.getOptionDefinition()); in applySetValueOperation()
617 OptionValueDescription clearedValueDescription = parser.clearValue(option); in applyUseDefaultOperation()
781 parser.clearValue(optionDefinition); in checkDefaultValue()
836 parser.clearValue(option); in checkUserValue()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c3446 const GLvoid *clearValue, in cleartexsubimage_color() argument
3469 if (clearValue) in cleartexsubimage_color()
3470 _mesa_unpack_uint_rgba_row(format, 1, clearValue, in cleartexsubimage_color()
3480 if (clearValue) in cleartexsubimage_color()
3481 _mesa_unpack_rgba_row(format, 1, clearValue, in cleartexsubimage_color()
3495 const GLvoid *clearValue, in cleartexsubimage_depth_stencil() argument
3515 if (clearValue) { in cleartexsubimage_depth_stencil()
3524 clearValue, in cleartexsubimage_depth_stencil()
3533 clearValue, &depthValue); in cleartexsubimage_depth_stencil()
3549 const GLvoid *clearValue) in cleartexsubimage_for_zoffset() argument
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_meta_clear.c343 VkClearColorValue clear_value = clear_att->clearValue.color; in emit_color_clear()
610 VkClearDepthStencilValue clear_value = clear_att->clearValue.depthStencil; in emit_depthstencil_clear()
681 VkClearDepthStencilValue clear_value = clear_att->clearValue.depthStencil; in emit_fast_htile_clear()
953 VkClearColorValue clear_value = clear_att->clearValue.color; in emit_fast_color_clear()
1155 .clearValue = cmd_state->attachments[a].clear_value, in radv_cmd_buffer_clear_subpass()
1168 .clearValue = cmd_state->attachments[ds].clear_value, in radv_cmd_buffer_clear_subpass()
1289 .clearValue = *clear_val, in radv_clear_image_layer()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tile_cache.h124 uint64_t clearValue);

1234