Home
last modified time | relevance | path

Searched refs:blendConstants (Results 1 – 25 of 67) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/src/Device/
DContext.cpp528 blendConstants.x = colorBlendState->blendConstants[0]; in GraphicsState()
529 blendConstants.y = colorBlendState->blendConstants[1]; in GraphicsState()
530 blendConstants.z = colorBlendState->blendConstants[2]; in GraphicsState()
531 blendConstants.w = colorBlendState->blendConstants[3]; in GraphicsState()
665 combinedState.blendConstants = dynamicState.blendConstants; in combineStates()
DContext.hpp123 sw::float4 blendConstants; member
180 inline const sw::float4 &getBlendConstants() const { return blendConstants; } in getBlendConstants()
254 sw::float4 blendConstants = {}; member
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineBlendTests.cpp1632 tcu::Vec4 blendConstants; member
1880 m_params.blendConstants[0], in iterate()
1881 m_params.blendConstants[1], in iterate()
1882 m_params.blendConstants[2], in iterate()
1883 m_params.blendConstants[3], in iterate()
1966 tcu::Vec4 clampedBlendConstants = m_params.blendConstants; in iterate()
2242 testParams.blendConstants[0] = 0.5f; in createBlendTests()
2243 testParams.blendConstants[1] = 2.0f; in createBlendTests()
2244 testParams.blendConstants[2] = -1.0f; in createBlendTests()
2245 testParams.blendConstants[3] = 1.0f; in createBlendTests()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_cache_utils.cpp552 inputAndBlend.blendConstants[0] = 0.0f; in initDefaults()
553 inputAndBlend.blendConstants[1] = 0.0f; in initDefaults()
554 inputAndBlend.blendConstants[2] = 0.0f; in initDefaults()
555 inputAndBlend.blendConstants[3] = 0.0f; in initDefaults()
813 blendState.blendConstants[i] = inputAndBlend.blendConstants[i]; in initializePipeline()
983 mInputAssemblyAndColorBlendStateInfo.blendConstants[0] = color.red; in updateBlendColor()
984 mInputAssemblyAndColorBlendStateInfo.blendConstants[1] = color.green; in updateBlendColor()
985 mInputAssemblyAndColorBlendStateInfo.blendConstants[2] = color.blue; in updateBlendColor()
986 mInputAssemblyAndColorBlendStateInfo.blendConstants[3] = color.alpha; in updateBlendColor()
987 constexpr size_t kSize = sizeof(mInputAssemblyAndColorBlendStateInfo.blendConstants[0]) * 8; in updateBlendColor()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPipelineVk.cpp418 colorBlend.blendConstants[0] = 0.0f; in RenderPipeline()
419 colorBlend.blendConstants[1] = 0.0f; in RenderPipeline()
420 colorBlend.blendConstants[2] = 0.0f; in RenderPipeline()
421 colorBlend.blendConstants[3] = 0.0f; in RenderPipeline()
DCommandBufferVk.cpp571 float blendConstants[4] = { in RecordRenderPass() local
577 device->fn.CmdSetBlendConstants(commands, blendConstants); in RecordRenderPass()
707 float blendConstants[4] = { in RecordRenderPass() local
713 device->fn.CmdSetBlendConstants(commands, blendConstants); in RecordRenderPass()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkCommandBuffer.cpp347 CmdSetBlendConstants(const float blendConstants[4]) in CmdSetBlendConstants()
349 memcpy(this->blendConstants, blendConstants, sizeof(this->blendConstants)); in CmdSetBlendConstants()
354 memcpy(&(executionState.dynamicState.blendConstants[0]), blendConstants, sizeof(blendConstants)); in execute()
360 float blendConstants[4]; member in __anon8991f80c0111::CmdSetBlendConstants
1458 void CommandBuffer::setBlendConstants(const float blendConstants[4]) in setBlendConstants()
1460 addCommand<::CmdSetBlendConstants>(blendConstants); in setBlendConstants()
DVkCommandBuffer.hpp94 void setBlendConstants(const float blendConstants[4]);
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPipelineVk.cpp480 colorBlend.blendConstants[0] = 0.0f; in Initialize()
481 colorBlend.blendConstants[1] = 0.0f; in Initialize()
482 colorBlend.blendConstants[2] = 0.0f; in Initialize()
483 colorBlend.blendConstants[3] = 0.0f; in Initialize()
DCommandBufferVk.cpp1044 float blendConstants[4] = { in RecordRenderPass() local
1050 device->fn.CmdSetBlendConstants(commands, blendConstants); in RecordRenderPass()
1228 const std::array<float, 4> blendConstants = ConvertToFloatColor(cmd->color); in RecordRenderPass() local
1229 device->fn.CmdSetBlendConstants(commands, blendConstants.data()); in RecordRenderPass()
/third_party/flutter/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp355 const float blendConstants[4]) { in setBlendConstants()
357 if (memcmp(blendConstants, fCachedBlendConstant, 4 * sizeof(float))) { in setBlendConstants()
358 GR_VK_CALL(gpu->vkInterface(), CmdSetBlendConstants(fCmdBuffer, blendConstants)); in setBlendConstants()
359 memcpy(fCachedBlendConstant, blendConstants, 4 * sizeof(float)); in setBlendConstants()
DGrVkCommandBuffer.h77 void setBlendConstants(const GrVkGpu* gpu, const float blendConstants[4]);
/third_party/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp381 const float blendConstants[4]) { in setBlendConstants()
383 if (0 != memcmp(blendConstants, fCachedBlendConstant, 4 * sizeof(float))) { in setBlendConstants()
384 GR_VK_CALL(gpu->vkInterface(), CmdSetBlendConstants(fCmdBuffer, blendConstants)); in setBlendConstants()
385 memcpy(fCachedBlendConstant, blendConstants, 4 * sizeof(float)); in setBlendConstants()
DGrVkCommandBuffer.h75 void setBlendConstants(const GrVkGpu* gpu, const float blendConstants[4]);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationInternallySynchronizedObjectsTests.cpp886 m_colorBlendStateParams.blendConstants[0] = 0.0f; in addPipelineInfo()
887 m_colorBlendStateParams.blendConstants[1] = 0.0f; in addPipelineInfo()
888 m_colorBlendStateParams.blendConstants[2] = 0.0f; in addPipelineInfo()
889 m_colorBlendStateParams.blendConstants[3] = 0.0f; in addPipelineInfo()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_cache_utils.cpp1666 inputAndBlend.blendConstants[0] = 0.0f; in initDefaults()
1667 inputAndBlend.blendConstants[1] = 0.0f; in initDefaults()
1668 inputAndBlend.blendConstants[2] = 0.0f; in initDefaults()
1669 inputAndBlend.blendConstants[3] = 0.0f; in initDefaults()
2046 blendState.blendConstants[i] = inputAndBlend.blendConstants[i]; in initializePipeline()
2279 mInputAssemblyAndColorBlendStateInfo.blendConstants[0] = color.red; in updateBlendColor()
2280 mInputAssemblyAndColorBlendStateInfo.blendConstants[1] = color.green; in updateBlendColor()
2281 mInputAssemblyAndColorBlendStateInfo.blendConstants[2] = color.blue; in updateBlendColor()
2282 mInputAssemblyAndColorBlendStateInfo.blendConstants[3] = color.alpha; in updateBlendColor()
2283 constexpr size_t kSizeBits = sizeof(mInputAssemblyAndColorBlendStateInfo.blendConstants[0]) * 8; in updateBlendColor()
[all …]
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_cmd_buffer.c213 const float blendConstants[4]) in panvk_CmdSetBlendConstants()
218 cmdbuf->state.blend.constants[i] = CLAMP(blendConstants[i], 0.0f, 1.0f); in panvk_CmdSetBlendConstants()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateComputeTests.cpp203 const float blendConstants[4] = { 0.0f, 0.0f, 0.0f, 0.0f }; in setBlendConstants() local
204 vkd->cmdSetBlendConstants(cmdBuffer, blendConstants); in setBlendConstants()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/third_party/
Dvulkan_command_buffer_utils.cpp1613 cb.blendConstants[0] = 1.0f; in init_pipeline()
1614 cb.blendConstants[1] = 1.0f; in init_pipeline()
1615 cb.blendConstants[2] = 1.0f; in init_pipeline()
1616 cb.blendConstants[3] = 1.0f; in init_pipeline()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/third_party/
Dvulkan_command_buffer_utils.cpp1623 cb.blendConstants[0] = 1.0f; in init_pipeline()
1624 cb.blendConstants[1] = 1.0f; in init_pipeline()
1625 cb.blendConstants[2] = 1.0f; in init_pipeline()
1626 cb.blendConstants[3] = 1.0f; in init_pipeline()
/third_party/mesa3d/src/virtio/venus-protocol/
Dvn_protocol_driver_command_buffer.h1814 …ze_t vn_sizeof_vkCmdSetBlendConstants(VkCommandBuffer commandBuffer, const float blendConstants[4]) in vn_sizeof_vkCmdSetBlendConstants()
1822 cmd_size += vn_sizeof_float_array(blendConstants, 4); in vn_sizeof_vkCmdSetBlendConstants()
1827 …er *enc, VkCommandFlagsEXT cmd_flags, VkCommandBuffer commandBuffer, const float blendConstants[4]) in vn_encode_vkCmdSetBlendConstants()
1836 vn_encode_float_array(enc, blendConstants, 4); in vn_encode_vkCmdSetBlendConstants()
1839 …n_sizeof_vkCmdSetBlendConstants_reply(VkCommandBuffer commandBuffer, const float blendConstants[4]) in vn_sizeof_vkCmdSetBlendConstants_reply()
1850 …ants_reply(struct vn_cs_decoder *dec, VkCommandBuffer commandBuffer, const float blendConstants[4]) in vn_decode_vkCmdSetBlendConstants_reply()
5290 …ommandFlagsEXT cmd_flags, VkCommandBuffer commandBuffer, const float blendConstants[4], struct vn_… in vn_submit_vkCmdSetBlendConstants()
5294 size_t cmd_size = vn_sizeof_vkCmdSetBlendConstants(commandBuffer, blendConstants); in vn_submit_vkCmdSetBlendConstants()
5300 …GENERATE_REPLY_BIT_EXT ? vn_sizeof_vkCmdSetBlendConstants_reply(commandBuffer, blendConstants) : 0; in vn_submit_vkCmdSetBlendConstants()
5304 vn_encode_vkCmdSetBlendConstants(enc, cmd_flags, commandBuffer, blendConstants); in vn_submit_vkCmdSetBlendConstants()
[all …]
/third_party/mesa3d/src/virtio/vulkan/
Dvn_command_buffer.c810 const float blendConstants[4]) in vn_CmdSetBlendConstants()
816 cmd_size = vn_sizeof_vkCmdSetBlendConstants(commandBuffer, blendConstants); in vn_CmdSetBlendConstants()
821 blendConstants); in vn_CmdSetBlendConstants()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pipeline.c220 memcpy(&dst->blendConstants, &src->blendConstants, sizeof(float) * 4); in deep_copy_color_blend_state()
/third_party/mesa3d/src/amd/vulkan/layers/
Dradv_sqtt_layer.c741 sqtt_CmdSetBlendConstants(VkCommandBuffer commandBuffer, const float blendConstants[4]) in sqtt_CmdSetBlendConstants()
743 API_MARKER(SetBlendConstants, commandBuffer, blendConstants); in sqtt_CmdSetBlendConstants()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawCreateInfoUtil.hpp406 std::vector<float> blendConstants = std::vector<float>(4));

123