[{"data":1,"prerenderedAt":308},["ShallowReactive",2],{"q1WLrlBeiB":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":307,"_id":4},"VkPipelineShaderStageCreateFlagBits","Bitmask controlling how a pipeline shader stage is created","VK_VERSION_1_0","enums",[],{"type":10,"children":11,"toc":305},"root",[12,38,173,225,299],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,36],{"type":18,"value":19},"text","Possible values of the ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":26},"flags",{"type":18,"value":28}," member of\n",{"type":13,"tag":30,"props":31,"children":33},"a",{"href":32},"/man/VkPipelineShaderStageCreateInfo",[34],{"type":18,"value":35},"VkPipelineShaderStageCreateInfo",{"type":18,"value":37}," specifying how a pipeline shader stage\nis created, are:",{"type":13,"tag":39,"props":40,"children":41},"code-group",{},[42,96],{"type":13,"tag":43,"props":44,"children":50},"pre",{"className":45,"code":46,"filename":47,"language":48,"meta":49,"style":49},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkPipelineShaderStageCreateFlagBits {\n\n} VkPipelineShaderStageCreateFlagBits;\n","C","c","",[51],{"type":13,"tag":21,"props":52,"children":53},{"__ignoreMap":49},[54,77,87],{"type":13,"tag":55,"props":56,"children":59},"span",{"class":57,"line":58},"line",1,[60,66,71],{"type":13,"tag":55,"props":61,"children":63},{"style":62},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[64],{"type":18,"value":65},"typedef",{"type":13,"tag":55,"props":67,"children":68},{"style":62},[69],{"type":18,"value":70}," enum",{"type":13,"tag":55,"props":72,"children":74},{"style":73},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[75],{"type":18,"value":76}," VkPipelineShaderStageCreateFlagBits {\n",{"type":13,"tag":55,"props":78,"children":80},{"class":57,"line":79},2,[81],{"type":13,"tag":55,"props":82,"children":84},{"emptyLinePlaceholder":83},true,[85],{"type":18,"value":86},"\n",{"type":13,"tag":55,"props":88,"children":90},{"class":57,"line":89},3,[91],{"type":13,"tag":55,"props":92,"children":93},{"style":73},[94],{"type":18,"value":95},"} VkPipelineShaderStageCreateFlagBits;\n",{"type":13,"tag":43,"props":97,"children":102},{"className":98,"code":99,"filename":100,"language":101,"meta":49,"style":49},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PipelineShaderStageCreateFlagBits(u32);\nimpl PipelineShaderStageCreateFlagBits {\n\n}\n","Rust","rs",[103],{"type":13,"tag":21,"props":104,"children":105},{"__ignoreMap":49},[106,140,157,164],{"type":13,"tag":55,"props":107,"children":108},{"class":57,"line":58},[109,114,119,125,130,135],{"type":13,"tag":55,"props":110,"children":111},{"style":62},[112],{"type":18,"value":113},"pub",{"type":13,"tag":55,"props":115,"children":116},{"style":62},[117],{"type":18,"value":118}," struct",{"type":13,"tag":55,"props":120,"children":122},{"style":121},"--shiki-default:#953800;--shiki-dark:#FFA657",[123],{"type":18,"value":124}," PipelineShaderStageCreateFlagBits",{"type":13,"tag":55,"props":126,"children":127},{"style":73},[128],{"type":18,"value":129},"(",{"type":13,"tag":55,"props":131,"children":132},{"style":121},[133],{"type":18,"value":134},"u32",{"type":13,"tag":55,"props":136,"children":137},{"style":73},[138],{"type":18,"value":139},");\n",{"type":13,"tag":55,"props":141,"children":142},{"class":57,"line":79},[143,148,152],{"type":13,"tag":55,"props":144,"children":145},{"style":62},[146],{"type":18,"value":147},"impl",{"type":13,"tag":55,"props":149,"children":150},{"style":121},[151],{"type":18,"value":124},{"type":13,"tag":55,"props":153,"children":154},{"style":73},[155],{"type":18,"value":156}," {\n",{"type":13,"tag":55,"props":158,"children":159},{"class":57,"line":89},[160],{"type":13,"tag":55,"props":161,"children":162},{"emptyLinePlaceholder":83},[163],{"type":18,"value":86},{"type":13,"tag":55,"props":165,"children":167},{"class":57,"line":166},4,[168],{"type":13,"tag":55,"props":169,"children":170},{"style":73},[171],{"type":18,"value":172},"}\n",{"type":13,"tag":174,"props":175,"children":176},"ul",{},[177,208],{"type":13,"tag":178,"props":179,"children":180},"li",{},[181,187,189,199,201,206],{"type":13,"tag":21,"props":182,"children":184},{"className":183},[],[185],{"type":18,"value":186},"VK_PIPELINE_SHADER_STAGE_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BIT",{"type":18,"value":188},"\nspecifies that the\n",{"type":13,"tag":30,"props":190,"children":192},{"href":191},"/chapters/interfaces#interfaces-builtin-variables-sgs",[193],{"type":13,"tag":21,"props":194,"children":196},{"className":195},[],[197],{"type":18,"value":198},"SubgroupSize",{"type":18,"value":200}," ",{"type":13,"tag":202,"props":203,"children":205},"normative",{"type":204},"may",[],{"type":18,"value":207}," vary in the\nshader stage.",{"type":13,"tag":178,"props":209,"children":210},{},[211,217,219,223],{"type":13,"tag":21,"props":212,"children":214},{"className":213},[],[215],{"type":18,"value":216},"VK_PIPELINE_SHADER_STAGE_CREATE_REQUIRE_FULL_SUBGROUPS_BIT",{"type":18,"value":218},"\nspecifies that the subgroup sizes ",{"type":13,"tag":202,"props":220,"children":222},{"type":221},"must",[],{"type":18,"value":224}," be launched with all invocations\nactive in the\ntask, mesh, or\ncompute stage.",{"type":13,"tag":226,"props":227,"children":228},"note",{},[229],{"type":13,"tag":14,"props":230,"children":231},{},[232,234,240,242,248,250,260,262,272,274,280,282,290,292,297],{"type":18,"value":233},"If ",{"type":13,"tag":21,"props":235,"children":237},{"className":236},[],[238],{"type":18,"value":239},"VK_PIPELINE_SHADER_STAGE_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BIT_EXT",{"type":18,"value":241},"\nand ",{"type":13,"tag":21,"props":243,"children":245},{"className":244},[],[246],{"type":18,"value":247},"VK_PIPELINE_SHADER_STAGE_CREATE_REQUIRE_FULL_SUBGROUPS_BIT_EXT",{"type":18,"value":249}," are\nspecified and ",{"type":13,"tag":30,"props":251,"children":253},{"href":252},"/man/VkPhysicalDeviceSubgroupSizeControlProperties#limits-minSubgroupSize",[254],{"type":13,"tag":21,"props":255,"children":257},{"className":256},[],[258],{"type":18,"value":259},"minSubgroupSize",{"type":18,"value":261}," does not\nequal ",{"type":13,"tag":30,"props":263,"children":265},{"href":264},"/man/VkPhysicalDeviceSubgroupSizeControlProperties#limits-maxSubgroupSize",[266],{"type":13,"tag":21,"props":267,"children":269},{"className":268},[],[270],{"type":18,"value":271},"maxSubgroupSize",{"type":18,"value":273}," and no\n",{"type":13,"tag":30,"props":275,"children":277},{"href":276},"/man/VkPipelineShaderStageRequiredSubgroupSizeCreateInfo#pipelines-required-subgroup-size",[278],{"type":18,"value":279},"required subgroup size",{"type":18,"value":281}," is specified,\nthen the only way to guarantee that the 'X' dimension of the local workgroup\nsize is a multiple of ",{"type":13,"tag":30,"props":283,"children":284},{"href":191},[285],{"type":13,"tag":21,"props":286,"children":288},{"className":287},[],[289],{"type":18,"value":198},{"type":18,"value":291}," is to make it a multiple of ",{"type":13,"tag":21,"props":293,"children":295},{"className":294},[],[296],{"type":18,"value":271},{"type":18,"value":298},".\nUnder these conditions, you are guaranteed full subgroups but not any\nparticular subgroup size.",{"type":13,"tag":300,"props":301,"children":302},"style",{},[303],{"type":18,"value":304},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":49,"searchDepth":79,"depth":79,"links":306},[],"markdown",1725732579527]