[{"data":1,"prerenderedAt":480},["ShallowReactive",2],{"OsRYpsl3IZ":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":479,"_id":4},"VkPhysicalDeviceShaderClockFeaturesKHR","Structure describing features supported by VK_KHR_shader_clock","VK_KHR_shader_clock","structs",[],{"type":10,"children":11,"toc":477},"root",[12,28,271,276,379,440,471],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","The ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkPhysicalDeviceShaderClockFeaturesKHR",[25],{"type":18,"value":4},{"type":18,"value":27}," structure is defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,118],{"type":13,"tag":33,"props":34,"children":40},"pre",{"className":35,"code":36,"filename":37,"language":38,"meta":39,"style":39},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkPhysicalDeviceShaderClockFeaturesKHR {\n VkStructureType sType;\n void* pNext;\n VkBool32 shaderSubgroupClock;\n VkBool32 shaderDeviceClock;\n} VkPhysicalDeviceShaderClockFeaturesKHR;\n","C","c","",[41],{"type":13,"tag":42,"props":43,"children":44},"code",{"__ignoreMap":39},[45,68,77,91,100,109],{"type":13,"tag":46,"props":47,"children":50},"span",{"class":48,"line":49},"line",1,[51,57,62],{"type":13,"tag":46,"props":52,"children":54},{"style":53},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[55],{"type":18,"value":56},"typedef",{"type":13,"tag":46,"props":58,"children":59},{"style":53},[60],{"type":18,"value":61}," struct",{"type":13,"tag":46,"props":63,"children":65},{"style":64},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[66],{"type":18,"value":67}," VkPhysicalDeviceShaderClockFeaturesKHR {\n",{"type":13,"tag":46,"props":69,"children":71},{"class":48,"line":70},2,[72],{"type":13,"tag":46,"props":73,"children":74},{"style":64},[75],{"type":18,"value":76}," VkStructureType sType;\n",{"type":13,"tag":46,"props":78,"children":80},{"class":48,"line":79},3,[81,86],{"type":13,"tag":46,"props":82,"children":83},{"style":53},[84],{"type":18,"value":85}," void*",{"type":13,"tag":46,"props":87,"children":88},{"style":64},[89],{"type":18,"value":90}," pNext;\n",{"type":13,"tag":46,"props":92,"children":94},{"class":48,"line":93},4,[95],{"type":13,"tag":46,"props":96,"children":97},{"style":64},[98],{"type":18,"value":99}," VkBool32 shaderSubgroupClock;\n",{"type":13,"tag":46,"props":101,"children":103},{"class":48,"line":102},5,[104],{"type":13,"tag":46,"props":105,"children":106},{"style":64},[107],{"type":18,"value":108}," VkBool32 shaderDeviceClock;\n",{"type":13,"tag":46,"props":110,"children":112},{"class":48,"line":111},6,[113],{"type":13,"tag":46,"props":114,"children":115},{"style":64},[116],{"type":18,"value":117},"} VkPhysicalDeviceShaderClockFeaturesKHR;\n",{"type":13,"tag":33,"props":119,"children":124},{"className":120,"code":121,"filename":122,"language":123,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDeviceShaderClockFeaturesKHR {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n shader_subgroup_clock: vk::Bool32,\n shader_device_clock: vk::Bool32,\n}\n","Rust","rs",[125],{"type":13,"tag":42,"props":126,"children":127},{"__ignoreMap":39},[128,151,184,206,235,263],{"type":13,"tag":46,"props":129,"children":130},{"class":48,"line":49},[131,136,140,146],{"type":13,"tag":46,"props":132,"children":133},{"style":53},[134],{"type":18,"value":135},"pub",{"type":13,"tag":46,"props":137,"children":138},{"style":53},[139],{"type":18,"value":61},{"type":13,"tag":46,"props":141,"children":143},{"style":142},"--shiki-default:#953800;--shiki-dark:#FFA657",[144],{"type":18,"value":145}," PhysicalDeviceShaderClockFeaturesKHR",{"type":13,"tag":46,"props":147,"children":148},{"style":64},[149],{"type":18,"value":150}," {\n",{"type":13,"tag":46,"props":152,"children":153},{"class":48,"line":70},[154,159,164,169,174,179],{"type":13,"tag":46,"props":155,"children":156},{"style":64},[157],{"type":18,"value":158}," s_type",{"type":13,"tag":46,"props":160,"children":161},{"style":53},[162],{"type":18,"value":163},":",{"type":13,"tag":46,"props":165,"children":166},{"style":142},[167],{"type":18,"value":168}," vk",{"type":13,"tag":46,"props":170,"children":171},{"style":53},[172],{"type":18,"value":173},"::",{"type":13,"tag":46,"props":175,"children":176},{"style":142},[177],{"type":18,"value":178},"StructureType",{"type":13,"tag":46,"props":180,"children":181},{"style":64},[182],{"type":18,"value":183},",\n",{"type":13,"tag":46,"props":185,"children":186},{"class":48,"line":79},[187,192,196,201],{"type":13,"tag":46,"props":188,"children":189},{"style":64},[190],{"type":18,"value":191}," p_next",{"type":13,"tag":46,"props":193,"children":194},{"style":53},[195],{"type":18,"value":163},{"type":13,"tag":46,"props":197,"children":198},{"style":53},[199],{"type":18,"value":200}," *mut",{"type":13,"tag":46,"props":202,"children":203},{"style":64},[204],{"type":18,"value":205}," c_void,\n",{"type":13,"tag":46,"props":207,"children":208},{"class":48,"line":93},[209,214,218,222,226,231],{"type":13,"tag":46,"props":210,"children":211},{"style":64},[212],{"type":18,"value":213}," shader_subgroup_clock",{"type":13,"tag":46,"props":215,"children":216},{"style":53},[217],{"type":18,"value":163},{"type":13,"tag":46,"props":219,"children":220},{"style":142},[221],{"type":18,"value":168},{"type":13,"tag":46,"props":223,"children":224},{"style":53},[225],{"type":18,"value":173},{"type":13,"tag":46,"props":227,"children":228},{"style":142},[229],{"type":18,"value":230},"Bool32",{"type":13,"tag":46,"props":232,"children":233},{"style":64},[234],{"type":18,"value":183},{"type":13,"tag":46,"props":236,"children":237},{"class":48,"line":102},[238,243,247,251,255,259],{"type":13,"tag":46,"props":239,"children":240},{"style":64},[241],{"type":18,"value":242}," shader_device_clock",{"type":13,"tag":46,"props":244,"children":245},{"style":53},[246],{"type":18,"value":163},{"type":13,"tag":46,"props":248,"children":249},{"style":142},[250],{"type":18,"value":168},{"type":13,"tag":46,"props":252,"children":253},{"style":53},[254],{"type":18,"value":173},{"type":13,"tag":46,"props":256,"children":257},{"style":142},[258],{"type":18,"value":230},{"type":13,"tag":46,"props":260,"children":261},{"style":64},[262],{"type":18,"value":183},{"type":13,"tag":46,"props":264,"children":265},{"class":48,"line":111},[266],{"type":13,"tag":46,"props":267,"children":268},{"style":64},[269],{"type":18,"value":270},"}\n",{"type":13,"tag":14,"props":272,"children":273},{},[274],{"type":18,"value":275},"This structure describes the following features:",{"type":13,"tag":277,"props":278,"children":279},"ul",{},[280,300,319,352],{"type":13,"tag":281,"props":282,"children":283},"li",{},[284,290,292,298],{"type":13,"tag":42,"props":285,"children":287},{"className":286},[],[288],{"type":18,"value":289},"sType",{"type":18,"value":291}," is a ",{"type":13,"tag":21,"props":293,"children":295},{"href":294},"/man/VkStructureType",[296],{"type":18,"value":297},"VkStructureType",{"type":18,"value":299}," value identifying this structure.",{"type":13,"tag":281,"props":301,"children":302},{},[303,309,311,317],{"type":13,"tag":42,"props":304,"children":306},{"className":305},[],[307],{"type":18,"value":308},"pNext",{"type":18,"value":310}," is ",{"type":13,"tag":42,"props":312,"children":314},{"className":313},[],[315],{"type":18,"value":316},"NULL",{"type":18,"value":318}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":281,"props":320,"children":321},{},[322,327,329,335,337,342,344,350],{"type":13,"tag":323,"props":324,"children":326},"anchor",{"id":325},"features-shaderSubgroupClock",[],{"type":18,"value":328}," ",{"type":13,"tag":42,"props":330,"children":332},{"className":331},[],[333],{"type":18,"value":334},"shaderSubgroupClock",{"type":18,"value":336}," indicates\nwhether shaders ",{"type":13,"tag":338,"props":339,"children":341},"normative",{"type":340},"can",[],{"type":18,"value":343}," perform ",{"type":13,"tag":42,"props":345,"children":347},{"className":346},[],[348],{"type":18,"value":349},"Subgroup",{"type":18,"value":351}," scoped clock reads.",{"type":13,"tag":281,"props":353,"children":354},{},[355,359,360,366,368,371,372,378],{"type":13,"tag":323,"props":356,"children":358},{"id":357},"features-shaderDeviceClock",[],{"type":18,"value":328},{"type":13,"tag":42,"props":361,"children":363},{"className":362},[],[364],{"type":18,"value":365},"shaderDeviceClock",{"type":18,"value":367}," indicates whether\nshaders ",{"type":13,"tag":338,"props":369,"children":370},{"type":340},[],{"type":18,"value":343},{"type":13,"tag":42,"props":373,"children":375},{"className":374},[],[376],{"type":18,"value":377},"Device",{"type":18,"value":351},{"type":13,"tag":14,"props":380,"children":381},{},[382,384,389,391,396,398,404,406,412,414,419,420,423,425,430,432,438],{"type":18,"value":383},"If the ",{"type":13,"tag":42,"props":385,"children":387},{"className":386},[],[388],{"type":18,"value":4},{"type":18,"value":390}," structure is included in the ",{"type":13,"tag":42,"props":392,"children":394},{"className":393},[],[395],{"type":18,"value":308},{"type":18,"value":397}," chain of the\n",{"type":13,"tag":21,"props":399,"children":401},{"href":400},"/man/VkPhysicalDeviceFeatures2",[402],{"type":18,"value":403},"VkPhysicalDeviceFeatures2",{"type":18,"value":405}," structure passed to\n",{"type":13,"tag":21,"props":407,"children":409},{"href":408},"/man/vkGetPhysicalDeviceFeatures2",[410],{"type":18,"value":411},"vkGetPhysicalDeviceFeatures2",{"type":18,"value":413},", it is filled in to indicate whether each\ncorresponding feature is supported.\n",{"type":13,"tag":42,"props":415,"children":417},{"className":416},[],[418],{"type":18,"value":4},{"type":18,"value":328},{"type":13,"tag":338,"props":421,"children":422},{"type":340},[],{"type":18,"value":424}," also be used in the ",{"type":13,"tag":42,"props":426,"children":428},{"className":427},[],[429],{"type":18,"value":308},{"type":18,"value":431}," chain of\n",{"type":13,"tag":21,"props":433,"children":435},{"href":434},"/man/VkDeviceCreateInfo",[436],{"type":18,"value":437},"VkDeviceCreateInfo",{"type":18,"value":439}," to selectively enable these features.",{"type":13,"tag":441,"props":442,"children":444},"validity-group",{"name":443},"Valid Usage (Implicit)",[445],{"type":13,"tag":446,"props":447,"children":449},"validity-field",{"name":448},"VUID-VkPhysicalDeviceShaderClockFeaturesKHR-sType-sType",[450],{"type":13,"tag":14,"props":451,"children":452},{},[453,458,459,463,465],{"type":13,"tag":42,"props":454,"children":456},{"className":455},[],[457],{"type":18,"value":289},{"type":18,"value":328},{"type":13,"tag":338,"props":460,"children":462},{"type":461},"must",[],{"type":18,"value":464}," be ",{"type":13,"tag":42,"props":466,"children":468},{"className":467},[],[469],{"type":18,"value":470},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CLOCK_FEATURES_KHR",{"type":13,"tag":472,"props":473,"children":474},"style",{},[475],{"type":18,"value":476},"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":39,"searchDepth":70,"depth":70,"links":478},[],"markdown",1725732573794]