Home
last modified time | relevance | path

Searched refs:stageFlags (Results 1 – 25 of 108) sorted by relevance

12345

/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkBuilderUtil.hpp41 VkShaderStageFlags stageFlags,
46 VkShaderStageFlags stageFlags,
55 VkShaderStageFlags stageFlags) in addSingleBinding() argument
57 return addBinding(descriptorType, 1u, stageFlags, (VkSampler*)DE_NULL); in addSingleBinding()
60 VkShaderStageFlags stageFlags, in addSingleIndexedBinding() argument
63 return addIndexedBinding(descriptorType, 1u, stageFlags, dstBinding, (VkSampler*)DE_NULL); in addSingleIndexedBinding()
67 VkShaderStageFlags stageFlags) in addArrayBinding() argument
69 return addBinding(descriptorType, descriptorCount, stageFlags, (VkSampler*)DE_NULL); in addArrayBinding()
72 VkShaderStageFlags stageFlags, in addSingleSamplerBinding() argument
77 return addBinding(descriptorType, 1u, stageFlags, immutableSampler); in addSingleSamplerBinding()
[all …]
DvkBuilderUtil.cpp39 VkShaderStageFlags stageFlags, in addBinding() argument
62 stageFlags, // stageFlags in addBinding()
71 VkShaderStageFlags stageFlags, in addIndexedBinding() argument
95 stageFlags, // stageFlags in addIndexedBinding()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineNoPositionTests.cpp385 VkShaderStageFlags stageFlags = 0u; in iterate() local
397 stageFlags |= VK_SHADER_STAGE_VERTEX_BIT; in iterate()
402 stageFlags |= VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT; in iterate()
407 stageFlags |= VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT; in iterate()
412 stageFlags |= VK_SHADER_STAGE_GEOMETRY_BIT; in iterate()
416 stageFlags |= VK_SHADER_STAGE_FRAGMENT_BIT; in iterate()
541 layoutBuilder.addSingleBinding(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, stageFlags); in iterate()
DvktPipelinePushConstantTests.cpp144 std::string getShaderStageNameStr (VkShaderStageFlags stageFlags) in getShaderStageNameStr() argument
168 if (stageFlags & shaderStages[stageNdx]) in getShaderStageNameStr()
916 VkShaderStageFlags stageFlags = (VkShaderStageFlags)0u; in getPushConstantUpdates() local
934 stageFlags |= m_pushConstantRange[rangeNdx].range.shaderStage; in getPushConstantUpdates()
938 if (!stageFlags || !updateRange) in getPushConstantUpdates()
942 if (stageFlags != lastStageFlags) in getPushConstantUpdates()
946 stageFlags, // VkShaderStageFlags stageFlags; in getPushConstantUpdates()
952 lastStageFlags = stageFlags; in getPushConstantUpdates()
978 …Flags stageFlags " << getShaderStageNameStr(pushConstantUpdates[pushNdx].stageFlags) << ",\n" in updatePushConstants()
984 …vk.cmdPushConstants(cmdBuffer, pipelineLayout, pushConstantUpdates[pushNdx].stageFlags, pushConsta… in updatePushConstants()
[all …]
DvktPipelineSpecConstantTests.cpp747 FeatureFlags getShaderStageRequirements (const VkShaderStageFlags stageFlags) in getShaderStageRequirements() argument
751 …if (((stageFlags & VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT) != 0) || ((stageFlags & VK_SHADER_STA… in getShaderStageRequirements()
754 if ((stageFlags & VK_SHADER_STAGE_GEOMETRY_BIT) != 0) in getShaderStageRequirements()
758 if ((stageFlags & VK_SHADER_STAGE_ALL_GRAPHICS) != 0) in getShaderStageRequirements()
760 if ((stageFlags & VK_SHADER_STAGE_FRAGMENT_BIT) != 0) in getShaderStageRequirements()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/
DvktDescriptorSetsIndexingTests.cpp120 VkShaderStageFlags stageFlags; // used only to build a proper program member
132 VkShaderStageFlags stageFlags; member
155 : stageFlags (stageFlags_) in TestParams()
563 m_testParams.stageFlags, // stageFlags in createDescriptorSetLayout()
570 m_testParams.stageFlags, // stageFlags in createDescriptorSetLayout()
744 if (m_testParams.stageFlags & VK_SHADER_STAGE_COMPUTE_BIT) in constructShaderModules()
750 if (m_testParams.stageFlags & VK_SHADER_STAGE_FRAGMENT_BIT) in constructShaderModules()
757 if (m_testParams.stageFlags & VK_SHADER_STAGE_VERTEX_BIT) in constructShaderModules()
773 …if ((m_testParams.stageFlags & VK_SHADER_STAGE_VERTEX_BIT) || (m_testParams.stageFlags & VK_SHADER… in createRenderPass()
785 m_testParams.stageFlags, // stageFlags in makePushConstantRange()
[all …]
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_descriptor_set.c119 lvp_foreach_stage(s, binding->stageFlags) { in lvp_CreateDescriptorSetLayout()
139 lvp_foreach_stage(s, binding->stageFlags) { in lvp_CreateDescriptorSetLayout()
146 lvp_foreach_stage(s, binding->stageFlags) { in lvp_CreateDescriptorSetLayout()
155 lvp_foreach_stage(s, binding->stageFlags) { in lvp_CreateDescriptorSetLayout()
163 lvp_foreach_stage(s, binding->stageFlags) { in lvp_CreateDescriptorSetLayout()
172 set_layout->shader_stages |= binding->stageFlags; in lvp_CreateDescriptorSetLayout()
/third_party/skia/src/gpu/vk/
DGrVkDescriptorSetManager.cpp81 dsSamplerBindings[i].stageFlags = visibility_to_vk_stage_flags(visibility); in get_layout_and_desc_count()
125 dsUniBinding.stageFlags = visibility_to_vk_stage_flags(visibilities[0]); in get_layout_and_desc_count()
160 dsInpuBinding.stageFlags = visibility_to_vk_stage_flags(visibilities[0]); in get_layout_and_desc_count()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiDescriptorPoolTests.cpp222 …VkShaderStageFlags stageFlags = (descriptorType != VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT) ? VK_SHADE… in outOfPoolMemoryTest() local
228 stageFlags, // VkShaderStageFlags stageFlags; in outOfPoolMemoryTest()
DvktApiMaintenance3Check.cpp376 b.stageFlags = vk::VK_SHADER_STAGE_ALL; in calculateBindings()
393 b.stageFlags = vk::VK_SHADER_STAGE_ALL; in calculateBindings()
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_bufimage.c118 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_itob_state()
123 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_itob_state()
301 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_btoi_state()
306 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_btoi_state()
480 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_btoi_r32g32b32_state()
485 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_btoi_r32g32b32_state()
668 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_itoi_state()
673 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_itoi_state()
841 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_itoi_r32g32b32_state()
846 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_itoi_r32g32b32_state()
[all …]
Dradv_meta_fmask_expand.c231 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_fmask_expand_state()
236 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_fmask_expand_state()
Dradv_meta_copy_vrs_htile.c159 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_copy_vrs_htile_state()
164 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_copy_vrs_htile_state()
Dradv_meta_buffer.c69 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_buffer_state()
87 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_buffer_state()
92 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_buffer_state()
Dradv_meta_dcc_retile.c124 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_dcc_retile_state()
129 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_dcc_retile_state()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp1132 vk::VkShaderStageFlags stageFlags,
1176 vk::VkShaderStageFlags stageFlags,
1282 vk::VkShaderStageFlags stageFlags, in BufferRenderInstance() argument
1295 , m_stageFlags (stageFlags) in BufferRenderInstance()
1480 vk::VkShaderStageFlags stageFlags, in createDescriptorSetLayouts() argument
1499 builder.addSingleBinding(descriptorType, stageFlags); in createDescriptorSetLayouts()
1503 builder.addSingleBinding(descriptorType, stageFlags); in createDescriptorSetLayouts()
1504 builder.addSingleBinding(descriptorType, stageFlags); in createDescriptorSetLayouts()
1508 builder.addSingleIndexedBinding(descriptorType, stageFlags, 0u); in createDescriptorSetLayouts()
1509 builder.addSingleIndexedBinding(descriptorType, stageFlags, 2u); in createDescriptorSetLayouts()
[all …]
DvktBindingValveMutableTests.cpp1545 …kOnly, const DeviceInterface& vkd, VkDevice device, VkShaderStageFlags stageFlags, VkDescriptorSet… in makeOrCheckDescriptorSetLayout() argument
1567 stageFlags, // VkShaderStageFlags stageFlags; in makeOrCheckDescriptorSetLayout()
1659 …ayout (const DeviceInterface& vkd, VkDevice device, VkShaderStageFlags stageFlags, VkDescriptorSet… in makeDescriptorSetLayout() argument
1661 …return makeOrCheckDescriptorSetLayout(false /*checkOnly*/, vkd, device, stageFlags, createFlags).l… in makeDescriptorSetLayout()
1664 …ayout (const DeviceInterface& vkd, VkDevice device, VkShaderStageFlags stageFlags, VkDescriptorSet… in checkDescriptorSetLayout() argument
1666 …return (makeOrCheckDescriptorSetLayout(true /*checkOnly*/, vkd, device, stageFlags, createFlags).s… in checkDescriptorSetLayout()
2777 const auto stageFlags = m_params.getStageFlags(); in checkSupport() local
2781 … = m_params.descriptorSet->checkDescriptorSetLayout(vkd, device, stageFlags, layoutCreateFla… in checkSupport()
2790 … = m_params.descriptorSet->checkDescriptorSetLayout(vkd, device, stageFlags, layoutCreateFla… in checkSupport()
2799 …const auto srcLayoutSupported = srcSet->checkDescriptorSetLayout(vkd, device, stageFlags, layoutCr… in checkSupport()
[all …]
/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/
DvkTypeUtil.inl246 inline VkPushConstantRange makePushConstantRange (VkShaderStageFlags stageFlags, uint32_t offset, u… argument
249 res.stageFlags = stageFlags;
281 …iptorType descriptorType, uint32_t descriptorCount, VkShaderStageFlags stageFlags, const VkSampler… argument
287 res.stageFlags = stageFlags;
/third_party/flutter/skia/src/gpu/vk/
DGrVkDescriptorSetManager.cpp209 dsSamplerBindings[i].stageFlags = visibility_to_vk_stage_flags(visibility); in DescriptorPoolManager()
250 dsUniBinding.stageFlags = visibility_to_vk_stage_flags(visibilities[0]); in DescriptorPoolManager()
/third_party/mesa3d/src/virtio/venus-protocol/
Dvn_protocol_driver_pipeline_layout.h20 size += vn_sizeof_VkFlags(&val->stageFlags); in vn_sizeof_VkPushConstantRange()
29 vn_encode_VkFlags(enc, &val->stageFlags); in vn_encode_VkPushConstantRange()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageDepthStencilDescriptorTests.cpp544 const auto stageFlags = VK_SHADER_STAGE_FRAGMENT_BIT; in iterate() local
710 inputLayoutBuilder.addSingleBinding(VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT, stageFlags); in iterate()
712 inputLayoutBuilder.addSingleBinding(VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, stageFlags); in iterate()
719 outputLayoutBuilder.addSingleBinding(VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, stageFlags); in iterate()
724 samplerLayoutBuilder.addSingleBinding(VK_DESCRIPTOR_TYPE_SAMPLER, stageFlags); in iterate()
725 samplerLayoutBuilder.addSingleBinding(VK_DESCRIPTOR_TYPE_SAMPLER, stageFlags); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util/
DvktDrawUtil.cpp515 VkShaderStageFlags stageFlags = (VkShaderStageFlags)0; in registerDrawObject() local
522 stageFlags |= vulkanProgram.shaders[shaderNdx].stage; in registerDrawObject()
547 …(stageFlags & (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT | VK_SHADER_STAGE_TESSELLATION_EVALUATION_… in registerDrawObject()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DBindGroupLayoutVk.cpp78 binding.stageFlags = VulkanShaderStageFlags(info.visibilities[bindingIndex]); in BindGroupLayout()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DBindGroupLayoutVk.cpp108 vkBinding.stageFlags = VulkanShaderStageFlags(bindingInfo.visibility); in Initialize()
/third_party/mesa3d/src/intel/vulkan/
Danv_cmd_buffer.c1225 VkShaderStageFlags stageFlags, in anv_CmdPushConstants() argument
1232 if (stageFlags & VK_SHADER_STAGE_ALL_GRAPHICS) { in anv_CmdPushConstants()
1238 if (stageFlags & VK_SHADER_STAGE_COMPUTE_BIT) { in anv_CmdPushConstants()
1244 if (stageFlags & (VK_SHADER_STAGE_RAYGEN_BIT_KHR | in anv_CmdPushConstants()
1256 cmd_buffer->state.push_constants_dirty |= stageFlags; in anv_CmdPushConstants()

12345