[{"data":1,"prerenderedAt":1484},["ShallowReactive",2],{"eKtOsylq4s":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":1483,"_id":4},"VkAccelerationStructureCreateInfoKHR","Structure specifying the parameters of a newly created acceleration structure object","VK_KHR_acceleration_structure","structs",[],{"type":10,"children":11,"toc":1481},"root",[12,28,430,589,608,667,689,718,757,805,1305,1475],{"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,158],{"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 VkAccelerationStructureCreateInfoKHR {\n VkStructureType sType;\n const void* pNext;\n VkAccelerationStructureCreateFlagsKHR createFlags;\n VkBuffer buffer;\n VkDeviceSize offset;\n VkDeviceSize size;\n VkAccelerationStructureTypeKHR type;\n VkDeviceAddress deviceAddress;\n} VkAccelerationStructureCreateInfoKHR;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,104,113,122,131,140,149],{"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}," VkAccelerationStructureCreateInfoKHR {\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,90],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," const",{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":89}," void*",{"type":13,"tag":45,"props":91,"children":92},{"style":63},[93],{"type":18,"value":94}," pNext;\n",{"type":13,"tag":45,"props":96,"children":98},{"class":47,"line":97},4,[99],{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," VkAccelerationStructureCreateFlagsKHR createFlags;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108],{"type":13,"tag":45,"props":109,"children":110},{"style":63},[111],{"type":18,"value":112}," VkBuffer buffer;\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}," VkDeviceSize offset;\n",{"type":13,"tag":45,"props":123,"children":125},{"class":47,"line":124},7,[126],{"type":13,"tag":45,"props":127,"children":128},{"style":63},[129],{"type":18,"value":130}," VkDeviceSize size;\n",{"type":13,"tag":45,"props":132,"children":134},{"class":47,"line":133},8,[135],{"type":13,"tag":45,"props":136,"children":137},{"style":63},[138],{"type":18,"value":139}," VkAccelerationStructureTypeKHR type;\n",{"type":13,"tag":45,"props":141,"children":143},{"class":47,"line":142},9,[144],{"type":13,"tag":45,"props":145,"children":146},{"style":63},[147],{"type":18,"value":148}," VkDeviceAddress deviceAddress;\n",{"type":13,"tag":45,"props":150,"children":152},{"class":47,"line":151},10,[153],{"type":13,"tag":45,"props":154,"children":155},{"style":63},[156],{"type":18,"value":157},"} VkAccelerationStructureCreateInfoKHR;\n",{"type":13,"tag":33,"props":159,"children":164},{"className":160,"code":161,"filename":162,"language":163,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct AccelerationStructureCreateInfoKHR {\n s_type: vk::StructureType,\n p_next: *const c_void,\n create_flags: vk::AccelerationStructureCreateFlagsKHR,\n buffer: vk::Buffer,\n offset: vk::DeviceSize, // Specified in bytes\n size: vk::DeviceSize,\n type: vk::AccelerationStructureTypeKHR,\n device_address: vk::DeviceAddress,\n}\n","Rust","rs",[165],{"type":13,"tag":21,"props":166,"children":167},{"__ignoreMap":39},[168,191,224,246,275,304,340,368,393,422],{"type":13,"tag":45,"props":169,"children":170},{"class":47,"line":48},[171,176,180,186],{"type":13,"tag":45,"props":172,"children":173},{"style":52},[174],{"type":18,"value":175},"pub",{"type":13,"tag":45,"props":177,"children":178},{"style":52},[179],{"type":18,"value":60},{"type":13,"tag":45,"props":181,"children":183},{"style":182},"--shiki-default:#953800;--shiki-dark:#FFA657",[184],{"type":18,"value":185}," AccelerationStructureCreateInfoKHR",{"type":13,"tag":45,"props":187,"children":188},{"style":63},[189],{"type":18,"value":190}," {\n",{"type":13,"tag":45,"props":192,"children":193},{"class":47,"line":69},[194,199,204,209,214,219],{"type":13,"tag":45,"props":195,"children":196},{"style":63},[197],{"type":18,"value":198}," s_type",{"type":13,"tag":45,"props":200,"children":201},{"style":52},[202],{"type":18,"value":203},":",{"type":13,"tag":45,"props":205,"children":206},{"style":182},[207],{"type":18,"value":208}," vk",{"type":13,"tag":45,"props":210,"children":211},{"style":52},[212],{"type":18,"value":213},"::",{"type":13,"tag":45,"props":215,"children":216},{"style":182},[217],{"type":18,"value":218},"StructureType",{"type":13,"tag":45,"props":220,"children":221},{"style":63},[222],{"type":18,"value":223},",\n",{"type":13,"tag":45,"props":225,"children":226},{"class":47,"line":78},[227,232,236,241],{"type":13,"tag":45,"props":228,"children":229},{"style":63},[230],{"type":18,"value":231}," p_next",{"type":13,"tag":45,"props":233,"children":234},{"style":52},[235],{"type":18,"value":203},{"type":13,"tag":45,"props":237,"children":238},{"style":52},[239],{"type":18,"value":240}," *const",{"type":13,"tag":45,"props":242,"children":243},{"style":63},[244],{"type":18,"value":245}," c_void,\n",{"type":13,"tag":45,"props":247,"children":248},{"class":47,"line":97},[249,254,258,262,266,271],{"type":13,"tag":45,"props":250,"children":251},{"style":63},[252],{"type":18,"value":253}," create_flags",{"type":13,"tag":45,"props":255,"children":256},{"style":52},[257],{"type":18,"value":203},{"type":13,"tag":45,"props":259,"children":260},{"style":182},[261],{"type":18,"value":208},{"type":13,"tag":45,"props":263,"children":264},{"style":52},[265],{"type":18,"value":213},{"type":13,"tag":45,"props":267,"children":268},{"style":182},[269],{"type":18,"value":270},"AccelerationStructureCreateFlagsKHR",{"type":13,"tag":45,"props":272,"children":273},{"style":63},[274],{"type":18,"value":223},{"type":13,"tag":45,"props":276,"children":277},{"class":47,"line":106},[278,283,287,291,295,300],{"type":13,"tag":45,"props":279,"children":280},{"style":63},[281],{"type":18,"value":282}," buffer",{"type":13,"tag":45,"props":284,"children":285},{"style":52},[286],{"type":18,"value":203},{"type":13,"tag":45,"props":288,"children":289},{"style":182},[290],{"type":18,"value":208},{"type":13,"tag":45,"props":292,"children":293},{"style":52},[294],{"type":18,"value":213},{"type":13,"tag":45,"props":296,"children":297},{"style":182},[298],{"type":18,"value":299},"Buffer",{"type":13,"tag":45,"props":301,"children":302},{"style":63},[303],{"type":18,"value":223},{"type":13,"tag":45,"props":305,"children":306},{"class":47,"line":115},[307,312,316,320,324,329,334],{"type":13,"tag":45,"props":308,"children":309},{"style":63},[310],{"type":18,"value":311}," offset",{"type":13,"tag":45,"props":313,"children":314},{"style":52},[315],{"type":18,"value":203},{"type":13,"tag":45,"props":317,"children":318},{"style":182},[319],{"type":18,"value":208},{"type":13,"tag":45,"props":321,"children":322},{"style":52},[323],{"type":18,"value":213},{"type":13,"tag":45,"props":325,"children":326},{"style":182},[327],{"type":18,"value":328},"DeviceSize",{"type":13,"tag":45,"props":330,"children":331},{"style":63},[332],{"type":18,"value":333},", ",{"type":13,"tag":45,"props":335,"children":337},{"style":336},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[338],{"type":18,"value":339},"// Specified in bytes\n",{"type":13,"tag":45,"props":341,"children":342},{"class":47,"line":124},[343,348,352,356,360,364],{"type":13,"tag":45,"props":344,"children":345},{"style":63},[346],{"type":18,"value":347}," size",{"type":13,"tag":45,"props":349,"children":350},{"style":52},[351],{"type":18,"value":203},{"type":13,"tag":45,"props":353,"children":354},{"style":182},[355],{"type":18,"value":208},{"type":13,"tag":45,"props":357,"children":358},{"style":52},[359],{"type":18,"value":213},{"type":13,"tag":45,"props":361,"children":362},{"style":182},[363],{"type":18,"value":328},{"type":13,"tag":45,"props":365,"children":366},{"style":63},[367],{"type":18,"value":223},{"type":13,"tag":45,"props":369,"children":370},{"class":47,"line":133},[371,376,380,384,389],{"type":13,"tag":45,"props":372,"children":373},{"style":52},[374],{"type":18,"value":375}," type:",{"type":13,"tag":45,"props":377,"children":378},{"style":182},[379],{"type":18,"value":208},{"type":13,"tag":45,"props":381,"children":382},{"style":52},[383],{"type":18,"value":213},{"type":13,"tag":45,"props":385,"children":386},{"style":182},[387],{"type":18,"value":388},"AccelerationStructureTypeKHR",{"type":13,"tag":45,"props":390,"children":391},{"style":63},[392],{"type":18,"value":223},{"type":13,"tag":45,"props":394,"children":395},{"class":47,"line":142},[396,401,405,409,413,418],{"type":13,"tag":45,"props":397,"children":398},{"style":63},[399],{"type":18,"value":400}," device_address",{"type":13,"tag":45,"props":402,"children":403},{"style":52},[404],{"type":18,"value":203},{"type":13,"tag":45,"props":406,"children":407},{"style":182},[408],{"type":18,"value":208},{"type":13,"tag":45,"props":410,"children":411},{"style":52},[412],{"type":18,"value":213},{"type":13,"tag":45,"props":414,"children":415},{"style":182},[416],{"type":18,"value":417},"DeviceAddress",{"type":13,"tag":45,"props":419,"children":420},{"style":63},[421],{"type":18,"value":223},{"type":13,"tag":45,"props":423,"children":424},{"class":47,"line":151},[425],{"type":13,"tag":45,"props":426,"children":427},{"style":63},[428],{"type":18,"value":429},"}\n",{"type":13,"tag":431,"props":432,"children":433},"ul",{},[434,455,474,493,504,530,541,559],{"type":13,"tag":435,"props":436,"children":437},"li",{},[438,444,446,453],{"type":13,"tag":21,"props":439,"children":441},{"className":440},[],[442],{"type":18,"value":443},"sType",{"type":18,"value":445}," is a ",{"type":13,"tag":447,"props":448,"children":450},"a",{"href":449},"/man/VkStructureType",[451],{"type":18,"value":452},"VkStructureType",{"type":18,"value":454}," value identifying this structure.",{"type":13,"tag":435,"props":456,"children":457},{},[458,464,466,472],{"type":13,"tag":21,"props":459,"children":461},{"className":460},[],[462],{"type":18,"value":463},"pNext",{"type":18,"value":465}," is ",{"type":13,"tag":21,"props":467,"children":469},{"className":468},[],[470],{"type":18,"value":471},"NULL",{"type":18,"value":473}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":435,"props":475,"children":476},{},[477,483,485,491],{"type":13,"tag":21,"props":478,"children":480},{"className":479},[],[481],{"type":18,"value":482},"createFlags",{"type":18,"value":484}," is a bitmask of\n",{"type":13,"tag":447,"props":486,"children":488},{"href":487},"/man/VkAccelerationStructureCreateFlagBitsKHR",[489],{"type":18,"value":490},"VkAccelerationStructureCreateFlagBitsKHR",{"type":18,"value":492}," specifying additional\ncreation parameters of the acceleration structure.",{"type":13,"tag":435,"props":494,"children":495},{},[496,502],{"type":13,"tag":21,"props":497,"children":499},{"className":498},[],[500],{"type":18,"value":501},"buffer",{"type":18,"value":503}," is the buffer on which the acceleration structure will be\nstored.",{"type":13,"tag":435,"props":505,"children":506},{},[507,513,515,520,522,528],{"type":13,"tag":21,"props":508,"children":510},{"className":509},[],[511],{"type":18,"value":512},"offset",{"type":18,"value":514}," is an offset in bytes from the base address of the buffer\nat which the acceleration structure will be stored, and ",{"type":13,"tag":516,"props":517,"children":519},"normative",{"type":518},"must",[],{"type":18,"value":521}," be a\nmultiple of ",{"type":13,"tag":21,"props":523,"children":525},{"className":524},[],[526],{"type":18,"value":527},"256",{"type":18,"value":529},".",{"type":13,"tag":435,"props":531,"children":532},{},[533,539],{"type":13,"tag":21,"props":534,"children":536},{"className":535},[],[537],{"type":18,"value":538},"size",{"type":18,"value":540}," is the size required for the acceleration structure.",{"type":13,"tag":435,"props":542,"children":543},{},[544,550,551,557],{"type":13,"tag":21,"props":545,"children":547},{"className":546},[],[548],{"type":18,"value":549},"type",{"type":18,"value":445},{"type":13,"tag":447,"props":552,"children":554},{"href":553},"/man/VkAccelerationStructureTypeKHR",[555],{"type":18,"value":556},"VkAccelerationStructureTypeKHR",{"type":18,"value":558}," value specifying\nthe type of acceleration structure that will be created.",{"type":13,"tag":435,"props":560,"children":561},{},[562,568,570,580,582,587],{"type":13,"tag":21,"props":563,"children":565},{"className":564},[],[566],{"type":18,"value":567},"deviceAddress",{"type":18,"value":569}," is the device address requested for the acceleration\nstructure if the ",{"type":13,"tag":447,"props":571,"children":573},{"href":572},"/man/VkPhysicalDeviceAccelerationStructureFeaturesKHR#features-accelerationStructureCaptureReplay",[574],{"type":13,"tag":21,"props":575,"children":577},{"className":576},[],[578],{"type":18,"value":579},"accelerationStructureCaptureReplay",{"type":18,"value":581}," feature is being used.\nIf ",{"type":13,"tag":21,"props":583,"children":585},{"className":584},[],[586],{"type":18,"value":567},{"type":18,"value":588}," is zero, no specific address is requested.",{"type":13,"tag":14,"props":590,"children":591},{},[592,594,598,600,606],{"type":18,"value":593},"Applications ",{"type":13,"tag":516,"props":595,"children":597},{"type":596},"should",[],{"type":18,"value":599}," avoid creating acceleration structures with\napplication-provided addresses and implementation-provided addresses in the\nsame process, to reduce the likelihood of\n",{"type":13,"tag":21,"props":601,"children":603},{"className":602},[],[604],{"type":18,"value":605},"VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS_KHR",{"type":18,"value":607}," errors.",{"type":13,"tag":609,"props":610,"children":611},"note",{},[612,655],{"type":13,"tag":14,"props":613,"children":614},{},[615,617,623,625,631,633,638,640,645,647,653],{"type":18,"value":616},"The expected usage for this is that a trace capture/replay tool will add the\n",{"type":13,"tag":21,"props":618,"children":620},{"className":619},[],[621],{"type":18,"value":622},"VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT",{"type":18,"value":624}," flag to all buffers\nthat use ",{"type":13,"tag":21,"props":626,"children":628},{"className":627},[],[629],{"type":18,"value":630},"VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT",{"type":18,"value":632},", and will add\n",{"type":13,"tag":21,"props":634,"children":636},{"className":635},[],[637],{"type":18,"value":630},{"type":18,"value":639}," to all buffers used as\nstorage for an acceleration structure where ",{"type":13,"tag":21,"props":641,"children":643},{"className":642},[],[644],{"type":18,"value":567},{"type":18,"value":646}," is not zero.\nThis also means that the tool will need to add\n",{"type":13,"tag":21,"props":648,"children":650},{"className":649},[],[651],{"type":18,"value":652},"VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT",{"type":18,"value":654}," to memory allocations to allow\nthe flag to be set where the application may not have otherwise required it.\nDuring capture the tool will save the queried opaque device addresses in the\ntrace.\nDuring replay, the buffers will be created specifying the original address\nso any address values stored in the trace data will remain valid.",{"type":13,"tag":14,"props":656,"children":657},{},[658,660,665],{"type":18,"value":659},"Implementations are expected to separate such buffers in the GPU address\nspace so normal allocations will avoid using these addresses.\nApps/tools should avoid mixing app-provided and implementation-provided\naddresses for buffers created with\n",{"type":13,"tag":21,"props":661,"children":663},{"className":662},[],[664],{"type":18,"value":622},{"type":18,"value":666},", to avoid address\nspace allocation conflicts.",{"type":13,"tag":14,"props":668,"children":669},{},[670,671,674,676,680,682,688],{"type":18,"value":593},{"type":13,"tag":516,"props":672,"children":673},{"type":596},[],{"type":18,"value":675}," create an acceleration structure with a specific\n",{"type":13,"tag":447,"props":677,"children":678},{"href":553},[679],{"type":18,"value":556},{"type":18,"value":681}," other than\n",{"type":13,"tag":21,"props":683,"children":685},{"className":684},[],[686],{"type":18,"value":687},"VK_ACCELERATION_STRUCTURE_TYPE_GENERIC_KHR",{"type":18,"value":529},{"type":13,"tag":609,"props":690,"children":691},{},[692],{"type":13,"tag":14,"props":693,"children":694},{},[695,700,702,708,710,716],{"type":13,"tag":21,"props":696,"children":698},{"className":697},[],[699],{"type":18,"value":687},{"type":18,"value":701}," is intended to be used by\nAPI translation layers.\nThis can be used at acceleration structure creation time in cases where the\nactual acceleration structure type (top or bottom) is not yet known.\nThe actual acceleration structure type must be specified as\n",{"type":13,"tag":21,"props":703,"children":705},{"className":704},[],[706],{"type":18,"value":707},"VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_KHR",{"type":18,"value":709}," or\n",{"type":13,"tag":21,"props":711,"children":713},{"className":712},[],[714],{"type":18,"value":715},"VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_KHR",{"type":18,"value":717}," when the build is\nperformed.",{"type":13,"tag":14,"props":719,"children":720},{},[721,723,727,729,735,737,743,744,750,752,755],{"type":18,"value":722},"If the acceleration structure will be the target of a build operation, the\nrequired size for an acceleration structure ",{"type":13,"tag":516,"props":724,"children":726},{"type":725},"can",[],{"type":18,"value":728}," be queried with\n",{"type":13,"tag":447,"props":730,"children":732},{"href":731},"/man/vkGetAccelerationStructureBuildSizesKHR",[733],{"type":18,"value":734},"vkGetAccelerationStructureBuildSizesKHR",{"type":18,"value":736},".\nIf the acceleration structure is going to be the target of a compacting\ncopy, ",{"type":13,"tag":447,"props":738,"children":740},{"href":739},"/man/vkCmdWriteAccelerationStructuresPropertiesKHR",[741],{"type":18,"value":742},"vkCmdWriteAccelerationStructuresPropertiesKHR",{"type":18,"value":709},{"type":13,"tag":447,"props":745,"children":747},{"href":746},"/man/vkWriteAccelerationStructuresPropertiesKHR",[748],{"type":18,"value":749},"vkWriteAccelerationStructuresPropertiesKHR",{"type":18,"value":751}," ",{"type":13,"tag":516,"props":753,"children":754},{"type":725},[],{"type":18,"value":756}," be used to obtain the\ncompacted size required.",{"type":13,"tag":14,"props":758,"children":759},{},[760,762,768,770,773,775,781,783,788,790,796,798,803],{"type":18,"value":761},"If the acceleration structure will be the target of a build operation with\n",{"type":13,"tag":21,"props":763,"children":765},{"className":764},[],[766],{"type":18,"value":767},"VK_BUILD_ACCELERATION_STRUCTURE_MOTION_BIT_NV",{"type":18,"value":769}," it ",{"type":13,"tag":516,"props":771,"children":772},{"type":518},[],{"type":18,"value":774}," include\n",{"type":13,"tag":21,"props":776,"children":778},{"className":777},[],[779],{"type":18,"value":780},"VK_ACCELERATION_STRUCTURE_CREATE_MOTION_BIT_NV",{"type":18,"value":782}," in ",{"type":13,"tag":21,"props":784,"children":786},{"className":785},[],[787],{"type":18,"value":482},{"type":18,"value":789},"\nand include ",{"type":13,"tag":447,"props":791,"children":793},{"href":792},"/man/VkAccelerationStructureMotionInfoNV",[794],{"type":18,"value":795},"VkAccelerationStructureMotionInfoNV",{"type":18,"value":797}," as an extension\nstructure in ",{"type":13,"tag":21,"props":799,"children":801},{"className":800},[],[802],{"type":18,"value":463},{"type":18,"value":804}," with the number of instances as metadata for the\nobject.",{"type":13,"tag":806,"props":807,"children":809},"validity-group",{"name":808},"Valid Usage",[810,843,875,927,986,1030,1062,1086,1118,1143,1194,1227,1266],{"type":13,"tag":811,"props":812,"children":814},"validity-field",{"name":813},"VUID-VkAccelerationStructureCreateInfoKHR-deviceAddress-03612",[815],{"type":13,"tag":14,"props":816,"children":817},{},[818,820,825,827,832,833,836,837],{"type":18,"value":819},"If ",{"type":13,"tag":21,"props":821,"children":823},{"className":822},[],[824],{"type":18,"value":567},{"type":18,"value":826}," is not zero, ",{"type":13,"tag":21,"props":828,"children":830},{"className":829},[],[831],{"type":18,"value":482},{"type":18,"value":751},{"type":13,"tag":516,"props":834,"children":835},{"type":518},[],{"type":18,"value":774},{"type":13,"tag":21,"props":838,"children":840},{"className":839},[],[841],{"type":18,"value":842},"VK_ACCELERATION_STRUCTURE_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_KHR",{"type":13,"tag":811,"props":844,"children":846},{"name":845},"VUID-VkAccelerationStructureCreateInfoKHR-deviceAddress-09488",[847],{"type":13,"tag":14,"props":848,"children":849},{},[850,851,856,858,861,863,868,870],{"type":18,"value":819},{"type":13,"tag":21,"props":852,"children":854},{"className":853},[],[855],{"type":18,"value":567},{"type":18,"value":857}," is not zero, it ",{"type":13,"tag":516,"props":859,"children":860},{"type":518},[],{"type":18,"value":862}," have been retrieved from an\nidentically created acceleration structure, except for ",{"type":13,"tag":21,"props":864,"children":866},{"className":865},[],[867],{"type":18,"value":501},{"type":18,"value":869}," and\n",{"type":13,"tag":21,"props":871,"children":873},{"className":872},[],[874],{"type":18,"value":567},{"type":13,"tag":811,"props":876,"children":878},{"name":877},"VUID-VkAccelerationStructureCreateInfoKHR-deviceAddress-09489",[879],{"type":13,"tag":14,"props":880,"children":881},{},[882,883,888,889,894,895,898,900,905,907,912,914,920,921],{"type":18,"value":819},{"type":13,"tag":21,"props":884,"children":886},{"className":885},[],[887],{"type":18,"value":567},{"type":18,"value":826},{"type":13,"tag":21,"props":890,"children":892},{"className":891},[],[893],{"type":18,"value":501},{"type":18,"value":751},{"type":13,"tag":516,"props":896,"children":897},{"type":518},[],{"type":18,"value":899}," have been created\nidentically to the ",{"type":13,"tag":21,"props":901,"children":903},{"className":902},[],[904],{"type":18,"value":501},{"type":18,"value":906}," used to create the acceleration\nstructure from which ",{"type":13,"tag":21,"props":908,"children":910},{"className":909},[],[911],{"type":18,"value":567},{"type":18,"value":913}," was retrieved, except for\n",{"type":13,"tag":447,"props":915,"children":917},{"href":916},"/man/VkBufferOpaqueCaptureAddressCreateInfo",[918],{"type":18,"value":919},"VkBufferOpaqueCaptureAddressCreateInfo",{"type":18,"value":213},{"type":13,"tag":21,"props":922,"children":924},{"className":923},[],[925],{"type":18,"value":926},"opaqueCaptureAddress",{"type":13,"tag":811,"props":928,"children":930},{"name":929},"VUID-VkAccelerationStructureCreateInfoKHR-deviceAddress-09490",[931],{"type":13,"tag":14,"props":932,"children":933},{},[934,935,940,941,946,947,950,952,956,957,962,964,970,972,977,979,984],{"type":18,"value":819},{"type":13,"tag":21,"props":936,"children":938},{"className":937},[],[939],{"type":18,"value":567},{"type":18,"value":826},{"type":13,"tag":21,"props":942,"children":944},{"className":943},[],[945],{"type":18,"value":501},{"type":18,"value":751},{"type":13,"tag":516,"props":948,"children":949},{"type":518},[],{"type":18,"value":951}," have been created\nwith a\n",{"type":13,"tag":447,"props":953,"children":954},{"href":916},[955],{"type":18,"value":919},{"type":18,"value":213},{"type":13,"tag":21,"props":958,"children":960},{"className":959},[],[961],{"type":18,"value":926},{"type":18,"value":963},"\nthat was retrieved from ",{"type":13,"tag":447,"props":965,"children":967},{"href":966},"/man/vkGetBufferOpaqueCaptureAddress",[968],{"type":18,"value":969},"vkGetBufferOpaqueCaptureAddress",{"type":18,"value":971}," for the\n",{"type":13,"tag":21,"props":973,"children":975},{"className":974},[],[976],{"type":18,"value":501},{"type":18,"value":978}," that was used to create the acceleration structure from\nwhich ",{"type":13,"tag":21,"props":980,"children":982},{"className":981},[],[983],{"type":18,"value":567},{"type":18,"value":985}," was retrieved",{"type":13,"tag":811,"props":987,"children":989},{"name":988},"VUID-VkAccelerationStructureCreateInfoKHR-createFlags-03613",[990],{"type":13,"tag":14,"props":991,"children":992},{},[993,994,999,1001,1006,1007,1013,1014,1019,1022,1024],{"type":18,"value":819},{"type":13,"tag":21,"props":995,"children":997},{"className":996},[],[998],{"type":18,"value":482},{"type":18,"value":1000}," includes\n",{"type":13,"tag":21,"props":1002,"children":1004},{"className":1003},[],[1005],{"type":18,"value":842},{"type":18,"value":223},{"type":13,"tag":447,"props":1008,"children":1010},{"href":1009},"/man/VkPhysicalDeviceAccelerationStructureFeaturesKHR",[1011],{"type":18,"value":1012},"VkPhysicalDeviceAccelerationStructureFeaturesKHR",{"type":18,"value":213},{"type":13,"tag":21,"props":1015,"children":1017},{"className":1016},[],[1018],{"type":18,"value":579},{"type":13,"tag":516,"props":1020,"children":1021},{"type":518},[],{"type":18,"value":1023}," be ",{"type":13,"tag":21,"props":1025,"children":1027},{"className":1026},[],[1028],{"type":18,"value":1029},"VK_TRUE",{"type":13,"tag":811,"props":1031,"children":1033},{"name":1032},"VUID-VkAccelerationStructureCreateInfoKHR-buffer-03614",[1034],{"type":13,"tag":14,"props":1035,"children":1036},{},[1037,1042,1043,1046,1048,1054,1056],{"type":13,"tag":21,"props":1038,"children":1040},{"className":1039},[],[1041],{"type":18,"value":501},{"type":18,"value":751},{"type":13,"tag":516,"props":1044,"children":1045},{"type":518},[],{"type":18,"value":1047}," have been created with a ",{"type":13,"tag":21,"props":1049,"children":1051},{"className":1050},[],[1052],{"type":18,"value":1053},"usage",{"type":18,"value":1055}," value containing\n",{"type":13,"tag":21,"props":1057,"children":1059},{"className":1058},[],[1060],{"type":18,"value":1061},"VK_BUFFER_USAGE_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR",{"type":13,"tag":811,"props":1063,"children":1065},{"name":1064},"VUID-VkAccelerationStructureCreateInfoKHR-buffer-03615",[1066],{"type":13,"tag":14,"props":1067,"children":1068},{},[1069,1074,1075,1078,1080],{"type":13,"tag":21,"props":1070,"children":1072},{"className":1071},[],[1073],{"type":18,"value":501},{"type":18,"value":751},{"type":13,"tag":516,"props":1076,"children":1077},{"type":518},[],{"type":18,"value":1079}," not have been created with\n",{"type":13,"tag":21,"props":1081,"children":1083},{"className":1082},[],[1084],{"type":18,"value":1085},"VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT",{"type":13,"tag":811,"props":1087,"children":1089},{"name":1088},"VUID-VkAccelerationStructureCreateInfoKHR-offset-03616",[1090],{"type":13,"tag":14,"props":1091,"children":1092},{},[1093,1095,1100,1102,1107,1108,1111,1113],{"type":18,"value":1094},"The sum of ",{"type":13,"tag":21,"props":1096,"children":1098},{"className":1097},[],[1099],{"type":18,"value":512},{"type":18,"value":1101}," and ",{"type":13,"tag":21,"props":1103,"children":1105},{"className":1104},[],[1106],{"type":18,"value":538},{"type":18,"value":751},{"type":13,"tag":516,"props":1109,"children":1110},{"type":518},[],{"type":18,"value":1112}," be less than the size of\n",{"type":13,"tag":21,"props":1114,"children":1116},{"className":1115},[],[1117],{"type":18,"value":501},{"type":13,"tag":811,"props":1119,"children":1121},{"name":1120},"VUID-VkAccelerationStructureCreateInfoKHR-offset-03734",[1122],{"type":13,"tag":14,"props":1123,"children":1124},{},[1125,1130,1131,1134,1136,1141],{"type":13,"tag":21,"props":1126,"children":1128},{"className":1127},[],[1129],{"type":18,"value":512},{"type":18,"value":751},{"type":13,"tag":516,"props":1132,"children":1133},{"type":518},[],{"type":18,"value":1135}," be a multiple of ",{"type":13,"tag":21,"props":1137,"children":1139},{"className":1138},[],[1140],{"type":18,"value":527},{"type":18,"value":1142}," bytes",{"type":13,"tag":811,"props":1144,"children":1146},{"name":1145},"VUID-VkAccelerationStructureCreateInfoKHR-createFlags-04954",[1147],{"type":13,"tag":14,"props":1148,"children":1149},{},[1150,1151,1156,1158,1163,1164,1169,1171,1176,1178,1183,1185,1188,1190],{"type":18,"value":819},{"type":13,"tag":21,"props":1152,"children":1154},{"className":1153},[],[1155],{"type":18,"value":780},{"type":18,"value":1157}," is set in\n",{"type":13,"tag":21,"props":1159,"children":1161},{"className":1160},[],[1162],{"type":18,"value":482},{"type":18,"value":1101},{"type":13,"tag":21,"props":1165,"children":1167},{"className":1166},[],[1168],{"type":18,"value":549},{"type":18,"value":1170}," is\n",{"type":13,"tag":21,"props":1172,"children":1174},{"className":1173},[],[1175],{"type":18,"value":707},{"type":18,"value":1177},", one member of the\n",{"type":13,"tag":21,"props":1179,"children":1181},{"className":1180},[],[1182],{"type":18,"value":463},{"type":18,"value":1184}," chain ",{"type":13,"tag":516,"props":1186,"children":1187},{"type":518},[],{"type":18,"value":1189}," be a pointer to a valid instance of\n",{"type":13,"tag":447,"props":1191,"children":1192},{"href":792},[1193],{"type":18,"value":795},{"type":13,"tag":811,"props":1195,"children":1197},{"name":1196},"VUID-VkAccelerationStructureCreateInfoKHR-createFlags-04955",[1198],{"type":13,"tag":14,"props":1199,"children":1200},{},[1201,1203,1209,1211,1216,1217,1220,1222],{"type":18,"value":1202},"If any geometry includes\n",{"type":13,"tag":21,"props":1204,"children":1206},{"className":1205},[],[1207],{"type":18,"value":1208},"VkAccelerationStructureGeometryMotionTrianglesDataNV",{"type":18,"value":1210}," then\n",{"type":13,"tag":21,"props":1212,"children":1214},{"className":1213},[],[1215],{"type":18,"value":482},{"type":18,"value":751},{"type":13,"tag":516,"props":1218,"children":1219},{"type":518},[],{"type":18,"value":1221}," contain\n",{"type":13,"tag":21,"props":1223,"children":1225},{"className":1224},[],[1226],{"type":18,"value":780},{"type":13,"tag":811,"props":1228,"children":1230},{"name":1229},"VUID-VkAccelerationStructureCreateInfoKHR-createFlags-08108",[1231],{"type":13,"tag":14,"props":1232,"children":1233},{},[1234,1235,1240,1241,1247,1249,1259,1261,1264],{"type":18,"value":819},{"type":13,"tag":21,"props":1236,"children":1238},{"className":1237},[],[1239],{"type":18,"value":482},{"type":18,"value":1000},{"type":13,"tag":21,"props":1242,"children":1244},{"className":1243},[],[1245],{"type":18,"value":1246},"VK_ACCELERATION_STRUCTURE_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT",{"type":18,"value":1248},",\nthe ",{"type":13,"tag":447,"props":1250,"children":1252},{"href":1251},"/man/VkPhysicalDeviceDescriptorBufferFeaturesEXT#features-descriptorBufferCaptureReplay",[1253],{"type":13,"tag":21,"props":1254,"children":1256},{"className":1255},[],[1257],{"type":18,"value":1258},"descriptorBufferCaptureReplay",{"type":18,"value":1260}," feature ",{"type":13,"tag":516,"props":1262,"children":1263},{"type":518},[],{"type":18,"value":1265}," be enabled",{"type":13,"tag":811,"props":1267,"children":1269},{"name":1268},"VUID-VkAccelerationStructureCreateInfoKHR-pNext-08109",[1270],{"type":13,"tag":14,"props":1271,"children":1272},{},[1273,1275,1280,1282,1288,1290,1295,1296,1299,1300],{"type":18,"value":1274},"If the ",{"type":13,"tag":21,"props":1276,"children":1278},{"className":1277},[],[1279],{"type":18,"value":463},{"type":18,"value":1281}," chain includes a\n",{"type":13,"tag":447,"props":1283,"children":1285},{"href":1284},"/man/VkOpaqueCaptureDescriptorDataCreateInfoEXT",[1286],{"type":18,"value":1287},"VkOpaqueCaptureDescriptorDataCreateInfoEXT",{"type":18,"value":1289}," structure,\n",{"type":13,"tag":21,"props":1291,"children":1293},{"className":1292},[],[1294],{"type":18,"value":482},{"type":18,"value":751},{"type":13,"tag":516,"props":1297,"children":1298},{"type":518},[],{"type":18,"value":1221},{"type":13,"tag":21,"props":1301,"children":1303},{"className":1302},[],[1304],{"type":18,"value":1246},{"type":13,"tag":806,"props":1306,"children":1308},{"name":1307},"Valid Usage (Implicit)",[1309,1332,1376,1402,1426,1452],{"type":13,"tag":811,"props":1310,"children":1312},{"name":1311},"VUID-VkAccelerationStructureCreateInfoKHR-sType-sType",[1313],{"type":13,"tag":14,"props":1314,"children":1315},{},[1316,1321,1322,1325,1326],{"type":13,"tag":21,"props":1317,"children":1319},{"className":1318},[],[1320],{"type":18,"value":443},{"type":18,"value":751},{"type":13,"tag":516,"props":1323,"children":1324},{"type":518},[],{"type":18,"value":1023},{"type":13,"tag":21,"props":1327,"children":1329},{"className":1328},[],[1330],{"type":18,"value":1331},"VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_KHR",{"type":13,"tag":811,"props":1333,"children":1335},{"name":1334},"VUID-VkAccelerationStructureCreateInfoKHR-pNext-pNext",[1336],{"type":13,"tag":14,"props":1337,"children":1338},{},[1339,1341,1346,1348,1353,1354,1357,1359,1364,1366,1370,1372],{"type":18,"value":1340},"Each ",{"type":13,"tag":21,"props":1342,"children":1344},{"className":1343},[],[1345],{"type":18,"value":463},{"type":18,"value":1347}," member of any structure (including this one) in the ",{"type":13,"tag":21,"props":1349,"children":1351},{"className":1350},[],[1352],{"type":18,"value":463},{"type":18,"value":1184},{"type":13,"tag":516,"props":1355,"children":1356},{"type":518},[],{"type":18,"value":1358}," be either ",{"type":13,"tag":21,"props":1360,"children":1362},{"className":1361},[],[1363],{"type":18,"value":471},{"type":18,"value":1365}," or a pointer to a valid instance of ",{"type":13,"tag":447,"props":1367,"children":1368},{"href":792},[1369],{"type":18,"value":795},{"type":18,"value":1371}," or ",{"type":13,"tag":447,"props":1373,"children":1374},{"href":1284},[1375],{"type":18,"value":1287},{"type":13,"tag":811,"props":1377,"children":1379},{"name":1378},"VUID-VkAccelerationStructureCreateInfoKHR-sType-unique",[1380],{"type":13,"tag":14,"props":1381,"children":1382},{},[1383,1384,1389,1391,1396,1397,1400],{"type":18,"value":19},{"type":13,"tag":21,"props":1385,"children":1387},{"className":1386},[],[1388],{"type":18,"value":443},{"type":18,"value":1390}," value of each struct in the ",{"type":13,"tag":21,"props":1392,"children":1394},{"className":1393},[],[1395],{"type":18,"value":463},{"type":18,"value":1184},{"type":13,"tag":516,"props":1398,"children":1399},{"type":518},[],{"type":18,"value":1401}," be unique",{"type":13,"tag":811,"props":1403,"children":1405},{"name":1404},"VUID-VkAccelerationStructureCreateInfoKHR-createFlags-parameter",[1406],{"type":13,"tag":14,"props":1407,"children":1408},{},[1409,1414,1415,1418,1420,1424],{"type":13,"tag":21,"props":1410,"children":1412},{"className":1411},[],[1413],{"type":18,"value":482},{"type":18,"value":751},{"type":13,"tag":516,"props":1416,"children":1417},{"type":518},[],{"type":18,"value":1419}," be a valid combination of ",{"type":13,"tag":447,"props":1421,"children":1422},{"href":487},[1423],{"type":18,"value":490},{"type":18,"value":1425}," values",{"type":13,"tag":811,"props":1427,"children":1429},{"name":1428},"VUID-VkAccelerationStructureCreateInfoKHR-buffer-parameter",[1430],{"type":13,"tag":14,"props":1431,"children":1432},{},[1433,1438,1439,1442,1444,1450],{"type":13,"tag":21,"props":1434,"children":1436},{"className":1435},[],[1437],{"type":18,"value":501},{"type":18,"value":751},{"type":13,"tag":516,"props":1440,"children":1441},{"type":518},[],{"type":18,"value":1443}," be a valid ",{"type":13,"tag":447,"props":1445,"children":1447},{"href":1446},"/man/VkBuffer",[1448],{"type":18,"value":1449},"VkBuffer",{"type":18,"value":1451}," handle",{"type":13,"tag":811,"props":1453,"children":1455},{"name":1454},"VUID-VkAccelerationStructureCreateInfoKHR-type-parameter",[1456],{"type":13,"tag":14,"props":1457,"children":1458},{},[1459,1464,1465,1468,1469,1473],{"type":13,"tag":21,"props":1460,"children":1462},{"className":1461},[],[1463],{"type":18,"value":549},{"type":18,"value":751},{"type":13,"tag":516,"props":1466,"children":1467},{"type":518},[],{"type":18,"value":1443},{"type":13,"tag":447,"props":1470,"children":1471},{"href":553},[1472],{"type":18,"value":556},{"type":18,"value":1474}," value",{"type":13,"tag":1476,"props":1477,"children":1478},"style",{},[1479],{"type":18,"value":1480},"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":1482},[],"markdown",1725732537264]