[{"data":1,"prerenderedAt":1613},["ShallowReactive",2],{"$fJvpbVTyUpIc8CEme4XFjkcxIMVttOaDwG1n1Oit0BZc":3},{"title":4,"description":5,"parent":6,"structextends":7,"type":10,"xrefs":11,"body":12,"_type":1612,"_id":4},"VkTensorDescriptionARM","Structure describing a tensor","VK_ARM_tensors",[8,9],"VkDataGraphPipelineResourceInfoARM","VkDataGraphPipelineConstantARM","structs",[],{"type":13,"children":14,"toc":1610},"root",[15,31,436,590,644,670,675,778,804,809,974,1388,1604],{"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,183],{"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 VkTensorDescriptionARM {\n VkStructureType sType;\n const void* pNext;\n VkTensorTilingARM tiling;\n VkFormat format;\n uint32_t dimensionCount;\n const int64_t* pDimensions;\n const int64_t* pStrides;\n VkTensorUsageFlagsARM usage;\n} VkTensorDescriptionARM;\n","C","c","",[44],{"type":16,"tag":24,"props":45,"children":46},{"__ignoreMap":42},[47,70,79,98,107,116,130,148,165,174],{"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}," VkTensorDescriptionARM {\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,93],{"type":16,"tag":48,"props":84,"children":85},{"style":55},[86],{"type":21,"value":87}," const",{"type":16,"tag":48,"props":89,"children":90},{"style":55},[91],{"type":21,"value":92}," void*",{"type":16,"tag":48,"props":94,"children":95},{"style":66},[96],{"type":21,"value":97}," pNext;\n",{"type":16,"tag":48,"props":99,"children":101},{"class":50,"line":100},4,[102],{"type":16,"tag":48,"props":103,"children":104},{"style":66},[105],{"type":21,"value":106}," VkTensorTilingARM tiling;\n",{"type":16,"tag":48,"props":108,"children":110},{"class":50,"line":109},5,[111],{"type":16,"tag":48,"props":112,"children":113},{"style":66},[114],{"type":21,"value":115}," VkFormat format;\n",{"type":16,"tag":48,"props":117,"children":119},{"class":50,"line":118},6,[120,125],{"type":16,"tag":48,"props":121,"children":122},{"style":55},[123],{"type":21,"value":124}," uint32_t",{"type":16,"tag":48,"props":126,"children":127},{"style":66},[128],{"type":21,"value":129}," dimensionCount;\n",{"type":16,"tag":48,"props":131,"children":133},{"class":50,"line":132},7,[134,138,143],{"type":16,"tag":48,"props":135,"children":136},{"style":55},[137],{"type":21,"value":87},{"type":16,"tag":48,"props":139,"children":140},{"style":55},[141],{"type":21,"value":142}," int64_t*",{"type":16,"tag":48,"props":144,"children":145},{"style":66},[146],{"type":21,"value":147}," pDimensions;\n",{"type":16,"tag":48,"props":149,"children":151},{"class":50,"line":150},8,[152,156,160],{"type":16,"tag":48,"props":153,"children":154},{"style":55},[155],{"type":21,"value":87},{"type":16,"tag":48,"props":157,"children":158},{"style":55},[159],{"type":21,"value":142},{"type":16,"tag":48,"props":161,"children":162},{"style":66},[163],{"type":21,"value":164}," pStrides;\n",{"type":16,"tag":48,"props":166,"children":168},{"class":50,"line":167},9,[169],{"type":16,"tag":48,"props":170,"children":171},{"style":66},[172],{"type":21,"value":173}," VkTensorUsageFlagsARM usage;\n",{"type":16,"tag":48,"props":175,"children":177},{"class":50,"line":176},10,[178],{"type":16,"tag":48,"props":179,"children":180},{"style":66},[181],{"type":21,"value":182},"} VkTensorDescriptionARM;\n",{"type":16,"tag":36,"props":184,"children":189},{"className":185,"code":186,"filename":187,"language":188,"meta":42,"style":42},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct TensorDescriptionARM {\n s_type: vk::StructureType,\n p_next: *const c_void,\n tiling: vk::TensorTilingARM,\n format: vk::Format,\n dimension_count: u32,\n p_dimensions: *const i64,\n p_strides: *const i64,\n usage: vk::TensorUsageFlagsARM,\n}\n","Rust","rs",[190],{"type":16,"tag":24,"props":191,"children":192},{"__ignoreMap":42},[193,216,249,271,300,329,350,375,399,428],{"type":16,"tag":48,"props":194,"children":195},{"class":50,"line":51},[196,201,205,211],{"type":16,"tag":48,"props":197,"children":198},{"style":55},[199],{"type":21,"value":200},"pub",{"type":16,"tag":48,"props":202,"children":203},{"style":55},[204],{"type":21,"value":63},{"type":16,"tag":48,"props":206,"children":208},{"style":207},"--shiki-default:#953800;--shiki-dark:#FFA657",[209],{"type":21,"value":210}," TensorDescriptionARM",{"type":16,"tag":48,"props":212,"children":213},{"style":66},[214],{"type":21,"value":215}," {\n",{"type":16,"tag":48,"props":217,"children":218},{"class":50,"line":72},[219,224,229,234,239,244],{"type":16,"tag":48,"props":220,"children":221},{"style":66},[222],{"type":21,"value":223}," s_type",{"type":16,"tag":48,"props":225,"children":226},{"style":55},[227],{"type":21,"value":228},":",{"type":16,"tag":48,"props":230,"children":231},{"style":207},[232],{"type":21,"value":233}," vk",{"type":16,"tag":48,"props":235,"children":236},{"style":55},[237],{"type":21,"value":238},"::",{"type":16,"tag":48,"props":240,"children":241},{"style":207},[242],{"type":21,"value":243},"StructureType",{"type":16,"tag":48,"props":245,"children":246},{"style":66},[247],{"type":21,"value":248},",\n",{"type":16,"tag":48,"props":250,"children":251},{"class":50,"line":81},[252,257,261,266],{"type":16,"tag":48,"props":253,"children":254},{"style":66},[255],{"type":21,"value":256}," p_next",{"type":16,"tag":48,"props":258,"children":259},{"style":55},[260],{"type":21,"value":228},{"type":16,"tag":48,"props":262,"children":263},{"style":55},[264],{"type":21,"value":265}," *const",{"type":16,"tag":48,"props":267,"children":268},{"style":66},[269],{"type":21,"value":270}," c_void,\n",{"type":16,"tag":48,"props":272,"children":273},{"class":50,"line":100},[274,279,283,287,291,296],{"type":16,"tag":48,"props":275,"children":276},{"style":66},[277],{"type":21,"value":278}," tiling",{"type":16,"tag":48,"props":280,"children":281},{"style":55},[282],{"type":21,"value":228},{"type":16,"tag":48,"props":284,"children":285},{"style":207},[286],{"type":21,"value":233},{"type":16,"tag":48,"props":288,"children":289},{"style":55},[290],{"type":21,"value":238},{"type":16,"tag":48,"props":292,"children":293},{"style":207},[294],{"type":21,"value":295},"TensorTilingARM",{"type":16,"tag":48,"props":297,"children":298},{"style":66},[299],{"type":21,"value":248},{"type":16,"tag":48,"props":301,"children":302},{"class":50,"line":109},[303,308,312,316,320,325],{"type":16,"tag":48,"props":304,"children":305},{"style":66},[306],{"type":21,"value":307}," format",{"type":16,"tag":48,"props":309,"children":310},{"style":55},[311],{"type":21,"value":228},{"type":16,"tag":48,"props":313,"children":314},{"style":207},[315],{"type":21,"value":233},{"type":16,"tag":48,"props":317,"children":318},{"style":55},[319],{"type":21,"value":238},{"type":16,"tag":48,"props":321,"children":322},{"style":207},[323],{"type":21,"value":324},"Format",{"type":16,"tag":48,"props":326,"children":327},{"style":66},[328],{"type":21,"value":248},{"type":16,"tag":48,"props":330,"children":331},{"class":50,"line":118},[332,337,341,346],{"type":16,"tag":48,"props":333,"children":334},{"style":66},[335],{"type":21,"value":336}," dimension_count",{"type":16,"tag":48,"props":338,"children":339},{"style":55},[340],{"type":21,"value":228},{"type":16,"tag":48,"props":342,"children":343},{"style":207},[344],{"type":21,"value":345}," u32",{"type":16,"tag":48,"props":347,"children":348},{"style":66},[349],{"type":21,"value":248},{"type":16,"tag":48,"props":351,"children":352},{"class":50,"line":132},[353,358,362,366,371],{"type":16,"tag":48,"props":354,"children":355},{"style":66},[356],{"type":21,"value":357}," p_dimensions",{"type":16,"tag":48,"props":359,"children":360},{"style":55},[361],{"type":21,"value":228},{"type":16,"tag":48,"props":363,"children":364},{"style":55},[365],{"type":21,"value":265},{"type":16,"tag":48,"props":367,"children":368},{"style":207},[369],{"type":21,"value":370}," i64",{"type":16,"tag":48,"props":372,"children":373},{"style":66},[374],{"type":21,"value":248},{"type":16,"tag":48,"props":376,"children":377},{"class":50,"line":150},[378,383,387,391,395],{"type":16,"tag":48,"props":379,"children":380},{"style":66},[381],{"type":21,"value":382}," p_strides",{"type":16,"tag":48,"props":384,"children":385},{"style":55},[386],{"type":21,"value":228},{"type":16,"tag":48,"props":388,"children":389},{"style":55},[390],{"type":21,"value":265},{"type":16,"tag":48,"props":392,"children":393},{"style":207},[394],{"type":21,"value":370},{"type":16,"tag":48,"props":396,"children":397},{"style":66},[398],{"type":21,"value":248},{"type":16,"tag":48,"props":400,"children":401},{"class":50,"line":167},[402,407,411,415,419,424],{"type":16,"tag":48,"props":403,"children":404},{"style":66},[405],{"type":21,"value":406}," usage",{"type":16,"tag":48,"props":408,"children":409},{"style":55},[410],{"type":21,"value":228},{"type":16,"tag":48,"props":412,"children":413},{"style":207},[414],{"type":21,"value":233},{"type":16,"tag":48,"props":416,"children":417},{"style":55},[418],{"type":21,"value":238},{"type":16,"tag":48,"props":420,"children":421},{"style":207},[422],{"type":21,"value":423},"TensorUsageFlagsARM",{"type":16,"tag":48,"props":425,"children":426},{"style":66},[427],{"type":21,"value":248},{"type":16,"tag":48,"props":429,"children":430},{"class":50,"line":176},[431],{"type":16,"tag":48,"props":432,"children":433},{"style":66},[434],{"type":21,"value":435},"}\n",{"type":16,"tag":437,"props":438,"children":439},"ul",{},[440,461,480,498,517,528,546,571],{"type":16,"tag":441,"props":442,"children":443},"li",{},[444,450,452,459],{"type":16,"tag":24,"props":445,"children":447},{"className":446},[],[448],{"type":21,"value":449},"sType",{"type":21,"value":451}," is a ",{"type":16,"tag":453,"props":454,"children":456},"a",{"href":455},"/man/VkStructureType",[457],{"type":21,"value":458},"VkStructureType",{"type":21,"value":460}," value identifying this structure.",{"type":16,"tag":441,"props":462,"children":463},{},[464,470,472,478],{"type":16,"tag":24,"props":465,"children":467},{"className":466},[],[468],{"type":21,"value":469},"pNext",{"type":21,"value":471}," is ",{"type":16,"tag":24,"props":473,"children":475},{"className":474},[],[476],{"type":21,"value":477},"NULL",{"type":21,"value":479}," or a pointer to a structure extending this\nstructure.",{"type":16,"tag":441,"props":481,"children":482},{},[483,489,490,496],{"type":16,"tag":24,"props":484,"children":486},{"className":485},[],[487],{"type":21,"value":488},"tiling",{"type":21,"value":451},{"type":16,"tag":453,"props":491,"children":493},{"href":492},"/man/VkTensorTilingARM",[494],{"type":21,"value":495},"VkTensorTilingARM",{"type":21,"value":497}," value specifying the tiling of\nthe tensor",{"type":16,"tag":441,"props":499,"children":500},{},[501,507,509,515],{"type":16,"tag":24,"props":502,"children":504},{"className":503},[],[505],{"type":21,"value":506},"format",{"type":21,"value":508}," is a one component ",{"type":16,"tag":453,"props":510,"children":512},{"href":511},"/man/VkFormat",[513],{"type":21,"value":514},"VkFormat",{"type":21,"value":516}," describing the format and\ntype of the data elements that will be contained in the tensor.",{"type":16,"tag":441,"props":518,"children":519},{},[520,526],{"type":16,"tag":24,"props":521,"children":523},{"className":522},[],[524],{"type":21,"value":525},"dimensionCount",{"type":21,"value":527}," is the number of dimensions for the tensor.",{"type":16,"tag":441,"props":529,"children":530},{},[531,537,539,544],{"type":16,"tag":24,"props":532,"children":534},{"className":533},[],[535],{"type":21,"value":536},"pDimensions",{"type":21,"value":538}," is a pointer to an array of integers of size\n",{"type":16,"tag":24,"props":540,"children":542},{"className":541},[],[543],{"type":21,"value":525},{"type":21,"value":545}," providing the number of data elements in each\ndimension.",{"type":16,"tag":441,"props":547,"children":548},{},[549,555,557,562,564,569],{"type":16,"tag":24,"props":550,"children":552},{"className":551},[],[553],{"type":21,"value":554},"pStrides",{"type":21,"value":556}," is either ",{"type":16,"tag":24,"props":558,"children":560},{"className":559},[],[561],{"type":21,"value":477},{"type":21,"value":563}," or is an array of size\n",{"type":16,"tag":24,"props":565,"children":567},{"className":566},[],[568],{"type":21,"value":525},{"type":21,"value":570}," providing the strides in bytes for the tensor in\neach dimension.",{"type":16,"tag":441,"props":572,"children":573},{},[574,580,582,588],{"type":16,"tag":24,"props":575,"children":577},{"className":576},[],[578],{"type":21,"value":579},"usage",{"type":21,"value":581}," is a bitmask of ",{"type":16,"tag":453,"props":583,"children":585},{"href":584},"/man/VkTensorUsageFlagBitsARM",[586],{"type":21,"value":587},"VkTensorUsageFlagBitsARM",{"type":21,"value":589}," specifying\nthe usage of the tensor.",{"type":16,"tag":17,"props":591,"children":592},{},[593,595,601,602,607,609,614,616,622,623,628,630,635,637,642],{"type":21,"value":594},"When describing a tensor created with ",{"type":16,"tag":24,"props":596,"children":598},{"className":597},[],[599],{"type":21,"value":600},"VK_TENSOR_TILING_OPTIMAL_ARM",{"type":21,"value":248},{"type":16,"tag":24,"props":603,"children":605},{"className":604},[],[606],{"type":21,"value":554},{"type":21,"value":608}," must be equal to ",{"type":16,"tag":24,"props":610,"children":612},{"className":611},[],[613],{"type":21,"value":477},{"type":21,"value":615},".\nWhen describing a tensor created with ",{"type":16,"tag":24,"props":617,"children":619},{"className":618},[],[620],{"type":21,"value":621},"VK_TENSOR_TILING_LINEAR_ARM",{"type":21,"value":248},{"type":16,"tag":24,"props":624,"children":626},{"className":625},[],[627],{"type":21,"value":554},{"type":21,"value":629}," is either an array of size ",{"type":16,"tag":24,"props":631,"children":633},{"className":632},[],[634],{"type":21,"value":525},{"type":21,"value":636}," or ",{"type":16,"tag":24,"props":638,"children":640},{"className":639},[],[641],{"type":21,"value":477},{"type":21,"value":643},".",{"type":16,"tag":17,"props":645,"children":646},{},[647,649,654,656,661,663,669],{"type":21,"value":648},"The formats that ",{"type":16,"tag":650,"props":651,"children":653},"normative",{"type":652},"must",[],{"type":21,"value":655}," be supported for ",{"type":16,"tag":24,"props":657,"children":659},{"className":658},[],[660],{"type":21,"value":506},{"type":21,"value":662}," are documented in\n",{"type":16,"tag":453,"props":664,"children":666},{"href":665},"/chapters/formats#features-formats-mandatory-features-tensor",[667],{"type":21,"value":668},"Table 106. Mandatory tensor format support",{"type":21,"value":643},{"type":16,"tag":671,"props":672,"children":674},"anchor",{"id":673},"resources-tensor-description-strides",[],{"type":16,"tag":17,"props":676,"children":677},{},[678,680,685,687,692,694,699,701,705,707,713,715,720,722,727,729,735,737,742,744,749,751,756,758,763,765,771,773,776],{"type":21,"value":679},"Each element in the ",{"type":16,"tag":24,"props":681,"children":683},{"className":682},[],[684],{"type":21,"value":554},{"type":21,"value":686}," array describes the offset in bytes\nbetween increments of the given dimension.\nFor example, ",{"type":16,"tag":24,"props":688,"children":690},{"className":689},[],[691],{"type":21,"value":554},{"type":21,"value":693},"[0] describes the offset between element\n[x0,x1,x2,x3] and element [x0+1,x1,x2,x3].\nThe ",{"type":16,"tag":24,"props":695,"children":697},{"className":696},[],[698],{"type":21,"value":554},{"type":21,"value":700}," array ",{"type":16,"tag":650,"props":702,"children":704},{"type":703},"can",[],{"type":21,"value":706}," be used to determine whether a tensor is\n",{"type":16,"tag":708,"props":709,"children":710},"em",{},[711],{"type":21,"value":712},"packed",{"type":21,"value":714}," or not.\nIf ",{"type":16,"tag":24,"props":716,"children":718},{"className":717},[],[719],{"type":21,"value":554},{"type":21,"value":721},"[",{"type":16,"tag":24,"props":723,"children":725},{"className":724},[],[726],{"type":21,"value":525},{"type":21,"value":728},"-1] is equal to the size of a tensor\nelement and for each dimension ",{"type":16,"tag":24,"props":730,"children":732},{"className":731},[],[733],{"type":21,"value":734},"n",{"type":21,"value":736}," greater than 0 and less than\n",{"type":16,"tag":24,"props":738,"children":740},{"className":739},[],[741],{"type":21,"value":525},{"type":21,"value":743},", ",{"type":16,"tag":24,"props":745,"children":747},{"className":746},[],[748],{"type":21,"value":554},{"type":21,"value":750},"[n-1] is equal to ",{"type":16,"tag":24,"props":752,"children":754},{"className":753},[],[755],{"type":21,"value":554},{"type":21,"value":757},"[n] *\n",{"type":16,"tag":24,"props":759,"children":761},{"className":760},[],[762],{"type":21,"value":536},{"type":21,"value":764},"[n], then the tensor is a packed tensor.\nIf the ",{"type":16,"tag":453,"props":766,"children":768},{"href":767},"/man/VkPhysicalDeviceTensorFeaturesARM#features-tensorNonPacked",[769],{"type":21,"value":770},"tensorNonPacked",{"type":21,"value":772}," feature is not enabled,\nthe tensor ",{"type":16,"tag":650,"props":774,"children":775},{"type":652},[],{"type":21,"value":777}," be a packed tensor.",{"type":16,"tag":17,"props":779,"children":780},{},[781,783,788,790,795,797,802],{"type":21,"value":782},"When a tensor is created with ",{"type":16,"tag":24,"props":784,"children":786},{"className":785},[],[787],{"type":21,"value":621},{"type":21,"value":789}," and\n",{"type":16,"tag":24,"props":791,"children":793},{"className":792},[],[794],{"type":21,"value":554},{"type":21,"value":796}," equal to ",{"type":16,"tag":24,"props":798,"children":800},{"className":799},[],[801],{"type":21,"value":477},{"type":21,"value":803}," the tensor strides are calculated by the\nvulkan implementation such that the resulting tensor is a packed tensor.",{"type":16,"tag":17,"props":805,"children":806},{},[807],{"type":21,"value":808},"Expressed as an addressing formula, the starting byte of an element in a\n4-dimensional, for example, linear tensor has address:",{"type":16,"tag":36,"props":810,"children":812},{"className":38,"code":811,"language":41,"meta":42,"style":42},"// Assume (x0,x1,x2,x3) are in units of elements.\n\naddress(x0,x1,x2,x3) = x0*pStrides[0] + x1*pStrides[1] + x2*pStrides[2] + x3*pStrides[3]\n",[813],{"type":16,"tag":24,"props":814,"children":815},{"__ignoreMap":42},[816,825,834],{"type":16,"tag":48,"props":817,"children":818},{"class":50,"line":51},[819],{"type":16,"tag":48,"props":820,"children":822},{"style":821},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[823],{"type":21,"value":824},"// Assume (x0,x1,x2,x3) are in units of elements.\n",{"type":16,"tag":48,"props":826,"children":827},{"class":50,"line":72},[828],{"type":16,"tag":48,"props":829,"children":831},{"emptyLinePlaceholder":830},true,[832],{"type":21,"value":833},"\n",{"type":16,"tag":48,"props":835,"children":836},{"class":50,"line":81},[837,843,848,853,858,863,867,871,877,882,887,892,896,900,904,909,913,917,922,926,930,934,939,943,947,952,956,960,964,969],{"type":16,"tag":48,"props":838,"children":840},{"style":839},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[841],{"type":21,"value":842},"address",{"type":16,"tag":48,"props":844,"children":845},{"style":66},[846],{"type":21,"value":847},"(x0,x1,x2,x3) ",{"type":16,"tag":48,"props":849,"children":850},{"style":55},[851],{"type":21,"value":852},"=",{"type":16,"tag":48,"props":854,"children":855},{"style":66},[856],{"type":21,"value":857}," x0",{"type":16,"tag":48,"props":859,"children":860},{"style":55},[861],{"type":21,"value":862},"*",{"type":16,"tag":48,"props":864,"children":865},{"style":207},[866],{"type":21,"value":554},{"type":16,"tag":48,"props":868,"children":869},{"style":66},[870],{"type":21,"value":721},{"type":16,"tag":48,"props":872,"children":874},{"style":873},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[875],{"type":21,"value":876},"0",{"type":16,"tag":48,"props":878,"children":879},{"style":66},[880],{"type":21,"value":881},"] ",{"type":16,"tag":48,"props":883,"children":884},{"style":55},[885],{"type":21,"value":886},"+",{"type":16,"tag":48,"props":888,"children":889},{"style":66},[890],{"type":21,"value":891}," x1",{"type":16,"tag":48,"props":893,"children":894},{"style":55},[895],{"type":21,"value":862},{"type":16,"tag":48,"props":897,"children":898},{"style":207},[899],{"type":21,"value":554},{"type":16,"tag":48,"props":901,"children":902},{"style":66},[903],{"type":21,"value":721},{"type":16,"tag":48,"props":905,"children":906},{"style":873},[907],{"type":21,"value":908},"1",{"type":16,"tag":48,"props":910,"children":911},{"style":66},[912],{"type":21,"value":881},{"type":16,"tag":48,"props":914,"children":915},{"style":55},[916],{"type":21,"value":886},{"type":16,"tag":48,"props":918,"children":919},{"style":66},[920],{"type":21,"value":921}," x2",{"type":16,"tag":48,"props":923,"children":924},{"style":55},[925],{"type":21,"value":862},{"type":16,"tag":48,"props":927,"children":928},{"style":207},[929],{"type":21,"value":554},{"type":16,"tag":48,"props":931,"children":932},{"style":66},[933],{"type":21,"value":721},{"type":16,"tag":48,"props":935,"children":936},{"style":873},[937],{"type":21,"value":938},"2",{"type":16,"tag":48,"props":940,"children":941},{"style":66},[942],{"type":21,"value":881},{"type":16,"tag":48,"props":944,"children":945},{"style":55},[946],{"type":21,"value":886},{"type":16,"tag":48,"props":948,"children":949},{"style":66},[950],{"type":21,"value":951}," x3",{"type":16,"tag":48,"props":953,"children":954},{"style":55},[955],{"type":21,"value":862},{"type":16,"tag":48,"props":957,"children":958},{"style":207},[959],{"type":21,"value":554},{"type":16,"tag":48,"props":961,"children":962},{"style":66},[963],{"type":21,"value":721},{"type":16,"tag":48,"props":965,"children":966},{"style":873},[967],{"type":21,"value":968},"3",{"type":16,"tag":48,"props":970,"children":971},{"style":66},[972],{"type":21,"value":973},"]\n",{"type":16,"tag":975,"props":976,"children":978},"validity-group",{"name":977},"Valid Usage",[979,1012,1038,1072,1107,1132,1152,1188,1230,1265,1291,1351],{"type":16,"tag":980,"props":981,"children":983},"validity-field",{"name":982},"VUID-VkTensorDescriptionARM-dimensionCount-09733",[984],{"type":16,"tag":17,"props":985,"children":986},{},[987,992,994,997,999,1005,1006],{"type":16,"tag":24,"props":988,"children":990},{"className":989},[],[991],{"type":21,"value":525},{"type":21,"value":993}," ",{"type":16,"tag":650,"props":995,"children":996},{"type":652},[],{"type":21,"value":998}," be less than or equal to\n",{"type":16,"tag":453,"props":1000,"children":1002},{"href":1001},"/man/VkPhysicalDeviceTensorPropertiesARM",[1003],{"type":21,"value":1004},"VkPhysicalDeviceTensorPropertiesARM",{"type":21,"value":238},{"type":16,"tag":24,"props":1007,"children":1009},{"className":1008},[],[1010],{"type":21,"value":1011},"maxTensorDimensionCount",{"type":16,"tag":980,"props":1013,"children":1015},{"name":1014},"VUID-VkTensorDescriptionARM-pDimensions-09734",[1016],{"type":16,"tag":17,"props":1017,"children":1018},{},[1019,1021,1026,1028,1031,1033],{"type":21,"value":1020},"For each i where i ≤ dimensionCount-1,\n",{"type":16,"tag":24,"props":1022,"children":1024},{"className":1023},[],[1025],{"type":21,"value":536},{"type":21,"value":1027},"[i] ",{"type":16,"tag":650,"props":1029,"children":1030},{"type":652},[],{"type":21,"value":1032}," be greater than ",{"type":16,"tag":24,"props":1034,"children":1036},{"className":1035},[],[1037],{"type":21,"value":876},{"type":16,"tag":980,"props":1039,"children":1041},{"name":1040},"VUID-VkTensorDescriptionARM-pDimensions-09883",[1042],{"type":16,"tag":17,"props":1043,"children":1044},{},[1045,1046,1051,1052,1055,1056],{"type":21,"value":1020},{"type":16,"tag":24,"props":1047,"children":1049},{"className":1048},[],[1050],{"type":21,"value":536},{"type":21,"value":1027},{"type":16,"tag":650,"props":1053,"children":1054},{"type":652},[],{"type":21,"value":998},{"type":16,"tag":453,"props":1057,"children":1059},{"href":1058},"/man/VkPhysicalDeviceTensorPropertiesARM#limits-maxPerDimensionTensorElements",[1060,1065,1066],{"type":16,"tag":24,"props":1061,"children":1063},{"className":1062},[],[1064],{"type":21,"value":1004},{"type":21,"value":238},{"type":16,"tag":24,"props":1067,"children":1069},{"className":1068},[],[1070],{"type":21,"value":1071},"maxPerDimensionTensorElements",{"type":16,"tag":980,"props":1073,"children":1075},{"name":1074},"VUID-VkTensorDescriptionARM-format-09735",[1076],{"type":16,"tag":17,"props":1077,"children":1078},{},[1079,1084,1085,1088,1090,1096,1098,1101,1103],{"type":16,"tag":24,"props":1080,"children":1082},{"className":1081},[],[1083],{"type":21,"value":506},{"type":21,"value":993},{"type":16,"tag":650,"props":1086,"children":1087},{"type":652},[],{"type":21,"value":1089}," not be ",{"type":16,"tag":24,"props":1091,"children":1093},{"className":1092},[],[1094],{"type":21,"value":1095},"VK_FORMAT_UNDEFINED",{"type":21,"value":1097}," and ",{"type":16,"tag":650,"props":1099,"children":1100},{"type":652},[],{"type":21,"value":1102}," be a\none-component ",{"type":16,"tag":453,"props":1104,"children":1105},{"href":511},[1106],{"type":21,"value":514},{"type":16,"tag":980,"props":1108,"children":1110},{"name":1109},"VUID-VkTensorDescriptionARM-pStrides-09736",[1111],{"type":16,"tag":17,"props":1112,"children":1113},{},[1114,1119,1120,1125,1127,1130],{"type":16,"tag":24,"props":1115,"children":1117},{"className":1116},[],[1118],{"type":21,"value":554},{"type":21,"value":721},{"type":16,"tag":24,"props":1121,"children":1123},{"className":1122},[],[1124],{"type":21,"value":525},{"type":21,"value":1126},"-1] ",{"type":16,"tag":650,"props":1128,"children":1129},{"type":652},[],{"type":21,"value":1131}," equal the size in\nbytes of a tensor element",{"type":16,"tag":980,"props":1133,"children":1135},{"name":1134},"VUID-VkTensorDescriptionARM-pStrides-09737",[1136],{"type":16,"tag":17,"props":1137,"children":1138},{},[1139,1141,1146,1147,1150],{"type":21,"value":1140},"For each i, ",{"type":16,"tag":24,"props":1142,"children":1144},{"className":1143},[],[1145],{"type":21,"value":554},{"type":21,"value":1027},{"type":16,"tag":650,"props":1148,"children":1149},{"type":652},[],{"type":21,"value":1151}," be a multiple of the\nelement size",{"type":16,"tag":980,"props":1153,"children":1155},{"name":1154},"VUID-VkTensorDescriptionARM-pStrides-09738",[1156],{"type":16,"tag":17,"props":1157,"children":1158},{},[1159,1160,1165,1166,1169,1170,1175,1177,1181,1182],{"type":21,"value":1140},{"type":16,"tag":24,"props":1161,"children":1163},{"className":1162},[],[1164],{"type":21,"value":554},{"type":21,"value":1027},{"type":16,"tag":650,"props":1167,"children":1168},{"type":652},[],{"type":21,"value":1032},{"type":16,"tag":24,"props":1171,"children":1173},{"className":1172},[],[1174],{"type":21,"value":876},{"type":21,"value":1176}," and\nless than or equal to\n",{"type":16,"tag":453,"props":1178,"children":1179},{"href":1001},[1180],{"type":21,"value":1004},{"type":21,"value":238},{"type":16,"tag":24,"props":1183,"children":1185},{"className":1184},[],[1186],{"type":21,"value":1187},"maxTensorStride",{"type":16,"tag":980,"props":1189,"children":1191},{"name":1190},"VUID-VkTensorDescriptionARM-pStrides-09884",[1192],{"type":16,"tag":17,"props":1193,"children":1194},{},[1195,1200,1202,1207,1209,1212,1214],{"type":16,"tag":24,"props":1196,"children":1198},{"className":1197},[],[1199],{"type":21,"value":554},{"type":21,"value":1201},"[0] × ",{"type":16,"tag":24,"props":1203,"children":1205},{"className":1204},[],[1206],{"type":21,"value":536},{"type":21,"value":1208},"[0] ",{"type":16,"tag":650,"props":1210,"children":1211},{"type":652},[],{"type":21,"value":1213}," be less than\nor equal to ",{"type":16,"tag":453,"props":1215,"children":1217},{"href":1216},"/man/VkPhysicalDeviceTensorPropertiesARM#limits-maxTensorSize",[1218,1223,1224],{"type":16,"tag":24,"props":1219,"children":1221},{"className":1220},[],[1222],{"type":21,"value":1004},{"type":21,"value":238},{"type":16,"tag":24,"props":1225,"children":1227},{"className":1226},[],[1228],{"type":21,"value":1229},"maxTensorSize",{"type":16,"tag":980,"props":1231,"children":1233},{"name":1232},"VUID-VkTensorDescriptionARM-pStrides-09739",[1234],{"type":16,"tag":17,"props":1235,"children":1236},{},[1237,1239,1244,1246,1249,1251,1256,1258,1263],{"type":21,"value":1238},"For each i greater than 0, ",{"type":16,"tag":24,"props":1240,"children":1242},{"className":1241},[],[1243],{"type":21,"value":554},{"type":21,"value":1245},"[i-1] ",{"type":16,"tag":650,"props":1247,"children":1248},{"type":652},[],{"type":21,"value":1250}," be\ngreater than or equal to ",{"type":16,"tag":24,"props":1252,"children":1254},{"className":1253},[],[1255],{"type":21,"value":554},{"type":21,"value":1257},"[i] ×\n",{"type":16,"tag":24,"props":1259,"children":1261},{"className":1260},[],[1262],{"type":21,"value":536},{"type":21,"value":1264},"[i] so that no two elements of the tensor reference\nthe same memory address",{"type":16,"tag":980,"props":1266,"children":1268},{"name":1267},"VUID-VkTensorDescriptionARM-None-09740",[1269],{"type":16,"tag":17,"props":1270,"children":1271},{},[1272,1274,1278,1280,1285,1286,1289],{"type":21,"value":1273},"If the ",{"type":16,"tag":453,"props":1275,"children":1276},{"href":767},[1277],{"type":21,"value":770},{"type":21,"value":1279}," feature is not\nenabled, then the members of ",{"type":16,"tag":453,"props":1281,"children":1283},{"href":1282},"/man/VkTensorDescriptionARM",[1284],{"type":21,"value":4},{"type":21,"value":993},{"type":16,"tag":650,"props":1287,"children":1288},{"type":652},[],{"type":21,"value":1290}," describe\na packed tensor",{"type":16,"tag":980,"props":1292,"children":1294},{"name":1293},"VUID-VkTensorDescriptionARM-tiling-09741",[1295],{"type":16,"tag":17,"props":1296,"children":1297},{},[1298,1300,1305,1306,1311,1312,1317,1319,1325,1327,1332,1333,1338,1340,1343,1345],{"type":21,"value":1299},"If ",{"type":16,"tag":24,"props":1301,"children":1303},{"className":1302},[],[1304],{"type":21,"value":488},{"type":21,"value":471},{"type":16,"tag":24,"props":1307,"children":1309},{"className":1308},[],[1310],{"type":21,"value":600},{"type":21,"value":1097},{"type":16,"tag":24,"props":1313,"children":1315},{"className":1314},[],[1316],{"type":21,"value":579},{"type":21,"value":1318}," is\n",{"type":16,"tag":24,"props":1320,"children":1322},{"className":1321},[],[1323],{"type":21,"value":1324},"VK_TENSOR_USAGE_IMAGE_ALIASING_BIT_ARM",{"type":21,"value":1326}," then the size of the tensor\nalong its innermost dimension, i.e.\n",{"type":16,"tag":24,"props":1328,"children":1330},{"className":1329},[],[1331],{"type":21,"value":536},{"type":21,"value":721},{"type":16,"tag":24,"props":1334,"children":1336},{"className":1335},[],[1337],{"type":21,"value":525},{"type":21,"value":1339}," - 1], ",{"type":16,"tag":650,"props":1341,"children":1342},{"type":652},[],{"type":21,"value":1344}," be less than or\nequal to ",{"type":16,"tag":24,"props":1346,"children":1348},{"className":1347},[],[1349],{"type":21,"value":1350},"4",{"type":16,"tag":980,"props":1352,"children":1354},{"name":1353},"VUID-VkTensorDescriptionARM-tiling-09742",[1355],{"type":16,"tag":17,"props":1356,"children":1357},{},[1358,1359,1364,1365,1370,1372,1377,1378,1381,1383],{"type":21,"value":1299},{"type":16,"tag":24,"props":1360,"children":1362},{"className":1361},[],[1363],{"type":21,"value":488},{"type":21,"value":471},{"type":16,"tag":24,"props":1366,"children":1368},{"className":1367},[],[1369],{"type":21,"value":621},{"type":21,"value":1371}," then\n",{"type":16,"tag":24,"props":1373,"children":1375},{"className":1374},[],[1376],{"type":21,"value":1324},{"type":21,"value":993},{"type":16,"tag":650,"props":1379,"children":1380},{"type":652},[],{"type":21,"value":1382}," not be set in\n",{"type":16,"tag":24,"props":1384,"children":1386},{"className":1385},[],[1387],{"type":21,"value":579},{"type":16,"tag":975,"props":1389,"children":1391},{"name":1390},"Valid Usage (Implicit)",[1392,1416,1440,1462,1494,1537,1560,1582],{"type":16,"tag":980,"props":1393,"children":1395},{"name":1394},"VUID-VkTensorDescriptionARM-sType-sType",[1396],{"type":16,"tag":17,"props":1397,"children":1398},{},[1399,1404,1405,1408,1410],{"type":16,"tag":24,"props":1400,"children":1402},{"className":1401},[],[1403],{"type":21,"value":449},{"type":21,"value":993},{"type":16,"tag":650,"props":1406,"children":1407},{"type":652},[],{"type":21,"value":1409}," be ",{"type":16,"tag":24,"props":1411,"children":1413},{"className":1412},[],[1414],{"type":21,"value":1415},"VK_STRUCTURE_TYPE_TENSOR_DESCRIPTION_ARM",{"type":16,"tag":980,"props":1417,"children":1419},{"name":1418},"VUID-VkTensorDescriptionARM-tiling-parameter",[1420],{"type":16,"tag":17,"props":1421,"children":1422},{},[1423,1428,1429,1432,1434,1438],{"type":16,"tag":24,"props":1424,"children":1426},{"className":1425},[],[1427],{"type":21,"value":488},{"type":21,"value":993},{"type":16,"tag":650,"props":1430,"children":1431},{"type":652},[],{"type":21,"value":1433}," be a valid ",{"type":16,"tag":453,"props":1435,"children":1436},{"href":492},[1437],{"type":21,"value":495},{"type":21,"value":1439}," value",{"type":16,"tag":980,"props":1441,"children":1443},{"name":1442},"VUID-VkTensorDescriptionARM-format-parameter",[1444],{"type":16,"tag":17,"props":1445,"children":1446},{},[1447,1452,1453,1456,1457,1461],{"type":16,"tag":24,"props":1448,"children":1450},{"className":1449},[],[1451],{"type":21,"value":506},{"type":21,"value":993},{"type":16,"tag":650,"props":1454,"children":1455},{"type":652},[],{"type":21,"value":1433},{"type":16,"tag":453,"props":1458,"children":1459},{"href":511},[1460],{"type":21,"value":514},{"type":21,"value":1439},{"type":16,"tag":980,"props":1463,"children":1465},{"name":1464},"VUID-VkTensorDescriptionARM-pDimensions-parameter",[1466],{"type":16,"tag":17,"props":1467,"children":1468},{},[1469,1474,1475,1478,1480,1485,1486,1492],{"type":16,"tag":24,"props":1470,"children":1472},{"className":1471},[],[1473],{"type":21,"value":536},{"type":21,"value":993},{"type":16,"tag":650,"props":1476,"children":1477},{"type":652},[],{"type":21,"value":1479}," be a valid pointer to an array of ",{"type":16,"tag":24,"props":1481,"children":1483},{"className":1482},[],[1484],{"type":21,"value":525},{"type":21,"value":993},{"type":16,"tag":24,"props":1487,"children":1489},{"className":1488},[],[1490],{"type":21,"value":1491},"int64_t",{"type":21,"value":1493}," values",{"type":16,"tag":980,"props":1495,"children":1497},{"name":1496},"VUID-VkTensorDescriptionARM-pStrides-parameter",[1498],{"type":16,"tag":17,"props":1499,"children":1500},{},[1501,1502,1507,1509,1514,1515,1520,1521,1524,1525,1530,1531,1536],{"type":21,"value":1299},{"type":16,"tag":24,"props":1503,"children":1505},{"className":1504},[],[1506],{"type":21,"value":554},{"type":21,"value":1508}," is not ",{"type":16,"tag":24,"props":1510,"children":1512},{"className":1511},[],[1513],{"type":21,"value":477},{"type":21,"value":743},{"type":16,"tag":24,"props":1516,"children":1518},{"className":1517},[],[1519],{"type":21,"value":554},{"type":21,"value":993},{"type":16,"tag":650,"props":1522,"children":1523},{"type":652},[],{"type":21,"value":1479},{"type":16,"tag":24,"props":1526,"children":1528},{"className":1527},[],[1529],{"type":21,"value":525},{"type":21,"value":993},{"type":16,"tag":24,"props":1532,"children":1534},{"className":1533},[],[1535],{"type":21,"value":1491},{"type":21,"value":1493},{"type":16,"tag":980,"props":1538,"children":1540},{"name":1539},"VUID-VkTensorDescriptionARM-usage-parameter",[1541],{"type":16,"tag":17,"props":1542,"children":1543},{},[1544,1549,1550,1553,1555,1559],{"type":16,"tag":24,"props":1545,"children":1547},{"className":1546},[],[1548],{"type":21,"value":579},{"type":21,"value":993},{"type":16,"tag":650,"props":1551,"children":1552},{"type":652},[],{"type":21,"value":1554}," be a valid combination of ",{"type":16,"tag":453,"props":1556,"children":1557},{"href":584},[1558],{"type":21,"value":587},{"type":21,"value":1493},{"type":16,"tag":980,"props":1561,"children":1563},{"name":1562},"VUID-VkTensorDescriptionARM-usage-requiredbitmask",[1564],{"type":16,"tag":17,"props":1565,"children":1566},{},[1567,1572,1573,1576,1577],{"type":16,"tag":24,"props":1568,"children":1570},{"className":1569},[],[1571],{"type":21,"value":579},{"type":21,"value":993},{"type":16,"tag":650,"props":1574,"children":1575},{"type":652},[],{"type":21,"value":1089},{"type":16,"tag":24,"props":1578,"children":1580},{"className":1579},[],[1581],{"type":21,"value":876},{"type":16,"tag":980,"props":1583,"children":1585},{"name":1584},"VUID-VkTensorDescriptionARM-dimensionCount-arraylength",[1586],{"type":16,"tag":17,"props":1587,"children":1588},{},[1589,1594,1595,1598,1599],{"type":16,"tag":24,"props":1590,"children":1592},{"className":1591},[],[1593],{"type":21,"value":525},{"type":21,"value":993},{"type":16,"tag":650,"props":1596,"children":1597},{"type":652},[],{"type":21,"value":1032},{"type":16,"tag":24,"props":1600,"children":1602},{"className":1601},[],[1603],{"type":21,"value":876},{"type":16,"tag":1605,"props":1606,"children":1607},"style",{},[1608],{"type":21,"value":1609},"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":1611},[],"markdown",1773054780558]