/third_party/mindspore/tests/ut/python/dataset/ |
D | test_datasets_div2k.py | 27 usage = "train" # train, valid, all 31 data = ds.DIV2KDataset(DATASET_DIR, usage=usage, downgrade=downgrade, scale=scale, decode=True) 41 flag = "{}_{}_{}".format(usage, scale, downgrade) 62 usage = "all" # train, valid, all 66 data0 = ds.DIV2KDataset(DATASET_DIR, usage=usage, downgrade=downgrade, scale=scale) 73 usage = "train" # train, valid, all 75 … data1 = ds.DIV2KDataset(DATASET_DIR, usage=usage, downgrade=downgrade, scale=scale, num_samples=4) 82 … data2 = ds.DIV2KDataset(DATASET_DIR, usage=usage, downgrade=downgrade, scale=scale, num_samples=3) 90 data3 = ds.DIV2KDataset(DATASET_DIR, usage=usage, downgrade=downgrade, scale=scale, decode=True) 105 data4 = ds.DIV2KDataset(DATASET_DIR, usage=usage, downgrade=downgrade, scale=scale, decode=True) [all …]
|
D | test_datasets_cityscapes.py | 36 …usage = "train" # quality_mode=fine 'train', 'test', 'val', 'all' else 'train', 'train_extr… 37 data = ds.CityscapesDataset(DATASET_DIR, usage=usage, quality_mode=quality_mode, task=task, 72 usage = "train" 75 …data = ds.CityscapesDataset(DATASET_DIR_TASK_JSON, usage=usage, quality_mode=quality_mode, task=ta… 92 usage = "train" 95 …data1 = ds.CityscapesDataset(DATASET_DIR, usage=usage, quality_mode=quality_mode, task=task, num_s… 102 …data2 = ds.CityscapesDataset(DATASET_DIR, usage=usage, quality_mode=quality_mode, task=task, num_s… 110 …data3 = ds.CityscapesDataset(DATASET_DIR, usage=usage, quality_mode=quality_mode, task=task, decod… 125 …data4 = ds.CityscapesDataset(DATASET_DIR, usage=usage, quality_mode=quality_mode, task=task, decod… 140 …data5 = ds.CityscapesDataset(DATASET_DIR, usage=usage, quality_mode=quality_mode, task=task, decod… [all …]
|
D | test_datasets_flowers102.py | 34 def load_flowers102(path, usage): argument 38 assert usage in ["train", "valid", "test", "all"] 42 if usage == 'train': 44 elif usage == 'test': 46 elif usage == 'valid': 48 elif usage == 'all': 79 all_data = ds.Flowers102Dataset(DATA_DIR, task="Segmentation", usage="all", 91 train_data = ds.Flowers102Dataset(DATA_DIR, task="Segmentation", usage="train", 103 test_data = ds.Flowers102Dataset(DATA_DIR, task="Segmentation", usage="test", 115 val_data = ds.Flowers102Dataset(DATA_DIR, task="Segmentation", usage="valid", [all …]
|
/third_party/mesa3d/src/intel/isl/ |
D | isl_aux_info.c | 106 enum isl_aux_usage usage) in aux_state_possible() argument 111 return info[usage].fast_clear; in aux_state_possible() 113 return info[usage].fast_clear && info[usage].compressed; in aux_state_possible() 115 return info[usage].compressed; in aux_state_possible() 131 enum isl_aux_usage usage, in isl_aux_prepare_access() argument 134 if (usage != ISL_AUX_USAGE_NONE) { in isl_aux_prepare_access() 136 usage == ISL_AUX_USAGE_CCS_D ? ISL_AUX_USAGE_CCS_E : usage; in isl_aux_prepare_access() 139 assert(!fast_clear_supported || info[usage].fast_clear); in isl_aux_prepare_access() 143 if (!info[usage].compressed) in isl_aux_prepare_access() 150 info[usage].partial_resolve ? in isl_aux_prepare_access() [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | BufferVk.cpp | 31 VkBufferUsageFlags VulkanBufferUsage(wgpu::BufferUsage usage) { in VulkanBufferUsage() argument 34 if (usage & wgpu::BufferUsage::CopySrc) { in VulkanBufferUsage() 37 if (usage & wgpu::BufferUsage::CopyDst) { in VulkanBufferUsage() 40 if (usage & wgpu::BufferUsage::Index) { in VulkanBufferUsage() 43 if (usage & wgpu::BufferUsage::Vertex) { in VulkanBufferUsage() 46 if (usage & wgpu::BufferUsage::Uniform) { in VulkanBufferUsage() 49 if (usage & in VulkanBufferUsage() 53 if (usage & wgpu::BufferUsage::Indirect) { in VulkanBufferUsage() 56 if (usage & wgpu::BufferUsage::QueryResolve) { in VulkanBufferUsage() 63 VkPipelineStageFlags VulkanPipelineStage(wgpu::BufferUsage usage) { in VulkanPipelineStage() argument [all …]
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | BufferVk.cpp | 26 VkBufferUsageFlags VulkanBufferUsage(dawn::BufferUsageBit usage) { in VulkanBufferUsage() argument 29 if (usage & dawn::BufferUsageBit::CopySrc) { in VulkanBufferUsage() 32 if (usage & dawn::BufferUsageBit::CopyDst) { in VulkanBufferUsage() 35 if (usage & dawn::BufferUsageBit::Index) { in VulkanBufferUsage() 38 if (usage & dawn::BufferUsageBit::Vertex) { in VulkanBufferUsage() 41 if (usage & dawn::BufferUsageBit::Uniform) { in VulkanBufferUsage() 44 if (usage & dawn::BufferUsageBit::Storage) { in VulkanBufferUsage() 47 if (usage & dawn::BufferUsageBit::Indirect) { in VulkanBufferUsage() 54 VkPipelineStageFlags VulkanPipelineStage(dawn::BufferUsageBit usage) { in VulkanPipelineStage() argument 57 if (usage & (dawn::BufferUsageBit::MapRead | dawn::BufferUsageBit::MapWrite)) { in VulkanPipelineStage() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | typeFromPropertyAssignment12.symbols | 3 >Outer : Symbol(Outer, Decl(module.js, 0, 3), Decl(usage.js, 0, 0)) 7 === tests/cases/conformance/salsa/usage.js === 10 >Outer.Pos : Symbol(Outer.Pos, Decl(usage.js, 0, 0)) 11 >Outer : Symbol(Outer, Decl(module.js, 0, 3), Decl(usage.js, 0, 0)) 12 >Pos : Symbol(Outer.Pos, Decl(usage.js, 0, 0)) 13 >line : Symbol(line, Decl(usage.js, 1, 22)) 14 >ch : Symbol(ch, Decl(usage.js, 1, 27)) 19 >Outer.Pos : Symbol(Outer.Pos, Decl(usage.js, 0, 0)) 20 >Outer : Symbol(Outer, Decl(module.js, 0, 3), Decl(usage.js, 0, 0)) 21 >Pos : Symbol(Outer.Pos, Decl(usage.js, 0, 0)) [all …]
|
D | typeFromPropertyAssignment24.symbols | 1 === tests/cases/conformance/salsa/usage.js === 2 // note that usage is first in the compilation 4 >Outer.Inner.Message : Symbol(Outer.Inner.Message, Decl(usage.js, 0, 0)) 5 >Outer.Inner : Symbol(Outer.Inner, Decl(usage.js, 1, 6), Decl(def.js, 0, 14)) 6 >Outer : Symbol(Outer, Decl(usage.js, 0, 0), Decl(def.js, 0, 3), Decl(def.js, 0, 14)) 7 >Inner : Symbol(Outer.Inner, Decl(usage.js, 1, 6), Decl(def.js, 0, 14)) 8 >Message : Symbol(Outer.Inner.Message, Decl(usage.js, 0, 0)) 13 >y : Symbol(y, Decl(usage.js, 4, 3)) 14 >Outer.Inner : Symbol(Outer.Inner, Decl(usage.js, 1, 6), Decl(def.js, 0, 14)) 15 >Outer : Symbol(Outer, Decl(usage.js, 0, 0), Decl(def.js, 0, 3), Decl(def.js, 0, 14)) [all …]
|
D | importTypeGenericTypes.symbols | 77 === tests/cases/conformance/types/import/usage.ts === 79 >x : Symbol(x, Decl(usage.ts, 0, 12)) 80 >x : Symbol(x, Decl(usage.ts, 0, 33)) 81 >x : Symbol(x, Decl(usage.ts, 0, 48)) 82 >y : Symbol(y, Decl(usage.ts, 0, 54)) 83 >data : Symbol(data, Decl(usage.ts, 0, 60)) 84 >x : Symbol(x, Decl(usage.ts, 0, 68)) 87 >y : Symbol(y, Decl(usage.ts, 1, 10)) 90 >x : Symbol(x, Decl(usage.ts, 1, 38)) 91 >a : Symbol(a, Decl(usage.ts, 1, 53)) [all …]
|
D | jsDeclarationsTypedefAndImportTypes.symbols | 23 === tests/cases/conformance/jsdoc/declarations/usage.js === 29 >Wrap : Symbol(Wrap, Decl(usage.js, 0, 0)) 35 >c : Symbol(c, Decl(usage.js, 8, 16)) 38 >this.connItem : Symbol(Wrap.connItem, Decl(usage.js, 8, 20)) 39 >this : Symbol(Wrap, Decl(usage.js, 0, 0)) 40 >connItem : Symbol(Wrap.connItem, Decl(usage.js, 8, 20)) 42 >c : Symbol(c, Decl(usage.js, 8, 16)) 47 >this.another : Symbol(Wrap.another, Decl(usage.js, 9, 31)) 48 >this : Symbol(Wrap, Decl(usage.js, 0, 0)) 49 >another : Symbol(Wrap.another, Decl(usage.js, 9, 31)) [all …]
|
D | importTypeLocalMissing.symbols | 59 === tests/cases/conformance/types/import/usage.ts === 61 >x : Symbol(x, Decl(usage.ts, 0, 12)) 62 >x : Symbol(x, Decl(usage.ts, 0, 34)) 63 >y : Symbol(y, Decl(usage.ts, 0, 40)) 66 >y : Symbol(y, Decl(usage.ts, 1, 10)) 67 >a : Symbol(a, Decl(usage.ts, 1, 39)) 68 >b : Symbol(b, Decl(usage.ts, 1, 46)) 71 >z : Symbol(z, Decl(usage.ts, 2, 10)) 73 >a : Symbol(a, Decl(usage.ts, 2, 40)) 74 >b : Symbol(b, Decl(usage.ts, 2, 47)) [all …]
|
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
D | builder_gfx_mem.cpp | 54 void BuilderGfxMem::AssertGFXMemoryParams(Value* ptr, MEM_CLIENT usage) in AssertGFXMemoryParams() argument 56 SWR_ASSERT(!(ptr->getType() == mInt64Ty && usage == MEM_CLIENT::MEM_CLIENT_INTERNAL), in AssertGFXMemoryParams() 73 MEM_CLIENT usage) in GATHERPS() argument 98 MEM_CLIENT usage) in GATHERDD() argument 112 Value* pDst, Value* vSrc, Value* vOffsets, Value* vMask, MEM_CLIENT usage) in SCATTERPS() argument 121 Builder::SCATTERPS(pDst, BITCAST(vSrc, mSimdFP32Ty), vOffsets, vMask, usage); in SCATTERPS() 219 void BuilderGfxMem::TrackerHelper(Value* Ptr, Type* Ty, MEM_CLIENT usage, bool isRead) in TrackerHelper() argument 259 C((uint32_t)usage)}); in TrackerHelper() 266 LoadInst* BuilderGfxMem::LOAD(Value* Ptr, const char* Name, Type* Ty, MEM_CLIENT usage) in LOAD() argument 268 AssertGFXMemoryParams(Ptr, usage); in LOAD() [all …]
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_buffer_common.c | 36 enum radeon_bo_usage usage) in r600_rings_is_buffer_referenced() argument 38 if (ctx->ws->cs_is_buffer_referenced(&ctx->gfx.cs, buf, usage)) { in r600_rings_is_buffer_referenced() 42 ctx->ws->cs_is_buffer_referenced(&ctx->dma.cs, buf, usage)) { in r600_rings_is_buffer_referenced() 50 unsigned usage) in r600_buffer_map_sync_with_rings() argument 57 if (usage & PIPE_MAP_UNSYNCHRONIZED) { in r600_buffer_map_sync_with_rings() 58 return ctx->ws->buffer_map(ctx->ws, resource->buf, NULL, usage); in r600_buffer_map_sync_with_rings() 61 if (!(usage & PIPE_MAP_WRITE)) { in r600_buffer_map_sync_with_rings() 69 if (usage & PIPE_MAP_DONTBLOCK) { in r600_buffer_map_sync_with_rings() 80 if (usage & PIPE_MAP_DONTBLOCK) { in r600_buffer_map_sync_with_rings() 90 if (usage & PIPE_MAP_DONTBLOCK) { in r600_buffer_map_sync_with_rings() [all …]
|
/third_party/musl/libc-test/src/functionalext/supplement/misc/ |
D | getrusage.c | 28 struct rusage usage; in getrusage_0100() local 29 int result = getrusage(RUSAGE_SELF, &usage); in getrusage_0100() 40 struct rusage usage; in getrusage_0200() local 41 int result = getrusage(RUSAGE_CHILDREN, &usage); in getrusage_0200() 52 struct rusage usage; in getrusage_0300() local 53 int result = getrusage(RUSAGE_THREAD, &usage); in getrusage_0300() 64 struct rusage usage; in getrusage_0400() local 65 int result = getrusage(100, &usage); in getrusage_0400() 76 struct rusage usage; in getrusage_0500() local 88 struct rusage usage; in getrusage_time64_0100() local [all …]
|
/third_party/mesa3d/include/android_stub/hardware/ |
D | gralloc.h | 229 buffer_handle_t handle, int usage, 268 buffer_handle_t handle, int usage, 283 buffer_handle_t handle, int usage, 313 buffer_handle_t handle, int usage, 343 uint32_t w, uint32_t h, int32_t format, int usage, 376 int w, int h, int format, int usage, 426 static inline const char* map_usage_to_memtrack(uint32_t usage) { in map_usage_to_memtrack() argument 427 usage &= GRALLOC_USAGE_ALLOC_MASK; in map_usage_to_memtrack() 429 if ((usage & GRALLOC_USAGE_HW_CAMERA_WRITE) != 0) { in map_usage_to_memtrack() 431 } else if ((usage & GRALLOC_USAGE_HW_VIDEO_ENCODER) != 0 || in map_usage_to_memtrack() [all …]
|
/third_party/typescript/src/services/codefixes/ |
D | inferFromUsage.ts | 572 const usage = createEmptyUsage(); constant 575 calculateUsageOfNode(reference, usage); 577 const calls = [...usage.constructs || [], ...usage.calls || []]; 610 const usage = createEmptyUsage(); constant 613 calculateUsageOfNode(reference, usage); 616 return combineTypes(usage.candidateThisTypes || emptyArray); 620 const usage: Usage = createEmptyUsage(); constant 623 calculateUsageOfNode(reference, usage); 625 return inferTypes(usage); 628 function calculateUsageOfNode(node: Expression, usage: Usage): void { [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_screen.c | 58 unsigned storage_sample_count, unsigned usage) in fd5_screen_is_format_supported() argument 65 util_format_name(format), target, sample_count, usage); in fd5_screen_is_format_supported() 72 if ((usage & PIPE_BIND_VERTEX_BUFFER) && in fd5_screen_is_format_supported() 77 if ((usage & (PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_SHADER_IMAGE)) && in fd5_screen_is_format_supported() 80 retval |= usage & (PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_SHADER_IMAGE); in fd5_screen_is_format_supported() 83 if ((usage & in fd5_screen_is_format_supported() 88 retval |= usage & (PIPE_BIND_RENDER_TARGET | PIPE_BIND_DISPLAY_TARGET | in fd5_screen_is_format_supported() 94 if ((usage & PIPE_BIND_RENDER_TARGET) && (format == PIPE_FORMAT_NONE)) { in fd5_screen_is_format_supported() 95 retval |= usage & PIPE_BIND_RENDER_TARGET; in fd5_screen_is_format_supported() 98 if ((usage & PIPE_BIND_DEPTH_STENCIL) && in fd5_screen_is_format_supported() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_screen.c | 43 unsigned storage_sample_count, unsigned usage) in fd4_screen_is_format_supported() argument 50 util_format_name(format), target, sample_count, usage); in fd4_screen_is_format_supported() 57 if ((usage & PIPE_BIND_VERTEX_BUFFER) && in fd4_screen_is_format_supported() 62 if ((usage & PIPE_BIND_SAMPLER_VIEW) && in fd4_screen_is_format_supported() 68 if ((usage & (PIPE_BIND_RENDER_TARGET | PIPE_BIND_DISPLAY_TARGET | in fd4_screen_is_format_supported() 72 retval |= usage & (PIPE_BIND_RENDER_TARGET | PIPE_BIND_DISPLAY_TARGET | in fd4_screen_is_format_supported() 77 if ((usage & PIPE_BIND_RENDER_TARGET) && (format == PIPE_FORMAT_NONE)) { in fd4_screen_is_format_supported() 78 retval |= usage & PIPE_BIND_RENDER_TARGET; in fd4_screen_is_format_supported() 81 if ((usage & PIPE_BIND_DEPTH_STENCIL) && in fd4_screen_is_format_supported() 87 if ((usage & PIPE_BIND_INDEX_BUFFER) && in fd4_screen_is_format_supported() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_screen.c | 64 unsigned storage_sample_count, unsigned usage) in fd6_screen_is_format_supported() argument 71 util_format_name(format), target, sample_count, usage); in fd6_screen_is_format_supported() 78 if ((usage & PIPE_BIND_VERTEX_BUFFER) && in fd6_screen_is_format_supported() 86 if ((usage & (PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_SHADER_IMAGE)) && in fd6_screen_is_format_supported() 89 retval |= usage & (PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_SHADER_IMAGE); in fd6_screen_is_format_supported() 92 if ((usage & in fd6_screen_is_format_supported() 96 retval |= usage & (PIPE_BIND_RENDER_TARGET | PIPE_BIND_DISPLAY_TARGET | in fd6_screen_is_format_supported() 102 if ((usage & PIPE_BIND_RENDER_TARGET) && (format == PIPE_FORMAT_NONE)) { in fd6_screen_is_format_supported() 103 retval |= usage & PIPE_BIND_RENDER_TARGET; in fd6_screen_is_format_supported() 106 if ((usage & PIPE_BIND_DEPTH_STENCIL) && in fd6_screen_is_format_supported() [all …]
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_buffer.c | 34 enum radeon_bo_usage usage) in si_cs_is_buffer_referenced() argument 36 return sctx->ws->cs_is_buffer_referenced(&sctx->gfx_cs, buf, usage); in si_cs_is_buffer_referenced() 40 unsigned usage) in si_buffer_map() argument 42 return sctx->ws->buffer_map(sctx->ws, resource->buf, &sctx->gfx_cs, usage); in si_buffer_map() 56 switch (res->b.b.usage) { in si_init_resource_fields() 311 unsigned usage, const struct pipe_box *box, in si_buffer_get_transfer() argument 318 if (usage & PIPE_MAP_THREAD_SAFE) in si_buffer_get_transfer() 320 else if (usage & TC_TRANSFER_MAP_THREADED_UNSYNC) in si_buffer_get_transfer() 328 transfer->b.b.usage = usage; in si_buffer_get_transfer() 340 unsigned level, unsigned usage, const struct pipe_box *box, in si_buffer_transfer_map() argument [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_transfer.c | 9 unsigned usage, unsigned offset, in u_default_buffer_subdata() argument 16 assert(!(usage & PIPE_MAP_READ)); in u_default_buffer_subdata() 19 usage |= PIPE_MAP_WRITE; in u_default_buffer_subdata() 24 if (!(usage & PIPE_MAP_DIRECTLY)) { in u_default_buffer_subdata() 26 usage |= PIPE_MAP_DISCARD_WHOLE_RESOURCE; in u_default_buffer_subdata() 28 usage |= PIPE_MAP_DISCARD_RANGE; in u_default_buffer_subdata() 34 map = pipe->buffer_map(pipe, resource, 0, usage, &box, &transfer); in u_default_buffer_subdata() 45 unsigned usage, in u_default_texture_subdata() argument 55 assert(!(usage & PIPE_MAP_READ)); in u_default_texture_subdata() 58 usage |= PIPE_MAP_WRITE; in u_default_texture_subdata() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_screen.c | 41 unsigned storage_sample_count, unsigned usage) in fd2_screen_is_format_supported() argument 48 util_format_name(format), target, sample_count, usage); in fd2_screen_is_format_supported() 55 if ((usage & PIPE_BIND_RENDER_TARGET) && in fd2_screen_is_format_supported() 60 if ((usage & (PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_VERTEX_BUFFER)) && in fd2_screen_is_format_supported() 63 retval |= usage & PIPE_BIND_VERTEX_BUFFER; in fd2_screen_is_format_supported() 67 retval |= usage & PIPE_BIND_SAMPLER_VIEW; in fd2_screen_is_format_supported() 70 if ((usage & (PIPE_BIND_RENDER_TARGET | PIPE_BIND_DISPLAY_TARGET | in fd2_screen_is_format_supported() 73 retval |= usage & (PIPE_BIND_RENDER_TARGET | PIPE_BIND_DISPLAY_TARGET | in fd2_screen_is_format_supported() 77 if ((usage & PIPE_BIND_DEPTH_STENCIL) && in fd2_screen_is_format_supported() 82 if ((usage & PIPE_BIND_INDEX_BUFFER) && in fd2_screen_is_format_supported() [all …]
|
/third_party/skia/third_party/externals/tint/src/ |
D | intrinsic_table.inl | 1792 /* usage */ ParameterUsage::kTexture, 1797 /* usage */ ParameterUsage::kSampler, 1802 /* usage */ ParameterUsage::kCoords, 1807 /* usage */ ParameterUsage::kArrayIndex, 1812 /* usage */ ParameterUsage::kDdx, 1817 /* usage */ ParameterUsage::kDdy, 1822 /* usage */ ParameterUsage::kOffset, 1827 /* usage */ ParameterUsage::kTexture, 1832 /* usage */ ParameterUsage::kSampler, 1837 /* usage */ ParameterUsage::kCoords, [all …]
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_resource.c | 153 bci.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT | in create_bci() 157 bci.usage |= VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT | in create_bci() 166 bci.usage |= VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT; in create_bci() 189 info.usage = ici->usage; in check_ici() 207 … ici->tiling, ici->usage, ici->flags, &image_props); in check_ici() 214 VkImageUsageFlags usage = 0; in get_image_usage_for_feats() local 216 usage |= VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT; in get_image_usage_for_feats() 220 usage |= VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in get_image_usage_for_feats() 222 usage |= VK_IMAGE_USAGE_TRANSFER_DST_BIT; in get_image_usage_for_feats() 224 usage |= VK_IMAGE_USAGE_SAMPLED_BIT; in get_image_usage_for_feats() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_screen.c | 43 unsigned storage_sample_count, unsigned usage) in fd3_screen_is_format_supported() argument 50 util_format_name(format), target, sample_count, usage); in fd3_screen_is_format_supported() 57 if ((usage & PIPE_BIND_VERTEX_BUFFER) && in fd3_screen_is_format_supported() 62 if ((usage & PIPE_BIND_SAMPLER_VIEW) && in fd3_screen_is_format_supported() 67 if ((usage & (PIPE_BIND_RENDER_TARGET | PIPE_BIND_DISPLAY_TARGET | in fd3_screen_is_format_supported() 71 retval |= usage & (PIPE_BIND_RENDER_TARGET | PIPE_BIND_DISPLAY_TARGET | in fd3_screen_is_format_supported() 74 retval |= usage & PIPE_BIND_BLENDABLE; in fd3_screen_is_format_supported() 77 if ((usage & PIPE_BIND_DEPTH_STENCIL) && in fd3_screen_is_format_supported() 83 if ((usage & PIPE_BIND_INDEX_BUFFER) && in fd3_screen_is_format_supported() 88 if (retval != usage) { in fd3_screen_is_format_supported() [all …]
|