/third_party/mesa3d/src/amd/addrlib/src/core/ |
D | addrlib2.h | 386 BOOL_32 IsStandardSwizzle(AddrResourceType resourceType, AddrSwizzleMode swizzleMode) const in IsStandardSwizzle() argument 388 return HwlIsStandardSwizzle(resourceType, swizzleMode); in IsStandardSwizzle() 391 BOOL_32 IsDisplaySwizzle(AddrResourceType resourceType, AddrSwizzleMode swizzleMode) const in IsDisplaySwizzle() argument 393 return HwlIsDisplaySwizzle(resourceType, swizzleMode); in IsDisplaySwizzle() 412 static BOOL_32 IsTex1d(AddrResourceType resourceType) in IsTex1d() argument 414 return (resourceType == ADDR_RSRC_TEX_1D); in IsTex1d() 417 static BOOL_32 IsTex2d(AddrResourceType resourceType) in IsTex2d() argument 419 return (resourceType == ADDR_RSRC_TEX_2D); in IsTex2d() 422 static BOOL_32 IsTex3d(AddrResourceType resourceType) in IsTex3d() argument 424 return (resourceType == ADDR_RSRC_TEX_3D); in IsTex3d() [all …]
|
D | addrlib2.cpp | 369 (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/ |
D | gfx9addrlib.h | 242 AddrResourceType resourceType; member 272 AddrResourceType resourceType, in HwlIsStandardSwizzle() argument 276 (IsTex3d(resourceType) && m_swizzleModeTable[swizzleMode].isDisp); in HwlIsStandardSwizzle() 280 AddrResourceType resourceType, in HwlIsDisplaySwizzle() argument 283 return IsTex2d(resourceType) && m_swizzleModeTable[swizzleMode].isDisp; in HwlIsDisplaySwizzle() 287 AddrResourceType resourceType, in HwlIsThin() argument 290 return ((IsTex2d(resourceType) == TRUE) || in HwlIsThin() 291 ((IsTex3d(resourceType) == TRUE) && in HwlIsThin() 297 AddrResourceType resourceType, in HwlIsThick() argument 300 return (IsTex3d(resourceType) && in HwlIsThick() [all …]
|
D | gfx9addrlib.cpp | 279 ADDR_ASSERT(pIn->resourceType == ADDR_RSRC_TEX_2D); in HwlComputeCmaskInfo() 360 Gfx9DataFmask, pIn->swizzleMode, pIn->resourceType, in HwlComputeCmaskInfo() 615 BOOL_32 dataThick = IsThick(pIn->resourceType, pIn->swizzleMode); in HwlComputeDccInfo() 641 Dim3d compressBlkDim = GetDccCompressBlk(pIn->resourceType, pIn->swizzleMode, pIn->bpp); in HwlComputeDccInfo() 724 Gfx9DataColor, pIn->swizzleMode, pIn->resourceType, in HwlComputeDccInfo() 865 input.resourceType = pIn->resourceType; in HwlComputeCmaskAddrFromCoord() 880 Gfx9DataFmask, pIn->swizzleMode, pIn->resourceType, in HwlComputeCmaskAddrFromCoord() 1120 Gfx9DataColor, pIn->swizzleMode, pIn->resourceType, in HwlComputeDccAddrFromCoord() 1508 AddrResourceType resourceType, ///< [in] data surface resource type in GetDataEquation() argument 1536 else if (IsThick(resourceType, swizzleMode)) in GetDataEquation() [all …]
|
/third_party/mesa3d/src/amd/addrlib/src/gfx10/ |
D | gfx10addrlib.h | 221 AddrResourceType resourceType, in HwlIsStandardSwizzle() argument 228 AddrResourceType resourceType, in HwlIsDisplaySwizzle() argument 235 AddrResourceType resourceType, in HwlIsThin() argument 238 return ((IsTex1d(resourceType) == TRUE) || in HwlIsThin() 239 (IsTex2d(resourceType) == TRUE) || in HwlIsThin() 240 ((IsTex3d(resourceType) == TRUE) && in HwlIsThin() 246 AddrResourceType resourceType, in HwlIsThick() argument 249 return ((IsTex3d(resourceType) == TRUE) && in HwlIsThick() 398 AddrResourceType resourceType, 435 AddrResourceType resourceType, [all …]
|
D | gfx10addrlib.cpp | 286 if ((pIn->resourceType != ADDR_RSRC_TEX_2D) || in HwlComputeCmaskInfo() 412 …else if (m_settings.dccUnsup3DSwDis && IsTex3d(pIn->resourceType) && IsDisplaySwizzle(pIn->swizzle… in HwlComputeDccInfo() 425 const BOOL_32 isThick = IsThick(pIn->resourceType, pIn->swizzleMode); in HwlComputeDccInfo() 437 pIn->resourceType, in HwlComputeDccInfo() 597 input.resourceType = pIn->resourceType; in HwlComputeCmaskAddrFromCoord() 743 if ((pIn->resourceType != ADDR_RSRC_TEX_2D) || in HwlSupportComputeDccAddrFromCoord() 1115 AddrResourceType resourceType, ///< [in] Resource type in GetBlk256SizeLog2() argument 1122 if (IsThin(resourceType, swizzleMode)) in GetBlk256SizeLog2() 1137 ADDR_ASSERT(IsThick(resourceType, swizzleMode)); in GetBlk256SizeLog2() 1160 AddrResourceType resourceType, ///< [in] Resource type in GetCompressedBlockSizeLog2() argument [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
D | vktRayTracingBarrierTests.cpp | 183 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/mesh_shader/ |
D | vktMeshShaderSyncTests.cpp | 314 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() 402 switch (resourceType) in getReadStatement() 420 switch (resourceType) in getWriteStatement() 449 …return (isShaderStage(fromStage) || (barrierType == BarrierType::GENERAL) || (resourceType == Reso… in preferGeneralLayout() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | ResourceManager11.cpp | 88 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()
|
D | renderer11_utils.h | 360 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()
|
D | ResourceManager11.h | 84 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);
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | ResourceManager11.cpp | 88 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()
|
D | renderer11_utils.h | 359 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()
|
D | ResourceManager11.h | 88 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);
|
/third_party/mesa3d/src/amd/addrlib/inc/ |
D | addrinterface.h | 2435 AddrResourceType resourceType; ///< Surface type member 2565 AddrResourceType resourceType; ///< Surface type member 2631 AddrResourceType resourceType; ///< Surface type member 2946 AddrResourceType resourceType; ///< Color surface type member 3049 AddrResourceType resourceType; ///< Color surface type member 3110 AddrResourceType resourceType; ///< Color surface type member 3376 AddrResourceType resourceType; ///< Color surface type member 3487 AddrResourceType resourceType; ///< Color surface type member 3554 AddrResourceType resourceType; ///< Surface resource type member 3601 AddrResourceType resourceType; ///< Surface resource type member [all …]
|
/third_party/mesa3d/src/amd/common/ |
D | ac_surface_meta_address_test.c | 216 xin.resourceType = in.resourceType = din.resourceType = ADDR_RSRC_TEX_2D; in one_dcc_address_test() 441 xin.resourceType = ADDR_RSRC_TEX_2D; in one_htile_address_test() 556 cin.resourceType = xin.resourceType = in.resourceType = ADDR_RSRC_TEX_2D; in one_cmask_address_test()
|
D | ac_surface_modifier_test.c | 79 din.resourceType = ADDR_RSRC_TEX_2D; in get_addr_from_coord_base() 96 dcc_input.resourceType = ADDR_RSRC_TEX_2D; in get_addr_from_coord_base() 134 input.resourceType = ADDR_RSRC_TEX_2D; in generate_hash()
|
D | ac_surface.c | 1366 sin.resourceType = in->resourceType; in gfx9_get_preferred_swizzle_mode() 1408 if (info->chip_class >= GFX10 && in->resourceType == ADDR_RSRC_TEX_3D && in->numSlices > 1) { in gfx9_get_preferred_swizzle_mode() 1790 xin.resourceType = in->resourceType; in gfx9_compute_miptree() 1821 din.resourceType = in->resourceType; in gfx9_compute_miptree() 1897 if (in->resourceType == ADDR_RSRC_TEX_2D) in gfx9_compute_miptree() 1969 xin.resourceType = in->resourceType; in gfx9_compute_miptree() 1984 if (in->swizzleMode != ADDR_SW_LINEAR && in->resourceType == ADDR_RSRC_TEX_2D && in gfx9_compute_miptree() 2001 cin.resourceType = in->resourceType; in gfx9_compute_miptree() 2109 AddrSurfInfoIn.resourceType = ADDR_RSRC_TEX_3D; in gfx9_compute_surface() 2111 AddrSurfInfoIn.resourceType = ADDR_RSRC_TEX_1D; in gfx9_compute_surface() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | CommandGraph.cpp | 68 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()
|
D | CommandGraph.h | 179 void setDiagnosticInfo(CommandGraphResourceType resourceType, uintptr_t resourceID); 418 explicit CommandGraphResource(CommandGraphResourceType resourceType); 510 CommandGraphResourceType resourceType,
|
/third_party/vk-gl-cts/modules/egl/ |
D | teglGLES2SharingThreadedTests.cpp | 2964 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 …]
|
D | teglRobustnessTests.cpp | 223 const ResourceType& resourceType, 285 const ResourceType& resourceType, in Params() argument 292 , m_resourceType (resourceType) in Params() 554 …Functions& gl, tcu::TestLog& log, ShaderType shaderType, ResourceType resourceType, ReadWriteType … 592 …Functions& gl, tcu::TestLog& log, ShaderType shaderType, ResourceType resourceType, ReadWriteType … in ContextReset() argument 596 , m_resourceType (resourceType) in ContextReset() 750 …Functions& gl, tcu::TestLog& log, ShaderType shaderType, ResourceType resourceType, ReadWriteType … 777 …Functions& gl, tcu::TestLog& log, ShaderType shaderType, ResourceType resourceType, ReadWriteType … in ShadersOOB() argument 778 : ContextReset(gl, log, shaderType, resourceType, readWriteType) in ShadersOOB()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/ |
D | vktBindingValveMutableTests.cpp | 292 ResourceType resourceType = ResourceType::SAMPLER; in toResourceType() local 296 resourceType = ResourceType::SAMPLER; in toResourceType() 300 resourceType = ResourceType::COMBINED_IMAGE_SAMPLER; in toResourceType() 306 resourceType = ResourceType::IMAGE; in toResourceType() 311 resourceType = ResourceType::BUFFER_VIEW; in toResourceType() 316 resourceType = ResourceType::BUFFER; in toResourceType() 320 resourceType = ResourceType::ACCELERATION_STRUCTURE; in toResourceType() 328 return resourceType; in toResourceType() 514 ResourceType resourceType; member 525 , resourceType (toResourceType(descriptorType)) in Resource() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | Framebuffer.cpp | 721 bool Framebuffer::detachResourceById(const Context *context, GLenum resourceType, GLuint resourceId) in detachResourceById() argument 727 if (detachMatchingAttachment(context, &mState.mColorAttachments[colorIndex], resourceType, in detachResourceById() 741 if (detachMatchingAttachment(context, attachment, resourceType, resourceId)) in detachResourceById() 749 if (detachMatchingAttachment(context, &mState.mDepthAttachment, resourceType, resourceId)) in detachResourceById() 753 if (detachMatchingAttachment(context, &mState.mStencilAttachment, resourceType, resourceId)) in detachResourceById()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | Framebuffer.cpp | 924 bool Framebuffer::detachResourceById(const Context *context, GLenum resourceType, GLuint resourceId) in detachResourceById() argument 930 if (detachMatchingAttachment(context, &mState.mColorAttachments[colorIndex], resourceType, in detachResourceById() 944 if (detachMatchingAttachment(context, attachment, resourceType, resourceId)) in detachResourceById() 952 if (detachMatchingAttachment(context, &mState.mDepthAttachment, resourceType, resourceId)) in detachResourceById() 956 if (detachMatchingAttachment(context, &mState.mStencilAttachment, resourceType, resourceId)) in detachResourceById()
|