/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMultisampleTestsUtil.cpp | 40 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize, const deUint3… in getShaderGridSize() argument 46 switch (imageType) in getShaderGridSize() 78 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize) in getLayerSize() argument 80 switch (imageType) in getLayerSize() 102 deUint32 getNumLayers (const ImageType imageType, const tcu::UVec3& imageSize) in getNumLayers() argument 104 switch (imageType) in getNumLayers() 128 deUint32 getNumPixels (const ImageType imageType, const tcu::UVec3& imageSize) in getNumPixels() argument 130 const tcu::UVec3 gridSize = getShaderGridSize(imageType, imageSize); in getNumPixels() 135 deUint32 getDimensions (const ImageType imageType) in getDimensions() argument 137 switch (imageType) in getDimensions() [all …]
|
D | vktPipelineMultisampleTestsUtil.hpp | 57 vk::VkImageType mapImageType (const ImageType imageType); 58 vk::VkImageViewType mapImageViewType (const ImageType imageType); 59 std::string getImageTypeName (const ImageType imageType); 60 std::string getShaderImageType (const tcu::TextureFormat& format, const ImageType imageType); 63 std::string getShaderImageCoordinates (const ImageType imageType, const std::string& x, const st… 65 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize, const de… 67 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize); 69 deUint32 getNumLayers (const ImageType imageType, const tcu::UVec3& imageSize); 71 deUint32 getNumPixels (const ImageType imageType, const tcu::UVec3& imageSize); 73 deUint32 getDimensions (const ImageType imageType); [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesShaderIntrinsics.cpp | 62 const ImageType imageType = imageParameters[imageTypeNdx].imageType; in createSparseResourcesShaderIntrinsicsTests() local 63 …roup> imageTypeGroup (new tcu::TestCaseGroup(testCtx, (getImageTypeName(imageType) + functions[fun… in createSparseResourcesShaderIntrinsicsTests() 87 if ((imageType == IMAGE_TYPE_CUBE) || (imageType == IMAGE_TYPE_CUBE_ARRAY)) continue; in createSparseResourcesShaderIntrinsicsTests() 92 …if ((imageType == IMAGE_TYPE_CUBE) || (imageType == IMAGE_TYPE_CUBE_ARRAY) || (imageType == IMAGE_… in createSparseResourcesShaderIntrinsicsTests() 101 …Child(new SparseCaseOpImageSparseFetch(testCtx, stream.str(), function, imageType, imageSize, form… in createSparseResourcesShaderIntrinsicsTests() 104 …dChild(new SparseCaseOpImageSparseRead(testCtx, stream.str(), function, imageType, imageSize, form… in createSparseResourcesShaderIntrinsicsTests() 107 …arseCaseOpImageSparseSampleExplicitLod(testCtx, stream.str(), function, imageType, imageSize, form… in createSparseResourcesShaderIntrinsicsTests() 110 …arseCaseOpImageSparseSampleImplicitLod(testCtx, stream.str(), function, imageType, imageSize, form… in createSparseResourcesShaderIntrinsicsTests() 113 …hild(new SparseCaseOpImageSparseGather(testCtx, stream.str(), function, imageType, imageSize, form… in createSparseResourcesShaderIntrinsicsTests()
|
D | vktSparseResourcesShaderIntrinsicsSampled.hpp | 39 const ImageType imageType, in SparseShaderIntrinsicsCaseSampledBase() argument 42 : SparseShaderIntrinsicsCaseBase (testCtx, name, function, imageType, imageSize, format) {} in SparseShaderIntrinsicsCaseSampledBase() 59 const ImageType imageType, in SparseShaderIntrinsicsCaseSampledExplicit() argument 62 : SparseShaderIntrinsicsCaseSampledBase (testCtx, name, function, imageType, imageSize, format) {} in SparseShaderIntrinsicsCaseSampledExplicit() 73 const ImageType imageType, in SparseCaseOpImageSparseSampleExplicitLod() argument 76 …: SparseShaderIntrinsicsCaseSampledExplicit (testCtx, name, function, imageType, imageSize, format… in SparseCaseOpImageSparseSampleExplicitLod() 91 const ImageType imageType, in SparseShaderIntrinsicsCaseSampledImplicit() argument 94 : SparseShaderIntrinsicsCaseSampledBase (testCtx, name, function, imageType, imageSize, format) {} in SparseShaderIntrinsicsCaseSampledImplicit() 105 const ImageType imageType, in SparseCaseOpImageSparseSampleImplicitLod() argument 108 …: SparseShaderIntrinsicsCaseSampledImplicit (testCtx, name, function, imageType, imageSize, format… in SparseCaseOpImageSparseSampleImplicitLod() [all …]
|
D | vktSparseResourcesTestsUtil.hpp | 80 ImageType imageType; member 87 std::vector<TestFormat> getTestFormats (const ImageType& imageType); 89 vk::VkImageType mapImageType (const ImageType imageType); 91 vk::VkImageViewType mapImageViewType (const ImageType imageType); 93 std::string getImageTypeName (const ImageType imageType); 96 const ImageType imageType); 99 const ImageType imageType); 111 std::string getShaderImageCoordinates (const ImageType imageType, 117 tcu::UVec3 getShaderGridSize (const ImageType imageType, 122 tcu::UVec3 getLayerSize (const ImageType imageType, [all …]
|
D | vktSparseResourcesTestsUtil.cpp | 52 std::vector<TestFormat> getTestFormats (const ImageType& imageType) in getTestFormats() argument 71 if (imageType == IMAGE_TYPE_2D || imageType == IMAGE_TYPE_2D_ARRAY) in getTestFormats() 120 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize, const deUint3… in getShaderGridSize() argument 126 switch (imageType) in getShaderGridSize() 158 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize) in getLayerSize() argument 160 switch (imageType) in getLayerSize() 182 deUint32 getNumLayers (const ImageType imageType, const tcu::UVec3& imageSize) in getNumLayers() argument 184 switch (imageType) in getNumLayers() 208 deUint32 getNumPixels (const ImageType imageType, const tcu::UVec3& imageSize) in getNumPixels() argument 210 const tcu::UVec3 gridSize = getShaderGridSize(imageType, imageSize); in getNumPixels() [all …]
|
D | vktSparseResourcesImageAlignedMipSize.cpp | 62 const ImageType imageType, 79 const ImageType imageType, in ImageAlignedMipSizeCase() argument 83 , m_imageType (imageType) in ImageAlignedMipSizeCase() 117 const ImageType imageType, 130 const ImageType imageType, in ImageAlignedMipSizeInstance() argument 134 , m_imageType (imageType) in ImageAlignedMipSizeInstance() 155 imageCreateInfo.imageType = mapImageType(m_imageType); in iterate() 182 imageCreateInfo.imageType, in iterate() 277 const ImageType imageType = imageParameters[imageTypeNdx].imageType; in createImageAlignedMipSizeTests() local 278 …aseGroup> imageTypeGroup(new tcu::TestCaseGroup(testCtx, getImageTypeName(imageType).c_str(), "")); in createImageAlignedMipSizeTests() [all …]
|
D | vktSparseResourcesShaderIntrinsicsStorage.hpp | 39 const ImageType imageType, in SparseShaderIntrinsicsCaseStorage() argument 42 : SparseShaderIntrinsicsCaseBase(testCtx, name, function, imageType, imageSize, format) {} in SparseShaderIntrinsicsCaseStorage() 62 const ImageType imageType, in SparseCaseOpImageSparseFetch() argument 65 : SparseShaderIntrinsicsCaseStorage (testCtx, name, function, imageType, imageSize, format) {} in SparseCaseOpImageSparseFetch() 85 const ImageType imageType, in SparseCaseOpImageSparseRead() argument 88 : SparseShaderIntrinsicsCaseStorage (testCtx, name, function, imageType, imageSize, format) {} in SparseCaseOpImageSparseRead()
|
D | vktSparseResourcesShaderIntrinsicsBase.hpp | 95 std::string getOpTypeImageSparse (const ImageType imageType, 99 std::string getOpTypeImageSparse (const ImageType imageType, 103 std::string getOpTypeImageResidency (const ImageType imageType); 111 const ImageType imageType, in SparseShaderIntrinsicsCaseBase() argument 116 , m_imageType(imageType) in SparseShaderIntrinsicsCaseBase() 150 const ImageType imageType, in SparseShaderIntrinsicsInstanceBase() argument 155 , m_imageType(imageType) in SparseShaderIntrinsicsInstanceBase()
|
D | vktSparseResourcesImageBlockShapes.cpp | 62 const ImageType imageType, 81 const ImageType imageType, in ImageBlockShapesCase() argument 86 , m_imageType (imageType) in ImageBlockShapesCase() 121 const ImageType imageType, 136 const ImageType imageType, in ImageBlockShapesInstance() argument 141 , m_imageType (imageType) in ImageBlockShapesInstance() 161 imageCreateInfo.imageType = mapImageType(m_imageType); in iterate() 185 imageCreateInfo.imageType, in iterate() 465 const ImageType imageType = imageParameters[imageTypeNdx].imageType; in createImageBlockShapesTests() local 466 …aseGroup> imageTypeGroup(new tcu::TestCaseGroup(testCtx, getImageTypeName(imageType).c_str(), "")); in createImageBlockShapesTests() [all …]
|
D | vktSparseResourcesImageSparseBinding.cpp | 64 const ImageType imageType, 82 const ImageType imageType, in ImageSparseBindingCase() argument 89 , m_imageType (imageType) in ImageSparseBindingCase() 117 const ImageType imageType, 132 const ImageType imageType, in ImageSparseBindingInstance() argument 139 , m_imageType (imageType) in ImageSparseBindingInstance() 176 imageSparseInfo.imageType = mapImageType(m_imageType); //VkImageType imageType; in iterate() 198 imageSparseInfo.imageType, in iterate() 481 const ImageType imageType = imageParameters[imageTypeNdx].imageType; in createImageSparseBindingTestsCommon() local 482 …seGroup> imageTypeGroup (new tcu::TestCaseGroup(testCtx, getImageTypeName(imageType).c_str(), "")); in createImageSparseBindingTestsCommon() [all …]
|
D | vktSparseResourcesMipmapSparseResidency.cpp | 64 const ImageType imageType, 82 const ImageType imageType, in MipmapSparseResidencyCase() argument 88 , m_imageType (imageType) in MipmapSparseResidencyCase() 122 const ImageType imageType, 138 const ImageType imageType, in MipmapSparseResidencyInstance() argument 144 , m_imageType (imageType) in MipmapSparseResidencyInstance() 180 imageSparseInfo.imageType = mapImageType(m_imageType); in iterate() 206 imageSparseInfo.imageType, in iterate() 585 const ImageType imageType = imageParameters[imageTypeNdx].imageType; in createMipmapSparseResidencyTestsCommon() local 586 …aseGroup> imageTypeGroup(new tcu::TestCaseGroup(testCtx, getImageTypeName(imageType).c_str(), "")); in createMipmapSparseResidencyTestsCommon() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageQualifiersTests.cpp | 71 const tcu::UVec3 getLocalWorkGroupSize (const ImageType imageType, const tcu::UVec3& imageSize) in getLocalWorkGroupSize() argument 73 const tcu::UVec3 computeGridSize = getShaderGridSize(imageType, imageSize); in getLocalWorkGroupSize() 81 const tcu::UVec3 getNumWorkGroups (const ImageType imageType, const tcu::UVec3& imageSize) in getNumWorkGroups() argument 83 const tcu::UVec3 computeGridSize = getShaderGridSize(imageType, imageSize); in getNumWorkGroups() 84 const tcu::UVec3 localWorkGroupSize = getLocalWorkGroupSize(imageType, imageSize); in getNumWorkGroups() 89 tcu::ConstPixelBufferAccess getLayerOrSlice (const ImageType imageType, in getLayerOrSlice() argument 93 switch (imageType) in getLayerOrSlice() 117 const ImageType imageType, in comparePixelBuffers() argument 129 for (deUint32 layerNdx = 0; layerNdx < getNumLayers(imageType, imageSize); ++layerNdx) in comparePixelBuffers() 134 switch (imageType) in comparePixelBuffers() [all …]
|
D | vktImageTestsUtil.hpp | 53 vk::VkImageType mapImageType (const ImageType imageType); 54 vk::VkImageViewType mapImageViewType (const ImageType imageType); 55 std::string getImageTypeName (const ImageType imageType); 57 std::string getShaderImageType (const tcu::TextureFormat& format, const ImageType imageType, … 138 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize); //!< Size… 139 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize); //!< Size of … 140 deUint32 getNumLayers (const ImageType imageType, const tcu::UVec3& imageSize); //!< Number of … 141 deUint32 getNumPixels (const ImageType imageType, const tcu::UVec3& imageSize); //!< Number of … 142 deUint32 getDimensions (const ImageType imageType); //!< Coordinate dimension used for a… 143 deUint32 getLayerDimensions (const ImageType imageType); //!< Coordinate dimension used f…
|
D | vktImageTestsUtil.cpp | 82 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize) in getShaderGridSize() argument 84 switch (imageType) in getShaderGridSize() 112 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize) in getLayerSize() argument 114 switch (imageType) in getLayerSize() 136 deUint32 getNumLayers (const ImageType imageType, const tcu::UVec3& imageSize) in getNumLayers() argument 138 switch (imageType) in getNumLayers() 162 deUint32 getNumPixels (const ImageType imageType, const tcu::UVec3& imageSize) in getNumPixels() argument 164 const tcu::UVec3 gridSize = getShaderGridSize(imageType, imageSize); in getNumPixels() 169 deUint32 getDimensions (const ImageType imageType) in getDimensions() argument 171 switch (imageType) in getDimensions() [all …]
|
D | vktImageAtomicOperationTests.cpp | 112 static string getCoordStr (const ImageType imageType, in getCoordStr() argument 117 switch (imageType) in getCoordStr() 407 const ImageType& imageType, in AddFillReadShader() argument 412 const string imageInCoord = getCoordStr(imageType, "gx", "gy", "gz"); in AddFillReadShader() 414 const string shaderImageTypeStr = getShaderImageType(format, imageType); in AddFillReadShader() 465 if ((imageType != IMAGE_TYPE_1D) && in AddFillReadShader() 466 (imageType != IMAGE_TYPE_1D_ARRAY) && in AddFillReadShader() 467 (imageType != IMAGE_TYPE_BUFFER)) in AddFillReadShader() 540 void commonCheckSupport (Context& context, const tcu::TextureFormat& tcuFormat, ImageType imageType… in commonCheckSupport() argument 543 const VkImageType vkImgType = mapImageType(imageType); in commonCheckSupport() [all …]
|
D | vktImageCompressionTranscodingSupport.cpp | 110 ImageType imageType; member 292 , m_layerSize (getLayerSize(m_parameters.imageType, m_parameters.size)) in BasicTranscodingTestInstance() 322 if (m_parameters.imageType == IMAGE_TYPE_1D) in getMipLevelSizes() 570 mapImageViewType(m_parameters.imageType), m_parameters.formatUncompressed, in iterate() 578 mapImageViewType(m_parameters.imageType), m_parameters.formatUncompressed, in iterate() 935 const VkImageType imageType = mapImageType(m_parameters.imageType); in createImageInfos() local 944 …const VkExtent3D extentCompressed = makeExtent3D(getLayerSize(m_parameters.imageType, m_parameters… in createImageInfos() 952 imageType, // VkImageType imageType; in createImageInfos() 973 if (m_parameters.imageType == IMAGE_TYPE_1D) { in createImageInfos() 990 imageType, // VkImageType imageType; in createImageInfos() [all …]
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fNegativeShaderImageLoadStoreTests.cpp | 118 …mageTypeDeclaration (const tcu::TextureFormat& format, glu::TextureTestUtil::TextureType imageType) in getShaderImageTypeDeclaration() argument 144 switch(imageType) in getShaderImageTypeDeclaration() 160 std::string getShaderImageTypeExtensionString (glu::TextureTestUtil::TextureType imageType) in getShaderImageTypeExtensionString() argument 164 switch(imageType) in getShaderImageTypeExtensionString() 189 std::string getShaderImageParamP (glu::TextureTestUtil::TextureType imageType) in getShaderImageParamP() argument 191 switch(imageType) in getShaderImageParamP() 342 …ion function, MemoryQualifier memory, glu::TextureTestUtil::TextureType imageType, const tcu::Text… in generateShaderSource() argument 357 params["GLSL_TYPE_EXTENSION"] = getShaderImageTypeExtensionString(imageType); in generateShaderSource() 362 params["IMAGE_TYPE"] = getShaderImageTypeDeclaration(format, imageType); in generateShaderSource() 364 params["IMAGE_PARAM_P"] = getShaderImageParamP(imageType); in generateShaderSource() [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | ShaderModuleGL.cpp | 110 spirv_cross::SPIRType::ImageType imageType = in ExtractSpirvInfo() local 113 compiler.get_type(imageType.type).basetype; in ExtractSpirvInfo() 116 SpirvDimToTextureViewDimension(imageType.dim, imageType.arrayed); in ExtractSpirvInfo() 117 info->texture.multisampled = imageType.ms; in ExtractSpirvInfo() 121 if (imageType.depth) { in ExtractSpirvInfo() 128 DAWN_INVALID_IF(imageType.ms && imageType.arrayed, in ExtractSpirvInfo() 162 spirv_cross::SPIRType::ImageType imageType = in ExtractSpirvInfo() local 165 SpirvImageFormatToTextureFormat(imageType.format); in ExtractSpirvInfo() 174 DAWN_INVALID_IF(imageType.ms, in ExtractSpirvInfo() 177 DAWN_INVALID_IF(imageType.depth, in ExtractSpirvInfo() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | VulkanFormatTablesTest.cpp | 34 VkImageType imageType; member 86 renderer->getPhysicalDevice(), actualImageVkFormat, params.imageType, in TEST_P() 104 renderer->getPhysicalDevice(), actualRenderableImageVkFormat, params.imageType, in TEST_P() 109 renderer->getPhysicalDevice(), actualRenderableImageVkFormat, params.imageType, in TEST_P()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | VulkanFormatTablesTest.cpp | 34 VkImageType imageType; member 83 renderer->getPhysicalDevice(), vkFormat.vkImageFormat, params.imageType, in TEST_P() 99 renderer->getPhysicalDevice(), vkFormat.vkImageFormat, params.imageType, in TEST_P() 104 renderer->getPhysicalDevice(), vkFormat.vkImageFormat, params.imageType, in TEST_P()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
D | ShaderImage_test.cpp | 27 TBasicType imageType, in CheckImageStoreCall() argument 40 ASSERT_EQ(imageType, storeArgument1Typed->getBasicType()); in CheckImageStoreCall() 56 TBasicType imageType, in CheckImageLoadCall() argument 67 ASSERT_EQ(imageType, loadArgument1Typed->getBasicType()); in CheckImageLoadCall() 91 TBasicType imageType, in CheckImageDeclaration() argument 103 ASSERT_EQ(imageType, myImageNode->getBasicType()); in CheckImageDeclaration()
|
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
D | ShaderImage_test.cpp | 27 TBasicType imageType, in CheckImageStoreCall() argument 40 ASSERT_EQ(imageType, storeArgument1Typed->getBasicType()); in CheckImageStoreCall() 56 TBasicType imageType, in CheckImageLoadCall() argument 67 ASSERT_EQ(imageType, loadArgument1Typed->getBasicType()); in CheckImageLoadCall() 91 TBasicType imageType, in CheckImageDeclaration() argument 103 ASSERT_EQ(imageType, myImageNode->getBasicType()); in CheckImageDeclaration()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkImageView.cpp | 143 bool ImageView::imageTypesMatch(VkImageType imageType) const in imageTypesMatch() 150 return (imageType == VK_IMAGE_TYPE_1D) && in imageTypesMatch() 153 return imageType == VK_IMAGE_TYPE_1D; in imageTypesMatch() 155 return ((imageType == VK_IMAGE_TYPE_2D) || in imageTypesMatch() 156 ((imageType == VK_IMAGE_TYPE_3D) && in imageTypesMatch() 160 return (imageType == VK_IMAGE_TYPE_2D) || in imageTypesMatch() 161 ((imageType == VK_IMAGE_TYPE_3D) && in imageTypesMatch() 172 return (imageType == VK_IMAGE_TYPE_3D) && in imageTypesMatch()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiCopiesAndBlittingTests.cpp | 268 VkImageType imageType; member 385 return (parms.imageType != VK_IMAGE_TYPE_3D) ? parms.extent.depth : 1u; in getArraySize() 391 …return parms.imageType == VK_IMAGE_TYPE_2D && parms.extent.depth % 6 == 0 ? VK_IMAGE_CREATE_CUBE_C… in getCreateFlags() 408 (parms.imageType != VK_IMAGE_TYPE_1D) ? ((parms.extent.height >> mipLevel) * blockHeight) : 1u, in getExtent3D() 409 (parms.imageType == VK_IMAGE_TYPE_3D) ? parms.extent.depth : 1u, in getExtent3D() 1040 m_params.src.image.imageType, // VkImageType imageType; in CopyImageToImage() 1067 m_params.dst.image.imageType, // VkImageType imageType; in CopyImageToImage() 1311 …if (m_params.src.image.imageType == VK_IMAGE_TYPE_3D && m_params.dst.image.imageType == VK_IMAGE_T… in copyRegionToTextureLevel() 1316 …if (m_params.src.image.imageType == VK_IMAGE_TYPE_2D && m_params.dst.image.imageType == VK_IMAGE_T… in copyRegionToTextureLevel() 1388 …if ((m_params.dst.image.imageType == VK_IMAGE_TYPE_3D && m_params.src.image.imageType == VK_IMAGE_… in checkSupport() [all …]
|