[{"data":1,"prerenderedAt":528},["ShallowReactive",2],{"mbbSquTIyJ":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":527,"_id":4},"vkGetShaderModuleIdentifierEXT","Query a unique identifier for a shader module","VK_EXT_shader_module_identifier","protos",[],{"type":10,"children":11,"toc":525},"root",[12,20,277,322,389,419,519],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","Shader modules have unique identifiers associated with them.\nTo query an implementation provided identifier, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,123],{"type":13,"tag":25,"props":26,"children":32},"pre",{"className":27,"code":28,"filename":29,"language":30,"meta":31,"style":31},"language-c shiki shiki-themes github-light-default github-dark-default","void vkGetShaderModuleIdentifierEXT(\n VkDevice device,\n VkShaderModule shaderModule,\n VkShaderModuleIdentifierEXT* pIdentifier);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,61,81,99],{"type":13,"tag":38,"props":39,"children":42},"span",{"class":40,"line":41},"line",1,[43,49,55],{"type":13,"tag":38,"props":44,"children":46},{"style":45},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[47],{"type":18,"value":48},"void",{"type":13,"tag":38,"props":50,"children":52},{"style":51},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[53],{"type":18,"value":54}," vkGetShaderModuleIdentifierEXT",{"type":13,"tag":38,"props":56,"children":58},{"style":57},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[59],{"type":18,"value":60},"(\n",{"type":13,"tag":38,"props":62,"children":64},{"class":40,"line":63},2,[65,70,76],{"type":13,"tag":38,"props":66,"children":67},{"style":57},[68],{"type":18,"value":69}," VkDevice ",{"type":13,"tag":38,"props":71,"children":73},{"style":72},"--shiki-default:#953800;--shiki-dark:#FFA657",[74],{"type":18,"value":75},"device",{"type":13,"tag":38,"props":77,"children":78},{"style":57},[79],{"type":18,"value":80},",\n",{"type":13,"tag":38,"props":82,"children":84},{"class":40,"line":83},3,[85,90,95],{"type":13,"tag":38,"props":86,"children":87},{"style":57},[88],{"type":18,"value":89}," VkShaderModule ",{"type":13,"tag":38,"props":91,"children":92},{"style":72},[93],{"type":18,"value":94},"shaderModule",{"type":13,"tag":38,"props":96,"children":97},{"style":57},[98],{"type":18,"value":80},{"type":13,"tag":38,"props":100,"children":102},{"class":40,"line":101},4,[103,108,113,118],{"type":13,"tag":38,"props":104,"children":105},{"style":57},[106],{"type":18,"value":107}," VkShaderModuleIdentifierEXT",{"type":13,"tag":38,"props":109,"children":110},{"style":45},[111],{"type":18,"value":112},"*",{"type":13,"tag":38,"props":114,"children":115},{"style":72},[116],{"type":18,"value":117}," pIdentifier",{"type":13,"tag":38,"props":119,"children":120},{"style":57},[121],{"type":18,"value":122},");\n",{"type":13,"tag":25,"props":124,"children":129},{"className":125,"code":126,"filename":127,"language":128,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_shader_module_identifier_ext(\n device: crate :: vk :: vk::Device,\n shader_module: vk::ShaderModule,\n p_identifier: *mut vk::ShaderModuleIdentifierEXT,\n);\n","Rust","rs",[130],{"type":13,"tag":34,"props":131,"children":132},{"__ignoreMap":31},[133,155,206,235,269],{"type":13,"tag":38,"props":134,"children":135},{"class":40,"line":41},[136,141,146,151],{"type":13,"tag":38,"props":137,"children":138},{"style":45},[139],{"type":18,"value":140},"pub",{"type":13,"tag":38,"props":142,"children":143},{"style":45},[144],{"type":18,"value":145}," fn",{"type":13,"tag":38,"props":147,"children":148},{"style":51},[149],{"type":18,"value":150}," get_shader_module_identifier_ext",{"type":13,"tag":38,"props":152,"children":153},{"style":57},[154],{"type":18,"value":60},{"type":13,"tag":38,"props":156,"children":157},{"class":40,"line":63},[158,163,168,173,178,183,188,193,197,202],{"type":13,"tag":38,"props":159,"children":160},{"style":57},[161],{"type":18,"value":162}," device",{"type":13,"tag":38,"props":164,"children":165},{"style":45},[166],{"type":18,"value":167},":",{"type":13,"tag":38,"props":169,"children":170},{"style":45},[171],{"type":18,"value":172}," crate",{"type":13,"tag":38,"props":174,"children":175},{"style":45},[176],{"type":18,"value":177}," ::",{"type":13,"tag":38,"props":179,"children":180},{"style":57},[181],{"type":18,"value":182}," vk ",{"type":13,"tag":38,"props":184,"children":185},{"style":45},[186],{"type":18,"value":187},"::",{"type":13,"tag":38,"props":189,"children":190},{"style":72},[191],{"type":18,"value":192}," vk",{"type":13,"tag":38,"props":194,"children":195},{"style":45},[196],{"type":18,"value":187},{"type":13,"tag":38,"props":198,"children":199},{"style":72},[200],{"type":18,"value":201},"Device",{"type":13,"tag":38,"props":203,"children":204},{"style":57},[205],{"type":18,"value":80},{"type":13,"tag":38,"props":207,"children":208},{"class":40,"line":83},[209,214,218,222,226,231],{"type":13,"tag":38,"props":210,"children":211},{"style":57},[212],{"type":18,"value":213}," shader_module",{"type":13,"tag":38,"props":215,"children":216},{"style":45},[217],{"type":18,"value":167},{"type":13,"tag":38,"props":219,"children":220},{"style":72},[221],{"type":18,"value":192},{"type":13,"tag":38,"props":223,"children":224},{"style":45},[225],{"type":18,"value":187},{"type":13,"tag":38,"props":227,"children":228},{"style":72},[229],{"type":18,"value":230},"ShaderModule",{"type":13,"tag":38,"props":232,"children":233},{"style":57},[234],{"type":18,"value":80},{"type":13,"tag":38,"props":236,"children":237},{"class":40,"line":101},[238,243,247,252,256,260,265],{"type":13,"tag":38,"props":239,"children":240},{"style":57},[241],{"type":18,"value":242}," p_identifier",{"type":13,"tag":38,"props":244,"children":245},{"style":45},[246],{"type":18,"value":167},{"type":13,"tag":38,"props":248,"children":249},{"style":45},[250],{"type":18,"value":251}," *mut",{"type":13,"tag":38,"props":253,"children":254},{"style":72},[255],{"type":18,"value":192},{"type":13,"tag":38,"props":257,"children":258},{"style":45},[259],{"type":18,"value":187},{"type":13,"tag":38,"props":261,"children":262},{"style":72},[263],{"type":18,"value":264},"ShaderModuleIdentifierEXT",{"type":13,"tag":38,"props":266,"children":267},{"style":57},[268],{"type":18,"value":80},{"type":13,"tag":38,"props":270,"children":272},{"class":40,"line":271},5,[273],{"type":13,"tag":38,"props":274,"children":275},{"style":57},[276],{"type":18,"value":122},{"type":13,"tag":278,"props":279,"children":280},"ul",{},[281,292,302],{"type":13,"tag":282,"props":283,"children":284},"li",{},[285,290],{"type":13,"tag":34,"props":286,"children":288},{"className":287},[],[289],{"type":18,"value":75},{"type":18,"value":291}," is the logical device that created the shader module.",{"type":13,"tag":282,"props":293,"children":294},{},[295,300],{"type":13,"tag":34,"props":296,"children":298},{"className":297},[],[299],{"type":18,"value":94},{"type":18,"value":301}," is the handle of the shader module.",{"type":13,"tag":282,"props":303,"children":304},{},[305,311,313,320],{"type":13,"tag":34,"props":306,"children":308},{"className":307},[],[309],{"type":18,"value":310},"pIdentifier",{"type":18,"value":312}," is a pointer to the returned\n",{"type":13,"tag":314,"props":315,"children":317},"a",{"href":316},"/man/VkShaderModuleIdentifierEXT",[318],{"type":18,"value":319},"VkShaderModuleIdentifierEXT",{"type":18,"value":321},".",{"type":13,"tag":14,"props":323,"children":324},{},[325,327,332,334,340,342,348,350,355,357,361,363,367,369,375,377,387],{"type":18,"value":326},"The identifier returned by the implementation ",{"type":13,"tag":328,"props":329,"children":331},"normative",{"type":330},"must",[],{"type":18,"value":333}," only depend on\n",{"type":13,"tag":34,"props":335,"children":337},{"className":336},[],[338],{"type":18,"value":339},"shaderIdentifierAlgorithmUUID",{"type":18,"value":341}," and information provided in the\n",{"type":13,"tag":314,"props":343,"children":345},{"href":344},"/man/VkShaderModuleCreateInfo",[346],{"type":18,"value":347},"VkShaderModuleCreateInfo",{"type":18,"value":349}," which created ",{"type":13,"tag":34,"props":351,"children":353},{"className":352},[],[354],{"type":18,"value":94},{"type":18,"value":356},".\nThe implementation ",{"type":13,"tag":328,"props":358,"children":360},{"type":359},"may",[],{"type":18,"value":362}," return equal identifiers for two different\n",{"type":13,"tag":314,"props":364,"children":365},{"href":344},[366],{"type":18,"value":347},{"type":18,"value":368}," structures if the difference does not affect\npipeline compilation.\nIdentifiers are only meaningful on different ",{"type":13,"tag":314,"props":370,"children":372},{"href":371},"/man/VkDevice",[373],{"type":18,"value":374},"VkDevice",{"type":18,"value":376}," objects if the\ndevice the identifier was queried from had the same\n",{"type":13,"tag":314,"props":378,"children":380},{"href":379},"/man/VkPhysicalDeviceShaderModuleIdentifierPropertiesEXT#limits-shaderModuleIdentifierAlgorithmUUID",[381],{"type":13,"tag":34,"props":382,"children":384},{"className":383},[],[385],{"type":18,"value":386},"shaderModuleIdentifierAlgorithmUUID",{"type":18,"value":388}," as the device consuming the\nidentifier.",{"type":13,"tag":390,"props":391,"children":393},"validity-group",{"name":392},"Valid Usage",[394],{"type":13,"tag":395,"props":396,"children":398},"validity-field",{"name":397},"VUID-vkGetShaderModuleIdentifierEXT-shaderModuleIdentifier-06884",[399],{"type":13,"tag":14,"props":400,"children":401},{},[402,412,414,417],{"type":13,"tag":314,"props":403,"children":405},{"href":404},"/man/VkPhysicalDeviceShaderModuleIdentifierFeaturesEXT#features-shaderModuleIdentifier",[406],{"type":13,"tag":34,"props":407,"children":409},{"className":408},[],[410],{"type":18,"value":411},"shaderModuleIdentifier",{"type":18,"value":413},"\nfeature ",{"type":13,"tag":328,"props":415,"children":416},{"type":330},[],{"type":18,"value":418}," be enabled",{"type":13,"tag":390,"props":420,"children":422},{"name":421},"Valid Usage (Implicit)",[423,448,472,496],{"type":13,"tag":395,"props":424,"children":426},{"name":425},"VUID-vkGetShaderModuleIdentifierEXT-device-parameter",[427],{"type":13,"tag":14,"props":428,"children":429},{},[430,435,437,440,442,446],{"type":13,"tag":34,"props":431,"children":433},{"className":432},[],[434],{"type":18,"value":75},{"type":18,"value":436}," ",{"type":13,"tag":328,"props":438,"children":439},{"type":330},[],{"type":18,"value":441}," be a valid ",{"type":13,"tag":314,"props":443,"children":444},{"href":371},[445],{"type":18,"value":374},{"type":18,"value":447}," handle",{"type":13,"tag":395,"props":449,"children":451},{"name":450},"VUID-vkGetShaderModuleIdentifierEXT-shaderModule-parameter",[452],{"type":13,"tag":14,"props":453,"children":454},{},[455,460,461,464,465,471],{"type":13,"tag":34,"props":456,"children":458},{"className":457},[],[459],{"type":18,"value":94},{"type":18,"value":436},{"type":13,"tag":328,"props":462,"children":463},{"type":330},[],{"type":18,"value":441},{"type":13,"tag":314,"props":466,"children":468},{"href":467},"/man/VkShaderModule",[469],{"type":18,"value":470},"VkShaderModule",{"type":18,"value":447},{"type":13,"tag":395,"props":473,"children":475},{"name":474},"VUID-vkGetShaderModuleIdentifierEXT-pIdentifier-parameter",[476],{"type":13,"tag":14,"props":477,"children":478},{},[479,484,485,488,490,494],{"type":13,"tag":34,"props":480,"children":482},{"className":481},[],[483],{"type":18,"value":310},{"type":18,"value":436},{"type":13,"tag":328,"props":486,"children":487},{"type":330},[],{"type":18,"value":489}," be a valid pointer to a ",{"type":13,"tag":314,"props":491,"children":492},{"href":316},[493],{"type":18,"value":319},{"type":18,"value":495}," structure",{"type":13,"tag":395,"props":497,"children":499},{"name":498},"VUID-vkGetShaderModuleIdentifierEXT-shaderModule-parent",[500],{"type":13,"tag":14,"props":501,"children":502},{},[503,508,509,512,514],{"type":13,"tag":34,"props":504,"children":506},{"className":505},[],[507],{"type":18,"value":94},{"type":18,"value":436},{"type":13,"tag":328,"props":510,"children":511},{"type":330},[],{"type":18,"value":513}," have been created, allocated, or retrieved from ",{"type":13,"tag":34,"props":515,"children":517},{"className":516},[],[518],{"type":18,"value":75},{"type":13,"tag":520,"props":521,"children":522},"style",{},[523],{"type":18,"value":524},"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":31,"searchDepth":63,"depth":63,"links":526},[],"markdown",1725732621960]