[{"data":1,"prerenderedAt":620},["ShallowReactive",2],{"$fVvHB7dV5S4waXoW-ggpSQ-dmx8S29p1R-kBxfNhBhkE":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":619,"_id":4},"VkTensorUsageFlagBitsARM","Bitmask specifying allowed usage of a tensor","VK_ARM_tensors","enums",[],{"type":10,"children":11,"toc":617},"root",[12,45,442,611],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25,27,34,36,43],{"type":18,"value":19},"text","Bits which ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"can",[],{"type":18,"value":26}," be set in ",{"type":13,"tag":28,"props":29,"children":31},"a",{"href":30},"/man/VkTensorDescriptionARM",[32],{"type":18,"value":33},"VkTensorDescriptionARM",{"type":18,"value":35},"::",{"type":13,"tag":37,"props":38,"children":40},"code",{"className":39},[],[41],{"type":18,"value":42},"usage",{"type":18,"value":44},",\nspecifying usage behavior of a tensor, are:",{"type":13,"tag":46,"props":47,"children":48},"code-group",{},[49,218],{"type":13,"tag":50,"props":51,"children":57},"pre",{"className":52,"code":53,"filename":54,"language":55,"meta":56,"style":56},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkTensorUsageFlagBitsARM {\n VK_TENSOR_USAGE_SHADER_BIT_ARM = 0x00000002ULL,\n VK_TENSOR_USAGE_TRANSFER_SRC_BIT_ARM = 0x00000004ULL,\n VK_TENSOR_USAGE_TRANSFER_DST_BIT_ARM = 0x00000008ULL,\n VK_TENSOR_USAGE_IMAGE_ALIASING_BIT_ARM = 0x00000010ULL,\n} VkTensorUsageFlagBitsARM;\n","C","c","",[58],{"type":13,"tag":37,"props":59,"children":60},{"__ignoreMap":56},[61,84,119,149,179,209],{"type":13,"tag":62,"props":63,"children":66},"span",{"class":64,"line":65},"line",1,[67,73,78],{"type":13,"tag":62,"props":68,"children":70},{"style":69},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[71],{"type":18,"value":72},"typedef",{"type":13,"tag":62,"props":74,"children":75},{"style":69},[76],{"type":18,"value":77}," enum",{"type":13,"tag":62,"props":79,"children":81},{"style":80},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[82],{"type":18,"value":83}," VkTensorUsageFlagBitsARM {\n",{"type":13,"tag":62,"props":85,"children":87},{"class":64,"line":86},2,[88,93,98,103,109,114],{"type":13,"tag":62,"props":89,"children":90},{"style":80},[91],{"type":18,"value":92}," VK_TENSOR_USAGE_SHADER_BIT_ARM ",{"type":13,"tag":62,"props":94,"children":95},{"style":69},[96],{"type":18,"value":97},"=",{"type":13,"tag":62,"props":99,"children":100},{"style":69},[101],{"type":18,"value":102}," 0x",{"type":13,"tag":62,"props":104,"children":106},{"style":105},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[107],{"type":18,"value":108},"00000002",{"type":13,"tag":62,"props":110,"children":111},{"style":69},[112],{"type":18,"value":113},"ULL",{"type":13,"tag":62,"props":115,"children":116},{"style":80},[117],{"type":18,"value":118},",\n",{"type":13,"tag":62,"props":120,"children":122},{"class":64,"line":121},3,[123,128,132,136,141,145],{"type":13,"tag":62,"props":124,"children":125},{"style":80},[126],{"type":18,"value":127}," VK_TENSOR_USAGE_TRANSFER_SRC_BIT_ARM ",{"type":13,"tag":62,"props":129,"children":130},{"style":69},[131],{"type":18,"value":97},{"type":13,"tag":62,"props":133,"children":134},{"style":69},[135],{"type":18,"value":102},{"type":13,"tag":62,"props":137,"children":138},{"style":105},[139],{"type":18,"value":140},"00000004",{"type":13,"tag":62,"props":142,"children":143},{"style":69},[144],{"type":18,"value":113},{"type":13,"tag":62,"props":146,"children":147},{"style":80},[148],{"type":18,"value":118},{"type":13,"tag":62,"props":150,"children":152},{"class":64,"line":151},4,[153,158,162,166,171,175],{"type":13,"tag":62,"props":154,"children":155},{"style":80},[156],{"type":18,"value":157}," VK_TENSOR_USAGE_TRANSFER_DST_BIT_ARM ",{"type":13,"tag":62,"props":159,"children":160},{"style":69},[161],{"type":18,"value":97},{"type":13,"tag":62,"props":163,"children":164},{"style":69},[165],{"type":18,"value":102},{"type":13,"tag":62,"props":167,"children":168},{"style":105},[169],{"type":18,"value":170},"00000008",{"type":13,"tag":62,"props":172,"children":173},{"style":69},[174],{"type":18,"value":113},{"type":13,"tag":62,"props":176,"children":177},{"style":80},[178],{"type":18,"value":118},{"type":13,"tag":62,"props":180,"children":182},{"class":64,"line":181},5,[183,188,192,196,201,205],{"type":13,"tag":62,"props":184,"children":185},{"style":80},[186],{"type":18,"value":187}," VK_TENSOR_USAGE_IMAGE_ALIASING_BIT_ARM ",{"type":13,"tag":62,"props":189,"children":190},{"style":69},[191],{"type":18,"value":97},{"type":13,"tag":62,"props":193,"children":194},{"style":69},[195],{"type":18,"value":102},{"type":13,"tag":62,"props":197,"children":198},{"style":105},[199],{"type":18,"value":200},"00000010",{"type":13,"tag":62,"props":202,"children":203},{"style":69},[204],{"type":18,"value":113},{"type":13,"tag":62,"props":206,"children":207},{"style":80},[208],{"type":18,"value":118},{"type":13,"tag":62,"props":210,"children":212},{"class":64,"line":211},6,[213],{"type":13,"tag":62,"props":214,"children":215},{"style":80},[216],{"type":18,"value":217},"} VkTensorUsageFlagBitsARM;\n",{"type":13,"tag":50,"props":219,"children":224},{"className":220,"code":221,"filename":222,"language":223,"meta":56,"style":56},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct TensorUsageFlagBitsARM(u64);\nimpl TensorUsageFlagBitsARM {\n pub const SHADER: Self = 0x00000002;\n pub const TRANSFER_SRC: Self = 0x00000004;\n pub const TRANSFER_DST: Self = 0x00000008;\n pub const IMAGE_ALIASING: Self = 0x00000010;\n}\n","Rust","rs",[225],{"type":13,"tag":37,"props":226,"children":227},{"__ignoreMap":56},[228,262,279,322,359,396,433],{"type":13,"tag":62,"props":229,"children":230},{"class":64,"line":65},[231,236,241,247,252,257],{"type":13,"tag":62,"props":232,"children":233},{"style":69},[234],{"type":18,"value":235},"pub",{"type":13,"tag":62,"props":237,"children":238},{"style":69},[239],{"type":18,"value":240}," struct",{"type":13,"tag":62,"props":242,"children":244},{"style":243},"--shiki-default:#953800;--shiki-dark:#FFA657",[245],{"type":18,"value":246}," TensorUsageFlagBitsARM",{"type":13,"tag":62,"props":248,"children":249},{"style":80},[250],{"type":18,"value":251},"(",{"type":13,"tag":62,"props":253,"children":254},{"style":243},[255],{"type":18,"value":256},"u64",{"type":13,"tag":62,"props":258,"children":259},{"style":80},[260],{"type":18,"value":261},");\n",{"type":13,"tag":62,"props":263,"children":264},{"class":64,"line":86},[265,270,274],{"type":13,"tag":62,"props":266,"children":267},{"style":69},[268],{"type":18,"value":269},"impl",{"type":13,"tag":62,"props":271,"children":272},{"style":243},[273],{"type":18,"value":246},{"type":13,"tag":62,"props":275,"children":276},{"style":80},[277],{"type":18,"value":278}," {\n",{"type":13,"tag":62,"props":280,"children":281},{"class":64,"line":121},[282,287,292,297,302,307,312,317],{"type":13,"tag":62,"props":283,"children":284},{"style":69},[285],{"type":18,"value":286}," pub",{"type":13,"tag":62,"props":288,"children":289},{"style":69},[290],{"type":18,"value":291}," const",{"type":13,"tag":62,"props":293,"children":294},{"style":105},[295],{"type":18,"value":296}," SHADER",{"type":13,"tag":62,"props":298,"children":299},{"style":69},[300],{"type":18,"value":301},":",{"type":13,"tag":62,"props":303,"children":304},{"style":105},[305],{"type":18,"value":306}," Self",{"type":13,"tag":62,"props":308,"children":309},{"style":69},[310],{"type":18,"value":311}," =",{"type":13,"tag":62,"props":313,"children":314},{"style":105},[315],{"type":18,"value":316}," 0x00000002",{"type":13,"tag":62,"props":318,"children":319},{"style":80},[320],{"type":18,"value":321},";\n",{"type":13,"tag":62,"props":323,"children":324},{"class":64,"line":151},[325,329,333,338,342,346,350,355],{"type":13,"tag":62,"props":326,"children":327},{"style":69},[328],{"type":18,"value":286},{"type":13,"tag":62,"props":330,"children":331},{"style":69},[332],{"type":18,"value":291},{"type":13,"tag":62,"props":334,"children":335},{"style":105},[336],{"type":18,"value":337}," TRANSFER_SRC",{"type":13,"tag":62,"props":339,"children":340},{"style":69},[341],{"type":18,"value":301},{"type":13,"tag":62,"props":343,"children":344},{"style":105},[345],{"type":18,"value":306},{"type":13,"tag":62,"props":347,"children":348},{"style":69},[349],{"type":18,"value":311},{"type":13,"tag":62,"props":351,"children":352},{"style":105},[353],{"type":18,"value":354}," 0x00000004",{"type":13,"tag":62,"props":356,"children":357},{"style":80},[358],{"type":18,"value":321},{"type":13,"tag":62,"props":360,"children":361},{"class":64,"line":181},[362,366,370,375,379,383,387,392],{"type":13,"tag":62,"props":363,"children":364},{"style":69},[365],{"type":18,"value":286},{"type":13,"tag":62,"props":367,"children":368},{"style":69},[369],{"type":18,"value":291},{"type":13,"tag":62,"props":371,"children":372},{"style":105},[373],{"type":18,"value":374}," TRANSFER_DST",{"type":13,"tag":62,"props":376,"children":377},{"style":69},[378],{"type":18,"value":301},{"type":13,"tag":62,"props":380,"children":381},{"style":105},[382],{"type":18,"value":306},{"type":13,"tag":62,"props":384,"children":385},{"style":69},[386],{"type":18,"value":311},{"type":13,"tag":62,"props":388,"children":389},{"style":105},[390],{"type":18,"value":391}," 0x00000008",{"type":13,"tag":62,"props":393,"children":394},{"style":80},[395],{"type":18,"value":321},{"type":13,"tag":62,"props":397,"children":398},{"class":64,"line":211},[399,403,407,412,416,420,424,429],{"type":13,"tag":62,"props":400,"children":401},{"style":69},[402],{"type":18,"value":286},{"type":13,"tag":62,"props":404,"children":405},{"style":69},[406],{"type":18,"value":291},{"type":13,"tag":62,"props":408,"children":409},{"style":105},[410],{"type":18,"value":411}," IMAGE_ALIASING",{"type":13,"tag":62,"props":413,"children":414},{"style":69},[415],{"type":18,"value":301},{"type":13,"tag":62,"props":417,"children":418},{"style":105},[419],{"type":18,"value":306},{"type":13,"tag":62,"props":421,"children":422},{"style":69},[423],{"type":18,"value":311},{"type":13,"tag":62,"props":425,"children":426},{"style":105},[427],{"type":18,"value":428}," 0x00000010",{"type":13,"tag":62,"props":430,"children":431},{"style":80},[432],{"type":18,"value":321},{"type":13,"tag":62,"props":434,"children":436},{"class":64,"line":435},7,[437],{"type":13,"tag":62,"props":438,"children":439},{"style":80},[440],{"type":18,"value":441},"}\n",{"type":13,"tag":443,"props":444,"children":445},"ul",{},[446,487,523,538,569],{"type":13,"tag":447,"props":448,"children":449},"li",{},[450,456,458,461,463,469,471,477,479,485],{"type":13,"tag":37,"props":451,"children":453},{"className":452},[],[454],{"type":18,"value":455},"VK_TENSOR_USAGE_SHADER_BIT_ARM",{"type":18,"value":457}," specifies that the tensor ",{"type":13,"tag":21,"props":459,"children":460},{"type":23},[],{"type":18,"value":462}," be\nused to create a ",{"type":13,"tag":37,"props":464,"children":466},{"className":465},[],[467],{"type":18,"value":468},"VkTensorViewARM",{"type":18,"value":470}," suitable for occupying a\n",{"type":13,"tag":37,"props":472,"children":474},{"className":473},[],[475],{"type":18,"value":476},"VkDescriptorSet",{"type":18,"value":478}," slot of type ",{"type":13,"tag":37,"props":480,"children":482},{"className":481},[],[483],{"type":18,"value":484},"VK_DESCRIPTOR_TYPE_TENSOR_ARM",{"type":18,"value":486},"\naccessed by shader stages.",{"type":13,"tag":447,"props":488,"children":489},{},[490,496,498,501,503,509,511,521],{"type":13,"tag":37,"props":491,"children":493},{"className":492},[],[494],{"type":18,"value":495},"VK_TENSOR_USAGE_TRANSFER_SRC_BIT_ARM",{"type":18,"value":497}," specifies that the tensor\n",{"type":13,"tag":21,"props":499,"children":500},{"type":23},[],{"type":18,"value":502}," be used as the source of a ",{"type":13,"tag":504,"props":505,"children":506},"em",{},[507],{"type":18,"value":508},"transfer command",{"type":18,"value":510}," (see the definition\nof\n",{"type":13,"tag":28,"props":512,"children":514},{"href":513},"/man/VkPipelineStageFlagBits#synchronization-pipeline-stages-transfer",[515],{"type":13,"tag":37,"props":516,"children":518},{"className":517},[],[519],{"type":18,"value":520},"VK_PIPELINE_STAGE_TRANSFER_BIT",{"type":18,"value":522},").",{"type":13,"tag":447,"props":524,"children":525},{},[526,532,533,536],{"type":13,"tag":37,"props":527,"children":529},{"className":528},[],[530],{"type":18,"value":531},"VK_TENSOR_USAGE_TRANSFER_DST_BIT_ARM",{"type":18,"value":497},{"type":13,"tag":21,"props":534,"children":535},{"type":23},[],{"type":18,"value":537}," be used as the destination of a transfer command.",{"type":13,"tag":447,"props":539,"children":540},{},[541,547,548,551,553,559,561,567],{"type":13,"tag":37,"props":542,"children":544},{"className":543},[],[545],{"type":18,"value":546},"VK_TENSOR_USAGE_IMAGE_ALIASING_BIT_ARM",{"type":18,"value":497},{"type":13,"tag":21,"props":549,"children":550},{"type":23},[],{"type":18,"value":552}," be bound to a range of memory aliased with an image created with\n",{"type":13,"tag":37,"props":554,"children":556},{"className":555},[],[557],{"type":18,"value":558},"VK_IMAGE_TILING_OPTIMAL",{"type":18,"value":560},".\nSee ",{"type":13,"tag":28,"props":562,"children":564},{"href":563},"/chapters/resources#resources-memory-aliasing",[565],{"type":18,"value":566},"Memory Aliasing",{"type":18,"value":568}," for a complete set of rules for\ntensor/image aliasing.",{"type":13,"tag":447,"props":570,"children":571},{},[572,578,579,582,584,589,590,595,596,601,603,609],{"type":13,"tag":37,"props":573,"children":575},{"className":574},[],[576],{"type":18,"value":577},"VK_TENSOR_USAGE_DATA_GRAPH_BIT_ARM",{"type":18,"value":457},{"type":13,"tag":21,"props":580,"children":581},{"type":23},[],{"type":18,"value":583},"\nbe used to create a ",{"type":13,"tag":37,"props":585,"children":587},{"className":586},[],[588],{"type":18,"value":468},{"type":18,"value":470},{"type":13,"tag":37,"props":591,"children":593},{"className":592},[],[594],{"type":18,"value":476},{"type":18,"value":478},{"type":13,"tag":37,"props":597,"children":599},{"className":598},[],[600],{"type":18,"value":484},{"type":18,"value":602},"\naccessed by ",{"type":13,"tag":28,"props":604,"children":606},{"href":605},"/chapters/graphs#graphs-pipelines",[607],{"type":18,"value":608},"data graph pipelines",{"type":18,"value":610},".",{"type":13,"tag":612,"props":613,"children":614},"style",{},[615],{"type":18,"value":616},"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":56,"searchDepth":86,"depth":86,"links":618},[],"markdown",1773054780608]