Home
last modified time | relevance | path

Searched refs:imageType (Results 1 – 25 of 172) sorted by relevance

1234567

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleTestsUtil.cpp40 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 …]
DvktPipelineMultisampleTestsUtil.hpp57 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 …]
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesShaderIntrinsics.cpp62 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()
DvktSparseResourcesShaderIntrinsicsSampled.hpp39 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 …]
DvktSparseResourcesTestsUtil.hpp80 ImageType imageType; member
85 std::vector<TestFormat> getTestFormats (const ImageType& imageType);
87 vk::VkImageType mapImageType (const ImageType imageType);
89 vk::VkImageViewType mapImageViewType (const ImageType imageType);
91 std::string getImageTypeName (const ImageType imageType);
94 const ImageType imageType);
97 const ImageType imageType);
109 std::string getShaderImageCoordinates (const ImageType imageType,
115 tcu::UVec3 getShaderGridSize (const ImageType imageType,
120 tcu::UVec3 getLayerSize (const ImageType imageType,
[all …]
DvktSparseResourcesTestsUtil.cpp40 std::vector<TestFormat> getTestFormats (const ImageType& imageType) in getTestFormats() argument
58 if (imageType == IMAGE_TYPE_2D || imageType == IMAGE_TYPE_2D_ARRAY) in getTestFormats()
103 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize, const deUint3… in getShaderGridSize() argument
109 switch (imageType) in getShaderGridSize()
141 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize) in getLayerSize() argument
143 switch (imageType) in getLayerSize()
165 deUint32 getNumLayers (const ImageType imageType, const tcu::UVec3& imageSize) in getNumLayers() argument
167 switch (imageType) in getNumLayers()
191 deUint32 getNumPixels (const ImageType imageType, const tcu::UVec3& imageSize) in getNumPixels() argument
193 const tcu::UVec3 gridSize = getShaderGridSize(imageType, imageSize); in getNumPixels()
[all …]
DvktSparseResourcesImageAlignedMipSize.cpp62 const ImageType imageType,
79 const ImageType imageType, in ImageAlignedMipSizeCase() argument
83 , m_imageType (imageType) in ImageAlignedMipSizeCase()
107 const ImageType imageType,
120 const ImageType imageType, in ImageAlignedMipSizeInstance() argument
124 , m_imageType (imageType) in ImageAlignedMipSizeInstance()
145 imageCreateInfo.imageType = mapImageType(m_imageType); in iterate()
172 imageCreateInfo.imageType, in iterate()
267 const ImageType imageType = imageParameters[imageTypeNdx].imageType; in createImageAlignedMipSizeTests() local
268 …aseGroup> imageTypeGroup(new tcu::TestCaseGroup(testCtx, getImageTypeName(imageType).c_str(), "")); in createImageAlignedMipSizeTests()
[all …]
DvktSparseResourcesShaderIntrinsicsStorage.hpp39 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()
DvktSparseResourcesShaderIntrinsicsBase.hpp95 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()
DvktSparseResourcesImageBlockShapes.cpp62 const ImageType imageType,
81 const ImageType imageType, in ImageBlockShapesCase() argument
86 , m_imageType (imageType) in ImageBlockShapesCase()
111 const ImageType imageType,
126 const ImageType imageType, in ImageBlockShapesInstance() argument
131 , m_imageType (imageType) in ImageBlockShapesInstance()
151 imageCreateInfo.imageType = mapImageType(m_imageType); in iterate()
175 imageCreateInfo.imageType, in iterate()
455 const ImageType imageType = imageParameters[imageTypeNdx].imageType; in createImageBlockShapesTests() local
456 …aseGroup> imageTypeGroup(new tcu::TestCaseGroup(testCtx, getImageTypeName(imageType).c_str(), "")); in createImageBlockShapesTests()
[all …]
/external/OpenCL-CTS/test_conformance/images/clCopyImage/
Dtest_loops.cpp43 cl_mem_object_type imageType; in test_image_type() local
59 imageType = CL_MEM_OBJECT_IMAGE1D; in test_image_type()
64 imageType = CL_MEM_OBJECT_IMAGE2D; in test_image_type()
69 imageType = CL_MEM_OBJECT_IMAGE3D; in test_image_type()
74 imageType = CL_MEM_OBJECT_IMAGE1D_ARRAY; in test_image_type()
79 imageType = CL_MEM_OBJECT_IMAGE2D_ARRAY; in test_image_type()
84 imageType = CL_MEM_OBJECT_IMAGE3D; in test_image_type()
89 imageType = CL_MEM_OBJECT_IMAGE3D; in test_image_type()
94 imageType = CL_MEM_OBJECT_IMAGE2D_ARRAY; in test_image_type()
99 imageType = CL_MEM_OBJECT_IMAGE2D_ARRAY; in test_image_type()
[all …]
/external/OpenCL-CTS/test_conformance/images/kernel_image_methods/
Dtest_loops.cpp34 … device, cl_context context, cl_command_queue queue, cl_mem_object_type imageType, cl_mem_flags fl… in test_image_type() argument
36 …log_info( "Running %s %s-only tests...\n", convert_image_type_to_string(imageType), flags == CL_ME… in test_image_type()
45 if( get_format_list( context, imageType, formatList, numFormats, flags ) ) in test_image_type()
72 switch (imageType) { in test_image_type()
106 …et( cl_device_id device, cl_context context, cl_command_queue queue, cl_mem_object_type imageType ) in test_image_set() argument
116 switch (imageType) { in test_image_set()
127 ret += test_image_type( device, context, queue, imageType, CL_MEM_READ_ONLY ); in test_image_set()
128 ret += test_image_type( device, context, queue, imageType, CL_MEM_WRITE_ONLY ); in test_image_set()
/external/OpenCL-CTS/test_conformance/images/samplerlessReads/
Dtest_loops.cpp36 … image_sampler_data *imageSampler, ExplicitType outputType, cl_mem_object_type imageType ) in test_read_image_type() argument
45 switch (imageType) in test_read_image_type()
78 … image_sampler_data *imageSampler, ExplicitType outputType, cl_mem_object_type imageType ) in test_read_image_formats() argument
92 … test_read_image_type( device, context, queue, &imageFormat, imageSampler, outputType, imageType ); in test_read_image_formats()
98 …et( cl_device_id device, cl_context context, cl_command_queue queue, cl_mem_object_type imageType ) in test_image_set() argument
121 if ( get_format_list( context, imageType, formatList, numFormats, flags ) ) in test_image_set()
133 if ( printedFormatList != (int)imageType ) in test_image_set()
135 …---- Supported %s read formats for this device ---- \n", convert_image_type_to_string(imageType) ); in test_image_set()
141 printedFormatList = imageType; in test_image_set()
161 &imageSampler, test.explicitType, imageType); in test_image_set()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageQualifiersTests.cpp71 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 …]
DvktImageTestsUtil.hpp53 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, …
111 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize); //!< Size…
112 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize); //!< Size of …
113 deUint32 getNumLayers (const ImageType imageType, const tcu::UVec3& imageSize); //!< Number of …
114 deUint32 getNumPixels (const ImageType imageType, const tcu::UVec3& imageSize); //!< Number of …
115 deUint32 getDimensions (const ImageType imageType); //!< Coordinate dimension used for a…
116 deUint32 getLayerDimensions (const ImageType imageType); //!< Coordinate dimension used f…
DvktImageTestsUtil.cpp60 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize) in getShaderGridSize() argument
62 switch (imageType) in getShaderGridSize()
90 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize) in getLayerSize() argument
92 switch (imageType) in getLayerSize()
114 deUint32 getNumLayers (const ImageType imageType, const tcu::UVec3& imageSize) in getNumLayers() argument
116 switch (imageType) in getNumLayers()
140 deUint32 getNumPixels (const ImageType imageType, const tcu::UVec3& imageSize) in getNumPixels() argument
142 const tcu::UVec3 gridSize = getShaderGridSize(imageType, imageSize); in getNumPixels()
147 deUint32 getDimensions (const ImageType imageType) in getDimensions() argument
149 switch (imageType) in getDimensions()
[all …]
/external/OpenCL-CTS/test_conformance/images/kernel_read_write/
Dtest_loops.cpp44 … image_sampler_data *imageSampler, ExplicitType outputType, cl_mem_object_type imageType ) in test_read_image_type() argument
101 switch (imageType) in test_read_image_type()
133 … image_sampler_data *imageSampler, ExplicitType outputType, cl_mem_object_type imageType ) in test_read_image_formats() argument
175 …ce, context, queue, &imageFormat, flipFlop[ floatCoordIdx ], imageSampler, outputType, imageType ); in test_read_image_formats()
183 …xt context, cl_command_queue queue, test_format_set_fn formatTestFn, cl_mem_object_type imageType ) in test_image_set() argument
189 …if ( ( 0 == is_extension_available( device, "cl_khr_3d_image_writes" )) && (imageType == CL_MEM_OB… in test_image_set()
219 switch (imageType) { in test_image_set()
265 if( get_format_list( context, imageType, formatList, numFormats, flags ) ) in test_image_set()
280 int test = imageType | (formatTestFn == test_read_image_formats ? (1 << 16) : (1 << 17)); in test_image_set()
283 …orted %s %s formats for this device ---- \n", convert_image_type_to_string(imageType), flagNames ); in test_image_set()
[all …]
Dmain.cpp65 …t context, cl_command_queue queue, test_format_set_fn formatTestFn, cl_mem_object_type imageType );
112 …st( cl_device_id device, cl_context context, cl_command_queue queue, cl_mem_object_type imageType ) in doTest() argument
115 bool is_2d_image = imageType == CL_MEM_OBJECT_IMAGE2D; in doTest()
128 ret += test_image_set( device, context, queue, test_read_image_formats, imageType ); in doTest()
143 ret += test_image_set( device, context, queue, test_read_image_formats, imageType ); in doTest()
154 ret += test_image_set( device, context, queue, test_write_image_formats, imageType ); in doTest()
171 … ret += test_image_set( device, context, queue, test_write_image_formats, imageType ); in doTest()
191 ret += test_image_set( device, context, queue, test_read_image_formats, imageType ); in doTest()
206 ret += test_image_set( device, context, queue, test_read_image_formats, imageType ); in doTest()
213 ret += test_image_set( device, context, queue, test_write_image_formats, imageType ); in doTest()
[all …]
/external/OpenCL-CTS/test_conformance/images/clReadWriteImage/
Dtest_loops.cpp35 … device, cl_context context, cl_command_queue queue, cl_mem_object_type imageType, cl_mem_flags fl… in test_image_type() argument
37 …y tests...\n", gTestMipmaps?"mipmapped":"",convert_image_type_to_string(imageType), flags == CL_ME… in test_image_type()
57 if( get_format_list( context, imageType, formatList, numFormats, flags ) ) in test_image_type()
84 switch (imageType) { in test_image_type()
118 …et( cl_device_id device, cl_context context, cl_command_queue queue, cl_mem_object_type imageType ) in test_image_set() argument
122 ret += test_image_type( device, context, queue, imageType, CL_MEM_READ_ONLY ); in test_image_set()
123 ret += test_image_type( device, context, queue, imageType, CL_MEM_WRITE_ONLY ); in test_image_set()
/external/OpenCL-CTS/test_conformance/images/clFillImage/
Dtest_loops.cpp40 cl_mem_object_type imageType; in test_image_type() local
46 imageType = CL_MEM_OBJECT_IMAGE1D; in test_image_type()
52 imageType = CL_MEM_OBJECT_IMAGE2D; in test_image_type()
58 imageType = CL_MEM_OBJECT_IMAGE1D_ARRAY; in test_image_type()
64 imageType = CL_MEM_OBJECT_IMAGE2D_ARRAY; in test_image_type()
70 imageType = CL_MEM_OBJECT_IMAGE3D; in test_image_type()
83 if ( get_format_list( context, imageType, formatList, numFormats, flags ) ) in test_image_type()
/external/deqp/modules/gles31/functional/
Des31fNegativeShaderImageLoadStoreTests.cpp118 …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 …]
/external/lzma/CPP/Windows/Control/
DStatic.h14 …HANDLE SetImage(WPARAM imageType, HANDLE handle) { return (HANDLE)SendMsg(STM_SETIMAGE, imageType,… in SetImage() argument
15 HANDLE GetImage(WPARAM imageType) { return (HANDLE)SendMsg(STM_GETIMAGE, imageType, 0); } in GetImage() argument
/external/swiftshader/src/Vulkan/
DVkImageView.cpp79 bool ImageView::imageTypesMatch(VkImageType imageType) const in imageTypesMatch()
86 return (imageType == VK_IMAGE_TYPE_1D) && in imageTypesMatch()
89 return imageType == VK_IMAGE_TYPE_1D; in imageTypesMatch()
91 return ((imageType == VK_IMAGE_TYPE_2D) || in imageTypesMatch()
92 ((imageType == VK_IMAGE_TYPE_3D) && in imageTypesMatch()
96 return (imageType == VK_IMAGE_TYPE_2D) || in imageTypesMatch()
97 ((imageType == VK_IMAGE_TYPE_3D) && in imageTypesMatch()
108 return (imageType == VK_IMAGE_TYPE_3D) && in imageTypesMatch()
/external/angle/src/tests/gl_tests/
DVulkanFormatTablesTest.cpp34 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()
/external/angle/src/tests/compiler_tests/
DShaderImage_test.cpp27 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()

1234567