/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkBuilderUtil.hpp | 41 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 …]
|
D | vkBuilderUtil.cpp | 39 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/vulkan-docs/src/chapters/commonvalidity/ |
D | push_constants_common.adoc | 9 for each shader stage in pname:stageFlags, there must: be a push 13 for each push constant range that overlaps that byte, pname:stageFlags 15 slink:VkPushConstantRange::pname:stageFlags
|
/third_party/vk-gl-cts/external/vulkan-docs/src/proposals/ |
D | VK_KHR_maintenance6.adoc | 104 VkShaderStageFlags stageFlags; 117 VkShaderStageFlags stageFlags; 126 VkShaderStageFlags stageFlags; 145 VkShaderStageFlags stageFlags; 156 VkShaderStageFlags stageFlags;
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineNoPositionTests.cpp | 390 VkShaderStageFlags stageFlags = 0u; in iterate() local 402 stageFlags |= VK_SHADER_STAGE_VERTEX_BIT; in iterate() 407 stageFlags |= VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT; in iterate() 412 stageFlags |= VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT; in iterate() 417 stageFlags |= VK_SHADER_STAGE_GEOMETRY_BIT; in iterate() 421 stageFlags |= VK_SHADER_STAGE_FRAGMENT_BIT; in iterate() 546 layoutBuilder.addSingleBinding(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, stageFlags); in iterate()
|
D | vktPipelineShaderModuleIdentifierTests.cpp | 339 : stageFlags (stageFlags_) in PipelineExecutableProperty() 347 const VkShaderStageFlags stageFlags; member 366 …return (a.stageFlags == b.stageFlags && a.name == b.name && a.description == b.description && a.su… in operator ==() 378 << "stageFlags=\"" << prop.stageFlags << "\", " in operator <<() 647 VkPipelineStageFlags stageFlags = 0u; in getPipelineStageFlags() local 653 case GraphicsShaderType::VERTEX: stageFlags |= VK_PIPELINE_STAGE_VERTEX_SHADER_BIT; break; in getPipelineStageFlags() 654 …case GraphicsShaderType::TESS_CONTROL: stageFlags |= VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER… in getPipelineStageFlags() 655 …case GraphicsShaderType::TESS_EVAL: stageFlags |= VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADE… in getPipelineStageFlags() 656 … case GraphicsShaderType::GEOMETRY: stageFlags |= VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT; break; in getPipelineStageFlags() 657 case GraphicsShaderType::FRAG: stageFlags |= VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT; break; in getPipelineStageFlags() [all …]
|
D | vktPipelinePushConstantTests.cpp | 144 std::string getShaderStageNameStr (VkShaderStageFlags stageFlags) in getShaderStageNameStr() argument 168 if (stageFlags & shaderStages[stageNdx]) in getShaderStageNameStr() 938 VkShaderStageFlags stageFlags = (VkShaderStageFlags)0u; in getPushConstantUpdates() local 956 stageFlags |= m_pushConstantRange[rangeNdx].range.shaderStage; in getPushConstantUpdates() 960 if (!stageFlags || !updateRange) in getPushConstantUpdates() 964 if (stageFlags != lastStageFlags) in getPushConstantUpdates() 968 stageFlags, // VkShaderStageFlags stageFlags; in getPushConstantUpdates() 974 lastStageFlags = stageFlags; in getPushConstantUpdates() 1000 …Flags stageFlags " << getShaderStageNameStr(pushConstantUpdates[pushNdx].stageFlags) << ",\n" in updatePushConstants() 1006 …vk.cmdPushConstants(cmdBuffer, pipelineLayout, pushConstantUpdates[pushNdx].stageFlags, pushConsta… in updatePushConstants() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineNoPositionTests.cpp | 390 VkShaderStageFlags stageFlags = 0u; in iterate() local 402 stageFlags |= VK_SHADER_STAGE_VERTEX_BIT; in iterate() 407 stageFlags |= VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT; in iterate() 412 stageFlags |= VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT; in iterate() 417 stageFlags |= VK_SHADER_STAGE_GEOMETRY_BIT; in iterate() 421 stageFlags |= VK_SHADER_STAGE_FRAGMENT_BIT; in iterate() 546 layoutBuilder.addSingleBinding(VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, stageFlags); in iterate()
|
D | vktPipelineShaderModuleIdentifierTests.cpp | 339 : stageFlags (stageFlags_) in PipelineExecutableProperty() 347 const VkShaderStageFlags stageFlags; member 366 …return (a.stageFlags == b.stageFlags && a.name == b.name && a.description == b.description && a.su… in operator ==() 378 << "stageFlags=\"" << prop.stageFlags << "\", " in operator <<() 647 VkPipelineStageFlags stageFlags = 0u; in getPipelineStageFlags() local 653 case GraphicsShaderType::VERTEX: stageFlags |= VK_PIPELINE_STAGE_VERTEX_SHADER_BIT; break; in getPipelineStageFlags() 654 …case GraphicsShaderType::TESS_CONTROL: stageFlags |= VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER… in getPipelineStageFlags() 655 …case GraphicsShaderType::TESS_EVAL: stageFlags |= VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADE… in getPipelineStageFlags() 656 … case GraphicsShaderType::GEOMETRY: stageFlags |= VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT; break; in getPipelineStageFlags() 657 case GraphicsShaderType::FRAG: stageFlags |= VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT; break; in getPipelineStageFlags() [all …]
|
D | vktPipelinePushConstantTests.cpp | 144 std::string getShaderStageNameStr (VkShaderStageFlags stageFlags) in getShaderStageNameStr() argument 168 if (stageFlags & shaderStages[stageNdx]) in getShaderStageNameStr() 938 VkShaderStageFlags stageFlags = (VkShaderStageFlags)0u; in getPushConstantUpdates() local 956 stageFlags |= m_pushConstantRange[rangeNdx].range.shaderStage; in getPushConstantUpdates() 960 if (!stageFlags || !updateRange) in getPushConstantUpdates() 964 if (stageFlags != lastStageFlags) in getPushConstantUpdates() 968 stageFlags, // VkShaderStageFlags stageFlags; in getPushConstantUpdates() 974 lastStageFlags = stageFlags; in getPushConstantUpdates() 1000 …Flags stageFlags " << getShaderStageNameStr(pushConstantUpdates[pushNdx].stageFlags) << ",\n" in updatePushConstants() 1006 …vk.cmdPushConstants(cmdBuffer, pipelineLayout, pushConstantUpdates[pushNdx].stageFlags, pushConsta… in updatePushConstants() [all …]
|
/third_party/mesa3d/src/amd/vulkan/radix_sort/ |
D | radix_sort_vk.c | 214 { .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, // in radix_sort_vk_create() 218 { .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, // in radix_sort_vk_create() 222 { .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, // in radix_sort_vk_create() 226 { .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, // in radix_sort_vk_create() 230 { .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, // in radix_sort_vk_create() 234 { .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, // in radix_sort_vk_create() 238 { .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, // in radix_sort_vk_create() 242 { .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, // in radix_sort_vk_create()
|
D | radv_radix_sort.c | 169 VkShaderStageFlags stageFlags, uint32_t offset, uint32_t size, in vkCmdPushConstants() argument 173 cmd_buffer->device->vk.dispatch_table.CmdPushConstants(commandBuffer, layout, stageFlags, offset, in vkCmdPushConstants()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_descriptor_set.c | 118 lvp_foreach_stage(s, binding->stageFlags) { in lvp_CreateDescriptorSetLayout() 138 lvp_foreach_stage(s, binding->stageFlags) { in lvp_CreateDescriptorSetLayout() 144 lvp_foreach_stage(s, binding->stageFlags) { in lvp_CreateDescriptorSetLayout() 153 lvp_foreach_stage(s, binding->stageFlags) { in lvp_CreateDescriptorSetLayout() 162 lvp_foreach_stage(s, binding->stageFlags) { in lvp_CreateDescriptorSetLayout() 170 lvp_foreach_stage(s, binding->stageFlags) { in lvp_CreateDescriptorSetLayout() 179 set_layout->shader_stages |= binding->stageFlags; in lvp_CreateDescriptorSetLayout() 295 layout->push_constant_stages |= (range->stageFlags & BITFIELD_MASK(MESA_SHADER_STAGES)); in lvp_CreatePipelineLayout()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/descriptor_indexing/ |
D | vktDescriptorSetsIndexingTests.cpp | 125 VkShaderStageFlags stageFlags; // used only to build a proper program member 137 VkShaderStageFlags stageFlags; member 160 : stageFlags (stageFlags_) in TestParams() 563 VkShaderStageFlags{VK_SHADER_STAGE_FRAGMENT_BIT} : m_testParams.stageFlags; in createDescriptorSetLayout() 752 if (m_testParams.stageFlags & VK_SHADER_STAGE_COMPUTE_BIT) in constructShaderModules() 758 if (m_testParams.stageFlags & VK_SHADER_STAGE_FRAGMENT_BIT) in constructShaderModules() 765 if (m_testParams.stageFlags & VK_SHADER_STAGE_VERTEX_BIT) in constructShaderModules() 781 …if ((m_testParams.stageFlags & VK_SHADER_STAGE_VERTEX_BIT) || (m_testParams.stageFlags & VK_SHADER… in createRenderPass() 793 m_testParams.stageFlags, // stageFlags in makePushConstantRange() 828 { DE_ASSERT(VK_SHADER_STAGE_ALL != m_testParams.stageFlags); in createPipeline() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/ |
D | vktDescriptorSetsIndexingTests.cpp | 125 VkShaderStageFlags stageFlags; // used only to build a proper program member 137 VkShaderStageFlags stageFlags; member 160 : stageFlags (stageFlags_) in TestParams() 563 VkShaderStageFlags{VK_SHADER_STAGE_FRAGMENT_BIT} : m_testParams.stageFlags; in createDescriptorSetLayout() 752 if (m_testParams.stageFlags & VK_SHADER_STAGE_COMPUTE_BIT) in constructShaderModules() 758 if (m_testParams.stageFlags & VK_SHADER_STAGE_FRAGMENT_BIT) in constructShaderModules() 765 if (m_testParams.stageFlags & VK_SHADER_STAGE_VERTEX_BIT) in constructShaderModules() 781 …if ((m_testParams.stageFlags & VK_SHADER_STAGE_VERTEX_BIT) || (m_testParams.stageFlags & VK_SHADER… in createRenderPass() 793 m_testParams.stageFlags, // stageFlags in makePushConstantRange() 828 { DE_ASSERT(VK_SHADER_STAGE_ALL != m_testParams.stageFlags); in createPipeline() [all …]
|
/third_party/skia/src/gpu/vk/ |
D | GrVkDescriptorSetManager.cpp | 81 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/mesa3d/src/amd/vulkan/ |
D | radv_meta_bufimage.c | 111 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_itob_state() 116 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_itob_state() 289 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_btoi_state() 294 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_btoi_state() 464 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_btoi_r32g32b32_state() 469 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_btoi_r32g32b32_state() 651 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_itoi_state() 656 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_itoi_state() 819 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_itoi_r32g32b32_state() 824 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_itoi_r32g32b32_state() [all …]
|
D | radv_meta_fmask_expand.c | 230 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_fmask_expand_state() 235 .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT, in radv_device_init_meta_fmask_expand_state()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/ |
D | vktBindingShaderAccessTests.cpp | 1150 vk::VkShaderStageFlags stageFlags, 1194 vk::VkShaderStageFlags stageFlags, 1306 vk::VkShaderStageFlags stageFlags, in BufferRenderInstance() argument 1319 , m_stageFlags (stageFlags) in BufferRenderInstance() 1511 vk::VkShaderStageFlags stageFlags, in createDescriptorSetLayouts() argument 1535 builder.addSingleBinding(descriptorType, stageFlags); in createDescriptorSetLayouts() 1539 builder.addSingleBinding(descriptorType, stageFlags); in createDescriptorSetLayouts() 1540 builder.addSingleBinding(descriptorType, stageFlags); in createDescriptorSetLayouts() 1544 builder.addSingleIndexedBinding(descriptorType, stageFlags, 0u); in createDescriptorSetLayouts() 1545 builder.addSingleIndexedBinding(descriptorType, stageFlags, 2u); in createDescriptorSetLayouts() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/ |
D | vktBindingShaderAccessTests.cpp | 1150 vk::VkShaderStageFlags stageFlags, 1194 vk::VkShaderStageFlags stageFlags, 1306 vk::VkShaderStageFlags stageFlags, in BufferRenderInstance() argument 1319 , m_stageFlags (stageFlags) in BufferRenderInstance() 1511 vk::VkShaderStageFlags stageFlags, in createDescriptorSetLayouts() argument 1535 builder.addSingleBinding(descriptorType, stageFlags); in createDescriptorSetLayouts() 1539 builder.addSingleBinding(descriptorType, stageFlags); in createDescriptorSetLayouts() 1540 builder.addSingleBinding(descriptorType, stageFlags); in createDescriptorSetLayouts() 1544 builder.addSingleIndexedBinding(descriptorType, stageFlags, 0u); in createDescriptorSetLayouts() 1545 builder.addSingleIndexedBinding(descriptorType, stageFlags, 2u); in createDescriptorSetLayouts() [all …]
|
D | vktBindingValveMutableTests.cpp | 1545 …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/external/vulkancts/modules_no_buildgn/vulkan/util/ |
D | vktDrawUtil.cpp | 515 VkShaderStageFlags stageFlags = (VkShaderStageFlags)0; in registerDrawObject() local 522 stageFlags |= vulkanProgram.shaders[shaderNdx].stage; in registerDrawObject() 545 DE_UNREF(stageFlags); // For release builds. in registerDrawObject() 549 …(stageFlags & (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT | VK_SHADER_STAGE_TESSELLATION_EVALUATION_… in registerDrawObject()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util/ |
D | vktDrawUtil.cpp | 515 VkShaderStageFlags stageFlags = (VkShaderStageFlags)0; in registerDrawObject() local 522 stageFlags |= vulkanProgram.shaders[shaderNdx].stage; in registerDrawObject() 545 DE_UNREF(stageFlags); // For release builds. in registerDrawObject() 549 …(stageFlags & (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT | VK_SHADER_STAGE_TESSELLATION_EVALUATION_… in registerDrawObject()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiDescriptorPoolTests.cpp | 237 …VkShaderStageFlags stageFlags = (descriptorType != VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT) ? VK_SHADE… in outOfPoolMemoryTest() local 243 stageFlags, // VkShaderStageFlags stageFlags; in outOfPoolMemoryTest()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
D | vktApiDescriptorPoolTests.cpp | 237 …VkShaderStageFlags stageFlags = (descriptorType != VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT) ? VK_SHADE… in outOfPoolMemoryTest() local 243 stageFlags, // VkShaderStageFlags stageFlags; in outOfPoolMemoryTest()
|