Home
last modified time | relevance | path

Searched refs:resourceType (Results 1 – 25 of 49) sorted by relevance

12

/third_party/mesa3d/src/amd/addrlib/src/core/
Daddrlib2.h390 BOOL_32 IsStandardSwizzle(AddrResourceType resourceType, AddrSwizzleMode swizzleMode) const in IsStandardSwizzle() argument
392 return HwlIsStandardSwizzle(resourceType, swizzleMode); in IsStandardSwizzle()
395 BOOL_32 IsDisplaySwizzle(AddrResourceType resourceType, AddrSwizzleMode swizzleMode) const in IsDisplaySwizzle() argument
397 return HwlIsDisplaySwizzle(resourceType, swizzleMode); in IsDisplaySwizzle()
416 static BOOL_32 IsTex1d(AddrResourceType resourceType) in IsTex1d() argument
418 return (resourceType == ADDR_RSRC_TEX_1D); in IsTex1d()
421 static BOOL_32 IsTex2d(AddrResourceType resourceType) in IsTex2d() argument
423 return (resourceType == ADDR_RSRC_TEX_2D); in IsTex2d()
426 static BOOL_32 IsTex3d(AddrResourceType resourceType) in IsTex3d() argument
428 return (resourceType == ADDR_RSRC_TEX_3D); in IsTex3d()
[all …]
Daddrlib2.cpp369 (IsTex3d(localIn.resourceType) && in ComputeSurfaceAddrFromCoord()
688 localIn.resourceType = ADDR_RSRC_TEX_2D; in ComputeFmaskInfo()
897 else if ((IsThin(pIn->resourceType, pIn->swizzleMode) == FALSE) || in ComputeSlicePipeBankXor()
1170 if (IsTex1d(pIn->resourceType)) in ComputeSurfaceAddrFromCoordLinear()
1188 localIn.resourceType = pIn->resourceType; in ComputeSurfaceAddrFromCoordLinear()
1261 if (IsTex1d(pIn->resourceType)) in ComputeSurfaceCoordFromAddrLinear()
1277 localIn.resourceType = pIn->resourceType; in ComputeSurfaceCoordFromAddrLinear()
1296 if (IsTex1d(pIn->resourceType)) in ComputeSurfaceCoordFromAddrLinear()
1331 if (IsTex1d(pIn->resourceType)) in ComputeSurfaceCoordFromAddrLinear()
1353 (IsTex3d(pIn->resourceType) && in ComputeSurfaceCoordFromAddrLinear()
[all …]
/third_party/mesa3d/src/amd/addrlib/src/gfx9/
Dgfx9addrlib.h241 AddrResourceType resourceType; member
271 AddrResourceType resourceType, in HwlIsStandardSwizzle() argument
275 (IsTex3d(resourceType) && m_swizzleModeTable[swizzleMode].isDisp); in HwlIsStandardSwizzle()
279 AddrResourceType resourceType, in HwlIsDisplaySwizzle() argument
282 return IsTex2d(resourceType) && m_swizzleModeTable[swizzleMode].isDisp; in HwlIsDisplaySwizzle()
286 AddrResourceType resourceType, in HwlIsThin() argument
289 return ((IsTex2d(resourceType) == TRUE) || in HwlIsThin()
290 ((IsTex3d(resourceType) == TRUE) && in HwlIsThin()
296 AddrResourceType resourceType, in HwlIsThick() argument
299 return (IsTex3d(resourceType) && in HwlIsThick()
[all …]
Dgfx9addrlib.cpp278 ADDR_ASSERT(pIn->resourceType == ADDR_RSRC_TEX_2D); in HwlComputeCmaskInfo()
359 Gfx9DataFmask, pIn->swizzleMode, pIn->resourceType, in HwlComputeCmaskInfo()
614 BOOL_32 dataThick = IsThick(pIn->resourceType, pIn->swizzleMode); in HwlComputeDccInfo()
640 Dim3d compressBlkDim = GetDccCompressBlk(pIn->resourceType, pIn->swizzleMode, pIn->bpp); in HwlComputeDccInfo()
723 Gfx9DataColor, pIn->swizzleMode, pIn->resourceType, in HwlComputeDccInfo()
864 input.resourceType = pIn->resourceType; in HwlComputeCmaskAddrFromCoord()
879 Gfx9DataFmask, pIn->swizzleMode, pIn->resourceType, in HwlComputeCmaskAddrFromCoord()
1119 Gfx9DataColor, pIn->swizzleMode, pIn->resourceType, in HwlComputeDccAddrFromCoord()
1507 AddrResourceType resourceType, ///< [in] data surface resource type in GetDataEquation() argument
1535 else if (IsThick(resourceType, swizzleMode)) in GetDataEquation()
[all …]
/third_party/mesa3d/src/amd/addrlib/src/gfx11/
Dgfx11addrlib.h203 AddrResourceType resourceType, in HwlIsStandardSwizzle() argument
210 AddrResourceType resourceType, in HwlIsDisplaySwizzle() argument
217 AddrResourceType resourceType, in HwlIsThin() argument
220 return ((IsTex1d(resourceType) == TRUE) || in HwlIsThin()
221 (IsTex2d(resourceType) == TRUE) || in HwlIsThin()
222 ((IsTex3d(resourceType) == TRUE) && in HwlIsThin()
228 AddrResourceType resourceType, in HwlIsThick() argument
231 return ((IsTex3d(resourceType) == TRUE) && in HwlIsThick()
371 AddrResourceType resourceType,
408 AddrResourceType resourceType,
[all …]
Dgfx11addrlib.cpp294 const BOOL_32 isThick = IsThick(pIn->resourceType, pIn->swizzleMode); in HwlComputeDccInfo()
305 pIn->resourceType, in HwlComputeDccInfo()
525 if ((pIn->resourceType != ADDR_RSRC_TEX_2D) || in HwlSupportComputeDccAddrFromCoord()
781 AddrResourceType resourceType, ///< [in] Resource type in GetBlk256SizeLog2() argument
788 if (IsThin(resourceType, swizzleMode)) in GetBlk256SizeLog2()
804 ADDR_ASSERT(IsThick(resourceType, swizzleMode)); in GetBlk256SizeLog2()
827 AddrResourceType resourceType, ///< [in] Resource type in GetCompressedBlockSizeLog2() argument
836 GetBlk256SizeLog2(resourceType, swizzleMode, elemLog2, numSamplesLog2, pBlock); in GetCompressedBlockSizeLog2()
860 AddrResourceType resourceType, ///< [in] Resource type in GetMetaOverlapLog2() argument
869 …GetCompressedBlockSizeLog2(dataType, resourceType, swizzleMode, elemLog2, numSamplesLog2, &compBlo… in GetMetaOverlapLog2()
[all …]
/third_party/mesa3d/src/amd/addrlib/src/gfx10/
Dgfx10addrlib.h220 AddrResourceType resourceType, in HwlIsStandardSwizzle() argument
227 AddrResourceType resourceType, in HwlIsDisplaySwizzle() argument
234 AddrResourceType resourceType, in HwlIsThin() argument
237 return ((IsTex1d(resourceType) == TRUE) || in HwlIsThin()
238 (IsTex2d(resourceType) == TRUE) || in HwlIsThin()
239 ((IsTex3d(resourceType) == TRUE) && in HwlIsThin()
245 AddrResourceType resourceType, in HwlIsThick() argument
248 return ((IsTex3d(resourceType) == TRUE) && in HwlIsThick()
396 AddrResourceType resourceType,
439 AddrResourceType resourceType,
[all …]
Dgfx10addrlib.cpp285 if ((pIn->resourceType != ADDR_RSRC_TEX_2D) || in HwlComputeCmaskInfo()
411 …else if (m_settings.dccUnsup3DSwDis && IsTex3d(pIn->resourceType) && IsDisplaySwizzle(pIn->swizzle… in HwlComputeDccInfo()
424 const BOOL_32 isThick = IsThick(pIn->resourceType, pIn->swizzleMode); in HwlComputeDccInfo()
436 pIn->resourceType, in HwlComputeDccInfo()
596 input.resourceType = pIn->resourceType; in HwlComputeCmaskAddrFromCoord()
740 if ((pIn->resourceType != ADDR_RSRC_TEX_2D) || in HwlSupportComputeDccAddrFromCoord()
1126 AddrResourceType resourceType, ///< [in] Resource type in GetBlk256SizeLog2() argument
1133 if (IsThin(resourceType, swizzleMode)) in GetBlk256SizeLog2()
1148 ADDR_ASSERT(IsThick(resourceType, swizzleMode)); in GetBlk256SizeLog2()
1171 AddrResourceType resourceType, ///< [in] Resource type in GetCompressedBlockSizeLog2() argument
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
DvktRayTracingBarrierTests.cpp183 VkAccessFlagBits getReaderAccessFlag (Stage stage, VkDescriptorType resourceType) in getReaderAccessFlag() argument
203 …bits = ((resourceType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER) ? VK_ACCESS_UNIFORM_READ_BIT : VK_ACCE… in getReaderAccessFlag()
294 VkDescriptorType resourceType; member
300 : resourceType (resourceType_) in TestParams()
305 DE_ASSERT(resourceType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER || in TestParams()
306 resourceType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER || in TestParams()
307 resourceType == VK_DESCRIPTOR_TYPE_STORAGE_IMAGE); in TestParams()
413 switch (m_params.resourceType) in initPrograms()
952 …device, VkCommandBuffer cmdBuffer, Allocator& alloc, VkDescriptorType resourceType, Stage stage, S… in updateDescriptorSet() argument
957 …if (resourceType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER || resourceType == VK_DESCRIPTOR_TYPE_STORAG… in updateDescriptorSet()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingBarrierTests.cpp183 VkAccessFlagBits getReaderAccessFlag (Stage stage, VkDescriptorType resourceType) in getReaderAccessFlag() argument
203 …bits = ((resourceType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER) ? VK_ACCESS_UNIFORM_READ_BIT : VK_ACCE… in getReaderAccessFlag()
294 VkDescriptorType resourceType; member
300 : resourceType (resourceType_) in TestParams()
305 DE_ASSERT(resourceType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER || in TestParams()
306 resourceType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER || in TestParams()
307 resourceType == VK_DESCRIPTOR_TYPE_STORAGE_IMAGE); in TestParams()
413 switch (m_params.resourceType) in initPrograms()
952 …device, VkCommandBuffer cmdBuffer, Allocator& alloc, VkDescriptorType resourceType, Stage stage, S… in updateDescriptorSet() argument
957 …if (resourceType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER || resourceType == VK_DESCRIPTOR_TYPE_STORAG… in updateDescriptorSet()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
DvktMeshShaderSyncTests.cpp314 VkImageUsageFlags resourceImageUsageFlags (ResourceType resourceType) in resourceImageUsageFlags() argument
318 switch (resourceType) in resourceImageUsageFlags()
329 VkBufferUsageFlags resourceBufferUsageFlags (ResourceType resourceType) in resourceBufferUsageFlags() argument
333 switch (resourceType) in resourceBufferUsageFlags()
353 ResourceType resourceType; member
379 const auto imgFormat = ((resourceType == ResourceType::STORAGE_IMAGE) ? ", r32ui" : ""); in getResourceDecl()
384 switch (resourceType) in getResourceDecl()
421 switch (resourceType) in getReadStatement()
439 switch (resourceType) in getWriteStatement()
468 …return (isShaderStage(fromStage) || (barrierType == BarrierType::GENERAL) || (resourceType == Reso… in preferGeneralLayout()
[all …]
DvktMeshShaderSyncTestsEXT.cpp317 VkImageUsageFlags resourceImageUsageFlags (ResourceType resourceType) in resourceImageUsageFlags() argument
321 switch (resourceType) in resourceImageUsageFlags()
332 VkBufferUsageFlags resourceBufferUsageFlags (ResourceType resourceType) in resourceBufferUsageFlags() argument
336 switch (resourceType) in resourceBufferUsageFlags()
379 ResourceType resourceType; member
405 const auto imgFormat = ((resourceType == ResourceType::STORAGE_IMAGE) ? ", r32ui" : ""); in getResourceDecl()
410 switch (resourceType) in getResourceDecl()
447 switch (resourceType) in getReadStatement()
465 switch (resourceType) in getWriteStatement()
494 …return (isShaderStage(fromStage) || (barrierType == BarrierType::GENERAL) || (resourceType == Reso… in preferGeneralLayout()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderSyncTests.cpp314 VkImageUsageFlags resourceImageUsageFlags (ResourceType resourceType) in resourceImageUsageFlags() argument
318 switch (resourceType) in resourceImageUsageFlags()
329 VkBufferUsageFlags resourceBufferUsageFlags (ResourceType resourceType) in resourceBufferUsageFlags() argument
333 switch (resourceType) in resourceBufferUsageFlags()
353 ResourceType resourceType; member
379 const auto imgFormat = ((resourceType == ResourceType::STORAGE_IMAGE) ? ", r32ui" : ""); in getResourceDecl()
384 switch (resourceType) in getResourceDecl()
421 switch (resourceType) in getReadStatement()
439 switch (resourceType) in getWriteStatement()
468 …return (isShaderStage(fromStage) || (barrierType == BarrierType::GENERAL) || (resourceType == Reso… in preferGeneralLayout()
[all …]
DvktMeshShaderSyncTestsEXT.cpp317 VkImageUsageFlags resourceImageUsageFlags (ResourceType resourceType) in resourceImageUsageFlags() argument
321 switch (resourceType) in resourceImageUsageFlags()
332 VkBufferUsageFlags resourceBufferUsageFlags (ResourceType resourceType) in resourceBufferUsageFlags() argument
336 switch (resourceType) in resourceBufferUsageFlags()
379 ResourceType resourceType; member
405 const auto imgFormat = ((resourceType == ResourceType::STORAGE_IMAGE) ? ", r32ui" : ""); in getResourceDecl()
410 switch (resourceType) in getResourceDecl()
447 switch (resourceType) in getReadStatement()
465 switch (resourceType) in getWriteStatement()
494 …return (isShaderStage(fromStage) || (barrierType == BarrierType::GENERAL) || (resourceType == Reso… in preferGeneralLayout()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DResourceManager11.cpp88 uint64_t ComputeGenericMemoryUsage(ResourceType resourceType, ID3D11DeviceChild *resource) in ComputeGenericMemoryUsage() argument
90 switch (resourceType) in ComputeGenericMemoryUsage()
417 void ResourceManager11::incrResource(ResourceType resourceType, uint64_t memorySize) in incrResource() argument
419 size_t typeIndex = ResourceTypeIndex(resourceType); in incrResource()
429 void ResourceManager11::decrResource(ResourceType resourceType, uint64_t memorySize) in decrResource() argument
431 size_t typeIndex = ResourceTypeIndex(resourceType); in decrResource()
439 void ResourceManager11::onReleaseGeneric(ResourceType resourceType, ID3D11DeviceChild *resource) in onReleaseGeneric() argument
442 decrResource(resourceType, ComputeGenericMemoryUsage(resourceType, resource)); in onReleaseGeneric()
DResourceManager11.h84 constexpr size_t ResourceTypeIndex(ResourceType resourceType) in ResourceTypeIndex() argument
86 return static_cast<size_t>(resourceType); in ResourceTypeIndex()
332 void onReleaseGeneric(ResourceType resourceType, ID3D11DeviceChild *resource);
337 void incrResource(ResourceType resourceType, uint64_t memorySize);
338 void decrResource(ResourceType resourceType, uint64_t memorySize);
Drenderer11_utils.h360 manager->onReleaseGeneric(resourceType, object); in ~GenericData()
368 ResourceType resourceType = ResourceType::Last; member
384 bool is2D() const { return mData->resourceType == ResourceType::Texture2D; } in is2D()
385 bool is3D() const { return mData->resourceType == ResourceType::Texture3D; } in is3D()
386 ResourceType getTextureType() const { return mData->resourceType; } in getTextureType()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DResourceManager11.cpp88 uint64_t ComputeGenericMemoryUsage(ResourceType resourceType, ID3D11DeviceChild *resource) in ComputeGenericMemoryUsage() argument
90 switch (resourceType) in ComputeGenericMemoryUsage()
417 void ResourceManager11::incrResource(ResourceType resourceType, uint64_t memorySize) in incrResource() argument
419 size_t typeIndex = ResourceTypeIndex(resourceType); in incrResource()
429 void ResourceManager11::decrResource(ResourceType resourceType, uint64_t memorySize) in decrResource() argument
431 size_t typeIndex = ResourceTypeIndex(resourceType); in decrResource()
439 void ResourceManager11::onReleaseGeneric(ResourceType resourceType, ID3D11DeviceChild *resource) in onReleaseGeneric() argument
442 decrResource(resourceType, ComputeGenericMemoryUsage(resourceType, resource)); in onReleaseGeneric()
DResourceManager11.h88 constexpr size_t ResourceTypeIndex(ResourceType resourceType) in ResourceTypeIndex() argument
90 return static_cast<size_t>(resourceType); in ResourceTypeIndex()
362 void onReleaseGeneric(ResourceType resourceType, ID3D11DeviceChild *resource);
367 void incrResource(ResourceType resourceType, uint64_t memorySize);
368 void decrResource(ResourceType resourceType, uint64_t memorySize);
Drenderer11_utils.h359 manager->onReleaseGeneric(resourceType, object); in ~GenericData()
367 ResourceType resourceType = ResourceType::Last; member
383 bool is2D() const { return mData->resourceType == ResourceType::Texture2D; } in is2D()
384 bool is3D() const { return mData->resourceType == ResourceType::Texture3D; } in is3D()
385 ResourceType getTextureType() const { return mData->resourceType; } in getTextureType()
/third_party/mesa3d/src/amd/addrlib/inc/
Daddrinterface.h2434 AddrResourceType resourceType; ///< Surface type member
2564 AddrResourceType resourceType; ///< Surface type member
2630 AddrResourceType resourceType; ///< Surface type member
2945 AddrResourceType resourceType; ///< Color surface type member
3048 AddrResourceType resourceType; ///< Color surface type member
3109 AddrResourceType resourceType; ///< Color surface type member
3375 AddrResourceType resourceType; ///< Color surface type member
3486 AddrResourceType resourceType; ///< Color surface type member
3553 AddrResourceType resourceType; ///< Surface resource type member
3600 AddrResourceType resourceType; ///< Surface resource type member
[all …]
/third_party/mesa3d/src/amd/common/
Dac_surface_meta_address_test.c216 xin.resourceType = in.resourceType = din.resourceType = ADDR_RSRC_TEX_2D; in one_dcc_address_test()
459 xin.resourceType = ADDR_RSRC_TEX_2D; in one_htile_address_test()
591 cin.resourceType = xin.resourceType = in.resourceType = ADDR_RSRC_TEX_2D; in one_cmask_address_test()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DCommandGraph.cpp68 const char *GetResourceTypeName(CommandGraphResourceType resourceType, in GetResourceTypeName() argument
71 switch (resourceType) in GetResourceTypeName()
223 CommandGraphResource::CommandGraphResource(CommandGraphResourceType resourceType) in CommandGraphResource() argument
224 : mCurrentWritingNode(nullptr), mResourceType(resourceType) in CommandGraphResource()
711 void CommandGraphNode::setDiagnosticInfo(CommandGraphResourceType resourceType, in setDiagnosticInfo() argument
714 mResourceType = resourceType; in setDiagnosticInfo()
817 CommandGraphResourceType resourceType, in allocateBarrierNode() argument
821 newNode->setDiagnosticInfo(resourceType, resourceID); in allocateBarrierNode()
DCommandGraph.h179 void setDiagnosticInfo(CommandGraphResourceType resourceType, uintptr_t resourceID);
418 explicit CommandGraphResource(CommandGraphResourceType resourceType);
510 CommandGraphResourceType resourceType,
/third_party/vk-gl-cts/modules/egl/
DteglGLES2SharingThreadedTests.cpp2964 ResourceType resourceType; member
3052 if (m_config.resourceType == TestConfig::RESOURCETYPE_IMAGE) in init()
3087 switch (m_config.resourceType) in init()
3772 config.resourceType = GLES2ThreadedSharingTest::TestConfig::RESOURCETYPE_BUFFER; in addSimpleTests()
3784 config.resourceType = GLES2ThreadedSharingTest::TestConfig::RESOURCETYPE_BUFFER; in addSimpleTests()
3796 config.resourceType = GLES2ThreadedSharingTest::TestConfig::RESOURCETYPE_BUFFER; in addSimpleTests()
3808 config.resourceType = GLES2ThreadedSharingTest::TestConfig::RESOURCETYPE_BUFFER; in addSimpleTests()
3820 config.resourceType = GLES2ThreadedSharingTest::TestConfig::RESOURCETYPE_BUFFER; in addSimpleTests()
3838 config.resourceType = GLES2ThreadedSharingTest::TestConfig::RESOURCETYPE_TEXTURE; in addSimpleTests()
3850 config.resourceType = GLES2ThreadedSharingTest::TestConfig::RESOURCETYPE_TEXTURE; in addSimpleTests()
[all …]

12