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