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