/third_party/mesa3d/src/amd/addrlib/src/core/ |
D | addrlib2.h | 390 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 …]
|
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 | 241 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 …]
|
D | gfx9addrlib.cpp | 278 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/ |
D | gfx11addrlib.h | 203 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 …]
|
D | gfx11addrlib.cpp | 294 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/ |
D | gfx10addrlib.h | 220 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 …]
|
D | gfx10addrlib.cpp | 285 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/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/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 | 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);
|
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 | renderer11_utils.cpp | 2548 mData->resourceType = ResourceType::Texture2D; in initDesc() 2557 mData->resourceType = ResourceType::Texture3D; in initDesc()
|
/third_party/mesa3d/src/amd/addrlib/inc/ |
D | addrinterface.h | 2434 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/ |
D | ac_surface_meta_address_test.c | 216 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()
|
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 | 1428 sin.resourceType = in->resourceType; in gfx9_get_preferred_swizzle_mode() 1485 if (info->gfx_level >= GFX10 && in->resourceType == ADDR_RSRC_TEX_3D && in->numSlices > 1) { in gfx9_get_preferred_swizzle_mode() 1870 xin.resourceType = in->resourceType; in gfx9_compute_miptree() 1906 din.resourceType = in->resourceType; in gfx9_compute_miptree() 1987 if (in->resourceType == ADDR_RSRC_TEX_2D) in gfx9_compute_miptree() 2065 xin.resourceType = in->resourceType; in gfx9_compute_miptree() 2081 in->swizzleMode != ADDR_SW_LINEAR && in->resourceType == ADDR_RSRC_TEX_2D && in gfx9_compute_miptree() 2098 cin.resourceType = in->resourceType; in gfx9_compute_miptree() 2211 AddrSurfInfoIn.resourceType = ADDR_RSRC_TEX_3D; in gfx9_compute_surface() 2213 AddrSurfInfoIn.resourceType = ADDR_RSRC_TEX_1D; in gfx9_compute_surface() [all …]
|
/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/mesa3d/src/gallium/drivers/svga/ |
D | svga_tgsi_vgpu10.c | 10099 enum tgsi_file_type resourceType, unsigned writemask) in emit_uav_register() argument 10109 switch (resourceType) { in emit_uav_register() 10163 enum tgsi_file_type resourceType, in emit_uav_addr_offset() argument 10188 if (resourceType == TGSI_FILE_HW_ATOMIC) { in emit_uav_addr_offset() 10234 else if (resourceType == TGSI_FILE_IMAGE) { in emit_uav_addr_offset() 10312 enum tgsi_file_type resourceType = inst->Src[0].Register.File; in emit_load_instruction() local 10315 addr_src = emit_uav_addr_offset(emit, resourceType, resourceIndex, in emit_load_instruction() 10325 if (resourceType == TGSI_FILE_MEMORY || in emit_load_instruction() 10326 resourceType == TGSI_FILE_BUFFER || in emit_load_instruction() 10327 resourceType == TGSI_FILE_HW_ATOMIC) { in emit_load_instruction() [all …]
|
/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()
|
D | Framebuffer.h | 438 bool detachResourceById(const Context *context, GLenum resourceType, GLuint resourceId);
|
/third_party/skia/include/private/ |
D | GrResourceKey.h | 208 ResourceType resourceType() const { return this->domain(); } in resourceType() function
|