Home
last modified time | relevance | path

Searched refs:arraySize (Results 1 – 25 of 207) sorted by relevance

123456789

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCalendarCache.java22 makeArrays(arraySize); in CalendarCache()
32 arraySize = newSize; in makeArrays()
33 threshold = (int)(arraySize * 0.75); in makeArrays()
68 index = (index + delta) % arraySize; in findIndex()
75 int oldSize = arraySize; in rehash()
80 arraySize = primes[++pIndex]; in rehash()
82 arraySize = arraySize * 2 + 1; in rehash()
86 makeArrays(arraySize); in rehash()
102 int h = (int)((key * 15821 + 1) % arraySize); in hash()
104 h += arraySize; in hash()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCalendarCache.java20 makeArrays(arraySize); in CalendarCache()
30 arraySize = newSize; in makeArrays()
31 threshold = (int)(arraySize * 0.75); in makeArrays()
66 index = (index + delta) % arraySize; in findIndex()
73 int oldSize = arraySize; in rehash()
78 arraySize = primes[++pIndex]; in rehash()
80 arraySize = arraySize * 2 + 1; in rehash()
84 makeArrays(arraySize); in rehash()
100 int h = (int)((key * 15821 + 1) % arraySize); in hash()
102 h += arraySize; in hash()
[all …]
/external/OpenCL-CTS/test_conformance/images/clCopyImage/
Dtest_copy_3D_2D_array.cpp30 …escriptor *imageInfo, size_t width, size_t height, size_t depth, size_t arraySize, size_t rowPaddi… in set_image_dimensions() argument
37 imageInfo->arraySize = arraySize; in set_image_dimensions()
50 if (arraySize == 0) in set_image_dimensions()
64 if( srcImageInfo->arraySize == 0 ) in test_copy_image_size_3D_2D_array()
96 depth_lod = ( depth_lod > twoImage->arraySize ) ? twoImage->arraySize : depth_lod; in test_copy_image_size_3D_2D_array()
109 destPos[ 2 ] = (size_t)random_in_range( 0, (int)dstImageInfo->arraySize - 1, d ); in test_copy_image_size_3D_2D_array()
113 …destPos[ 2 ] = ( twoImage->arraySize > depth_lod ) ? (size_t)random_in_range( 0, twoImage->arraySi… in test_copy_image_size_3D_2D_array()
124 sourcePos[ 2 ] = (size_t)random_in_range( 0, (int)srcImageInfo->arraySize - 1, d ); in test_copy_image_size_3D_2D_array()
129 …sourcePos[ 2 ] = ( twoImage->arraySize > depth_lod ) ? (size_t)random_in_range( 0, twoImage->array… in test_copy_image_size_3D_2D_array()
161 depth_lod = ( twoImage->arraySize > depth_lod ) ? depth_lod : twoImage->arraySize; in test_copy_image_size_3D_2D_array()
[all …]
Dtest_copy_2D_2D_array.cpp30 …sions( image_descriptor *imageInfo, size_t width, size_t height, size_t arraySize, size_t rowPaddi… in set_image_dimensions() argument
36 imageInfo->arraySize = arraySize; in set_image_dimensions()
47 if (arraySize == 0) in set_image_dimensions()
67 if( srcImageInfo->arraySize > 0 ) in test_copy_image_size_2D_2D_array()
110 if( srcImageInfo->arraySize == 0 ) in test_copy_image_size_2D_2D_array()
113 destPos[ 2 ] = (size_t)random_in_range( 0, (int)dstImageInfo->arraySize - 1, d ); in test_copy_image_size_2D_2D_array()
125 sourcePos[ 2 ] = (size_t)random_in_range( 0, (int)srcImageInfo->arraySize - 1, d ); in test_copy_image_size_2D_2D_array()
168 …sourcePos[ 2 ] = ( srcImageInfo->arraySize > 0 ) ? (size_t)random_in_range( 0, (int)( srcImageInfo… in test_copy_image_size_2D_2D_array()
171 if( srcImageInfo->arraySize > 0 ) in test_copy_image_size_2D_2D_array()
187 …destPos[ 2 ] = ( dstImageInfo->arraySize > 0 ) ? (size_t)random_in_range( 0, (int)( dstImageInfo-> in test_copy_image_size_2D_2D_array()
[all …]
Dtest_copy_1D_array.cpp55 regionSize[ 1 ] = imageInfo->arraySize; in test_copy_image_size_1D_array()
87 …Size[ 1 ] = ( imageInfo->arraySize > 8 ) ? (size_t)random_in_range( 8, (int)imageInfo->arraySize -… in test_copy_image_size_1D_array()
91 …sourcePos[ 1 ] = ( imageInfo->arraySize > regionSize[ 1 ] ) ? (size_t)random_in_range( 0, (int)( i… in test_copy_image_size_1D_array()
95 …destPos[ 1 ] = ( imageInfo->arraySize > regionSize[ 1 ] ) ? (size_t)random_in_range( 0, (int)( ima… in test_copy_image_size_1D_array()
151 for( imageInfo.arraySize = 2; imageInfo.arraySize < 9; imageInfo.arraySize++ ) in test_copy_image_set_1D_array()
154 … log_info( " at size %d,%d\n", (int)imageInfo.width, (int)imageInfo.arraySize ); in test_copy_image_set_1D_array()
175 imageInfo.arraySize = sizes[ idx ][ 2 ]; in test_copy_image_set_1D_array()
208 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_copy_image_set_1D_array()
233 size = (size_t)imageInfo.rowPitch * (size_t)imageInfo.arraySize * 4; in test_copy_image_set_1D_array()
238 …%d (row pitch %d) out of %d,%d\n", (int)imageInfo.width, (int)imageInfo.arraySize, (int)imageInfo.… in test_copy_image_set_1D_array()
Dtest_copy_generic.cpp43 imageDesc.image_array_size = imageInfo->arraySize; in create_image()
70 …fo( " - Creating 1D image array %d by %d...\n", (int)imageInfo->width, (int)imageInfo->arraySize ); in create_image()
72 host_ptr = malloc( imageInfo->arraySize * imageInfo->slicePitch ); in create_image()
76 …y %d by %d by %d...\n", (int)imageInfo->width, (int)imageInfo->height, (int)imageInfo->arraySize ); in create_image()
78 host_ptr = malloc( imageInfo->arraySize * imageInfo->slicePitch ); in create_image()
128 …age array of size %d x %d (%s)", (int)imageInfo->width, (int)imageInfo->arraySize, IGetErrorString… in create_image()
132 …d (%s)", (int)imageInfo->width, (int)imageInfo->height, (int)imageInfo->arraySize, IGetErrorString… in create_image()
151 height = imageInfo->arraySize; in create_image()
163 depth = imageInfo->arraySize; in create_image()
232 …dRow == scanlineSize) && (mappedSlicePad==0 || (imageInfo->depth==0 && imageInfo->arraySize==0))) { in create_image()
[all …]
/external/OpenCL-CTS/test_conformance/images/clFillImage/
Dtest_fill_2D_array.cpp39 region[ 2 ] = imageInfo->arraySize; in test_fill_image_2D_array()
53 …gion[ 2 ] = ( imageInfo->arraySize > 8 ) ? (size_t)random_in_range( 8, (int)imageInfo->arraySize -… in test_fill_image_2D_array()
58 …origin[ 2 ] = ( imageInfo->arraySize > region[ 2 ] ) ? (size_t)random_in_range( 0, (int)( imageInf… in test_fill_image_2D_array()
117 for ( imageInfo.arraySize = 2; imageInfo.arraySize < 9; imageInfo.arraySize++ ) in test_fill_image_set_2D_array()
120 …( " at size %d,%d,%d\n", (int)imageInfo.width, (int)imageInfo.height, (int)imageInfo.arraySize ); in test_fill_image_set_2D_array()
139 imageInfo.arraySize = sizes[ idx ][ 2 ]; in test_fill_image_set_2D_array()
155 cl_ulong size = (cl_ulong)imageInfo.slicePitch * (cl_ulong)imageInfo.arraySize * 4 * 4; in test_fill_image_set_2D_array()
158 if (imageInfo.arraySize == 1) { in test_fill_image_set_2D_array()
162 imageInfo.arraySize--; in test_fill_image_set_2D_array()
163 size = (cl_ulong)imageInfo.slicePitch * (cl_ulong)imageInfo.arraySize * 4 * 4; in test_fill_image_set_2D_array()
[all …]
Dtest_fill_1D_array.cpp39 region[ 1 ] = imageInfo->arraySize; in test_fill_image_size_1D_array()
53 …gion[ 1 ] = ( imageInfo->arraySize > 8 ) ? (size_t)random_in_range( 8, (int)imageInfo->arraySize -… in test_fill_image_size_1D_array()
57 …origin[ 1 ] = ( imageInfo->arraySize > region[ 1 ] ) ? (size_t)random_in_range( 0, (int)( imageInf… in test_fill_image_size_1D_array()
112 for ( imageInfo.arraySize = 2; imageInfo.arraySize < 9; imageInfo.arraySize++ ) in test_fill_image_set_1D_array()
115 … log_info( " at size %d,%d\n", (int)imageInfo.width, (int)imageInfo.arraySize ); in test_fill_image_set_1D_array()
134 imageInfo.arraySize = sizes[ idx ][ 2 ]; in test_fill_image_set_1D_array()
164 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_fill_image_set_1D_array()
179 size = (size_t)imageInfo.rowPitch * (size_t)imageInfo.arraySize * 4; in test_fill_image_set_1D_array()
183 …%d (row pitch %d) out of %d,%d\n", (int)imageInfo.width, (int)imageInfo.arraySize, (int)imageInfo.… in test_fill_image_set_1D_array()
/external/OpenCL-CTS/test_conformance/images/clReadWriteImage/
Dtest_read_1D_array.cpp39 …ze %d by %d...\n", gTestMipmaps?"mipmapped":"", (int)imageInfo->width, (int)imageInfo->arraySize ); in test_read_image_1D_array()
47 …ags)(CL_MEM_READ_ONLY), imageInfo->format, imageInfo->width, imageInfo->arraySize, 0, 0, NULL, &er… in test_read_image_1D_array()
50 …age array of size %d x %d (%s)", (int)imageInfo->width, (int)imageInfo->arraySize, IGetErrorString… in test_read_image_1D_array()
59 image_desc.image_array_size = imageInfo->arraySize; in test_read_image_1D_array()
65 …,(int)imageInfo->num_mip_levels, (int)imageInfo->width, (int)imageInfo->arraySize, (int)imageInfo-… in test_read_image_1D_array()
81 fullImageSize = imageInfo->arraySize * imageInfo->slicePitch; in test_read_image_1D_array()
99 region[1] = imageInfo->arraySize; in test_read_image_1D_array()
108 …o write to 1D image array of width %d and size %d\n", (int)width_lod, (int)imageInfo->arraySize ); in test_read_image_1D_array()
118 size_t imageSize = scanlineSize * imageInfo->arraySize; in test_read_image_1D_array()
131 for( size_t y = 0; y < imageInfo->arraySize; y++ ) in test_read_image_1D_array()
[all …]
Dtest_read_2D_array.cpp37 …Mipmaps?"mipmapped":"", (int)imageInfo->width, (int)imageInfo->height, (int)imageInfo->arraySize ); in test_read_image_2D_array()
45 …LY), imageInfo->format, imageInfo->width, imageInfo->height, imageInfo->arraySize, 0, 0, NULL, &er… in test_read_image_2D_array()
48 …d (%s)", (int)imageInfo->width, (int)imageInfo->height, (int)imageInfo->arraySize, IGetErrorString… in test_read_image_2D_array()
58 image_desc.image_array_size = imageInfo->arraySize; in test_read_image_2D_array()
81 fullImageSize = imageInfo->arraySize * imageInfo->slicePitch; in test_read_image_2D_array()
98 region[2] = imageInfo->arraySize; in test_read_image_2D_array()
108 … image array of size %d x %d x %d\n", (int)width_lod, (int)height_lod, (int)imageInfo->arraySize ); in test_read_image_2D_array()
119 size_t imageSize = pageSize * imageInfo->arraySize; in test_read_image_2D_array()
132 for( size_t z = 0; z < imageInfo->arraySize; z++ ) in test_read_image_2D_array()
138 …%d\n", (int)y, (int)z, (int)width_lod, (int)height_lod, (int)imageInfo->arraySize, (int)row_pitch_… in test_read_image_2D_array()
[all …]
/external/swiftshader/src/OpenGL/compiler/
DTypes.h190 int arraySize, const TLayoutQualifier &layoutQualifier) in POOL_ALLOCATOR_NEW_DELETE()
193 mArraySize(arraySize), in POOL_ALLOCATOR_NEW_DELETE()
211 int arraySize() const in arraySize() function
246 …primarySize(s0), secondarySize(s1), array(false), arraySize(0), maxArraySize(0), arrayInformationT… in POOL_ALLOCATOR_NEW_DELETE()
253 …primarySize(s0), secondarySize(s1), array(a), arraySize(0), maxArraySize(0), arrayInformationType(… in type()
260 …primarySize(1), secondarySize(1), array(false), arraySize(0), maxArraySize(0), arrayInformationTyp… in type()
268 …primarySize(1), secondarySize(1), array(arraySizeIn > 0), arraySize(arraySizeIn), maxArraySize(0),… in TType()
402 return arraySize * samplerRegisterCount(); in totalSamplerRegisterCount()
414 return arraySize * elementRegisterCount(); in totalRegisterCount()
432 bool isUnsizedArray() const { return array && arraySize == 0; } in isUnsizedArray()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageViewTests.cpp116 const int arraySize = getArraySize(imageViewType); in getImageSamplingInstanceParams() local
141 …return ImageSamplingInstanceParams(renderSize, imageViewType, imageFormat, imageSize, arraySize, c… in getImageSamplingInstanceParams()
363 const deUint32 arraySize = ImageViewTest::getArraySize(viewType); in createSubresourceRangeTests() local
387 { "lod_base_mip_level", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, arraySize } }, in createSubresourceRangeTests()
388 { "lod_mip_levels", 4.0f, { imageAspectFlags, 0u, 3u, 0u, arraySize } }, in createSubresourceRangeTests()
394 { "base_array_layer", 0.0f, { imageAspectFlags, 0u, numLevels, 1u, arraySize - 1u } }, in createSubresourceRangeTests()
415 …ning_levels", 0.0f, { imageAspectFlags, 1u, VK_REMAINING_MIP_LEVELS, 0u, arraySize } }, in createSubresourceRangeTests()
430 { "lod_base_mip_level", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, arraySize } }, in createSubresourceRangeTests()
431 { "lod_mip_levels", 4.0f, { imageAspectFlags, 0u, 3u, 0u, arraySize } }, in createSubresourceRangeTests()
437 { "base_array_layer", 0.0f, { imageAspectFlags, 0u, numLevels, 6u, arraySize - 6u } }, in createSubresourceRangeTests()
[all …]
/external/OpenCL-CTS/test_conformance/images/kernel_image_methods/
Dtest_1D_array.cpp26 cl_int arraySize; member
70 …fo( " - Creating 1D image array %d by %d...\n", (int)imageInfo->width, (int)imageInfo->arraySize ); in test_get_1Dimage_array_info_single()
72 …ags)(CL_MEM_READ_ONLY), imageInfo->format, imageInfo->width, imageInfo->arraySize, 0, 0, NULL, &er… in test_get_1Dimage_array_info_single()
75 …age array of size %d x %d (%s)", (int)imageInfo->width, (int)imageInfo->arraySize, IGetErrorString… in test_get_1Dimage_array_info_single()
128 if( outKernelData.arraySize != (cl_int)imageInfo->arraySize ) in test_get_1Dimage_array_info_single()
130 …d not validate (expected %d, got %d)\n", (int)imageInfo->arraySize, (int)outKernelData.arraySize ); in test_get_1Dimage_array_info_single()
184 for( imageInfo.arraySize = 1; imageInfo.arraySize < 9; imageInfo.arraySize++ ) in test_get_image_info_1D_array()
187 … log_info( " at size %d,%d\n", (int)imageInfo.width, (int)imageInfo.arraySize ); in test_get_image_info_1D_array()
206 imageInfo.arraySize = sizes[ idx ][ 2 ]; in test_get_image_info_1D_array()
227 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_get_image_info_1D_array()
[all …]
Dtest_2D_array.cpp27 cl_int arraySize; member
73 …y %d by %d by %d...\n", (int)imageInfo->width, (int)imageInfo->height, (int)imageInfo->arraySize ); in test_get_2Dimage_array_info_single()
75 …LY), imageInfo->format, imageInfo->width, imageInfo->height, imageInfo->arraySize, 0, 0, NULL, &er… in test_get_2Dimage_array_info_single()
78 …d (%s)", (int)imageInfo->width, (int)imageInfo->height, (int)imageInfo->arraySize, IGetErrorString… in test_get_2Dimage_array_info_single()
137 if( outKernelData.arraySize != (cl_int)imageInfo->arraySize ) in test_get_2Dimage_array_info_single()
139 …d not validate (expected %d, got %d)\n", (int)imageInfo->arraySize, (int)outKernelData.arraySize ); in test_get_2Dimage_array_info_single()
196 for( imageInfo.arraySize = 2; imageInfo.arraySize < 9; imageInfo.arraySize++ ) in test_get_image_info_2D_array()
199 …( " at size %d,%d,%d\n", (int)imageInfo.width, (int)imageInfo.height, (int)imageInfo.arraySize ); in test_get_image_info_2D_array()
219 imageInfo.arraySize = sizes[ idx ][ 2 ]; in test_get_image_info_2D_array()
241 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_get_image_info_2D_array()
[all …]
/external/deqp/external/openglcts/modules/gles31/
Des31cSeparateShaderObjsTests.cpp1260 …void progUniformi(const glw::Functions& gl, glw::GLuint prog, int arraySize, int* location, int* v… in progUniformi() argument
1271 gl.programUniform1iv(prog, location[4], arraySize, value); in progUniformi()
1272 value += 1 * arraySize; in progUniformi()
1273 gl.programUniform2iv(prog, location[6], arraySize, value); in progUniformi()
1274 value += 2 * arraySize; in progUniformi()
1275 gl.programUniform3iv(prog, location[8], arraySize, value); in progUniformi()
1276 value += 3 * arraySize; in progUniformi()
1277 gl.programUniform4iv(prog, location[10], arraySize, value); in progUniformi()
1281 …void progUniformui(const glw::Functions& gl, glw::GLuint prog, int arraySize, int* location, unsig… in progUniformui() argument
1292 gl.programUniform1uiv(prog, location[4], arraySize, value); in progUniformui()
[all …]
/external/OpenCL-CTS/test_conformance/images/samplerlessReads/
Dtest_read_1D_array.cpp77 … log_info( " - Creating image %d by %d...\n", (int)imageInfo->width, (int)imageInfo->arraySize ); in test_read_image_1D_array()
87 image_desc.image_array_size = imageInfo->arraySize; in test_read_image_1D_array()
95 …f size %d x %d pitch %d (%s)\n", (int)imageInfo->width, (int)imageInfo->arraySize, (int)imageInfo-… in test_read_image_1D_array()
109 …f size %d x %d pitch %d (%s)\n", (int)imageInfo->width, (int)imageInfo->arraySize, (int)imageInfo-… in test_read_image_1D_array()
121 …cl_mem results = clCreateBuffer( context, 0, imageInfo->width * imageInfo->arraySize * sizeof(cl_i… in test_read_image_1D_array()
124 size_t resultValuesSize = imageInfo->width * imageInfo->arraySize * sizeof(cl_int); in test_read_image_1D_array()
145 threads[1] = (size_t)imageInfo->arraySize; in test_read_image_1D_array()
151 … results, %ld kbytes\n", (unsigned long)( imageInfo->width * imageInfo->arraySize * sizeof(cl_int)… in test_read_image_1D_array()
161 for ( ic = 0; ic < imageInfo->width * imageInfo->arraySize; ++ic ) in test_read_image_1D_array()
262 for ( imageInfo.arraySize = 2; imageInfo.arraySize < 9; imageInfo.arraySize++ ) in test_read_image_set_1D_array()
[all …]
Dtest_read_2D_array.cpp73 image_desc.image_array_size = imageInfo->arraySize; in test_read_image_2D_array()
81 …) (%s)", (int)imageInfo->width, (int)imageInfo->height, (int)imageInfo->arraySize, (int)imageInfo-… in test_read_image_2D_array()
95 …) (%s)", (int)imageInfo->width, (int)imageInfo->height, (int)imageInfo->arraySize, (int)imageInfo-… in test_read_image_2D_array()
105 …teBuffer( context, 0, imageInfo->width * imageInfo->height * imageInfo->arraySize * sizeof(cl_int)… in test_read_image_2D_array()
108 …size_t resultValuesSize = imageInfo->width * imageInfo->height * imageInfo->arraySize * sizeof(cl_… in test_read_image_2D_array()
130 threads[2] = (size_t)imageInfo->arraySize; in test_read_image_2D_array()
144 for ( size_t ic = 0; ic < imageInfo->width * imageInfo->height * imageInfo->arraySize; ++ic ) in test_read_image_2D_array()
256 for ( imageInfo.arraySize = 2; imageInfo.arraySize < 9; imageInfo.arraySize++ ) in test_read_image_set_2D_array()
259 …( " at size %d,%d,%d\n", (int)imageInfo.width, (int)imageInfo.height, (int)imageInfo.arraySize ); in test_read_image_set_2D_array()
279 imageInfo.arraySize = sizes[ idx ][ 2 ]; in test_read_image_set_2D_array()
[all …]
/external/OpenCL-CTS/test_conformance/images/kernel_read_write/
Dtest_read_1D_array.cpp95 ….0f, xAddressOffset, yAddressOffset, 0.0f, imageInfo->width, imageInfo->arraySize, 0, imageSampler… in determine_validation_error_1D_arr()
104 …eously clamping coordinates for image size %ld x %ld!\n", imageInfo->width, imageInfo->arraySize ); in determine_validation_error_1D_arr()
130 …usly returning border color for image size %ld x %ld!\n", imageInfo->width, imageInfo->arraySize ); in determine_validation_error_1D_arr()
162 …log_error( "img size %ld,%ld (pitch %ld)", imageInfo->width, imageInfo->arraySize, imageInfo->rowP… in determine_validation_error_1D_arr()
188 … for( int yOff = (int)imageInfo->arraySize - 2; yOff <= (int)imageInfo->arraySize + 1; yOff++ ) in determine_validation_error_1D_arr()
233 for( size_t y = 0; y < imageInfo->arraySize; y++ ) in InitFloatCoords()
244 for( size_t y = 0; y < imageInfo->arraySize; y++ ) in InitFloatCoords()
257 for( size_t y = 0; y < imageInfo->arraySize; y++ ) in InitFloatCoords()
262 … yOffsets[ i ] = (float) CLAMP( (double) yOffsets[ i ], 0.0, (double)imageInfo->arraySize - 1.0); in InitFloatCoords()
270 for( size_t y = 0; y < imageInfo->arraySize; y++ ) in InitFloatCoords()
[all …]
Dtest_write_1D_array.cpp118 for( size_t y = 0; y < imageInfo->arraySize; y++ ) in test_write_image_1D_array()
156 for( size_t y = 0; y < imageInfo->arraySize; y++ ) in test_write_image_1D_array()
212 imageInfo->width, imageInfo->arraySize, 0, 0, in test_write_image_1D_array()
215 … mem_flag_types[mem_flag_index], imageInfo->format, imageInfo->width, 1, 1, imageInfo->arraySize ); in test_write_image_1D_array()
219 …ate 1D image array of size %ld x %ld pitch %ld (%s, %s)\n", imageInfo->width, imageInfo->arraySize, in test_write_image_1D_array()
240 image_desc.image_array_size = imageInfo->arraySize; in test_write_image_1D_array()
246 …y of size %ld x %ld (%s, %s)\n", imageInfo->num_mip_levels, imageInfo->width, imageInfo->arraySize, in test_write_image_1D_array()
254 imageInfo->width, imageInfo->arraySize, 0, 0, in test_write_image_1D_array()
258 …ate 1D image array of size %ld x %ld pitch %ld (%s, %s)\n", imageInfo->width, imageInfo->arraySize, in test_write_image_1D_array()
271 size_t region[ 3 ] = { imageInfo->width, imageInfo->arraySize, 1 }; in test_write_image_1D_array()
[all …]
Dtest_write_2D_array.cpp142 for( size_t z = 0; z < imageInfo->arraySize; z++ ) in test_write_image_2D_array()
182 for( size_t z = 0; z < imageInfo->arraySize; z++ ) in test_write_image_2D_array()
238 … imageInfo->width, imageInfo->height, imageInfo->arraySize, 0, 0, in test_write_image_2D_array()
243 … %ld pitch %ld (%s)\n", imageInfo->width, imageInfo->height, imageInfo->arraySize, imageInfo->rowP… in test_write_image_2D_array()
261 image_desc.image_array_size = imageInfo->arraySize; in test_write_image_2D_array()
267 … (%s, %s)\n", imageInfo->num_mip_levels, imageInfo->width, imageInfo->height, imageInfo->arraySize, in test_write_image_2D_array()
275 … imageInfo->width, imageInfo->height, imageInfo->arraySize, 0, 0, imageValues, &error ); in test_write_image_2D_array()
278 … %ld pitch %ld (%s)\n", imageInfo->width, imageInfo->height, imageInfo->arraySize, imageInfo->rowP… in test_write_image_2D_array()
290 size_t region[ 3 ] = { imageInfo->width, imageInfo->height, imageInfo->arraySize }; in test_write_image_2D_array()
303 threads[2] = (size_t)imageInfo->arraySize; in test_write_image_2D_array()
[all …]
/external/OpenCL-CTS/test_conformance/images/clGetInfo/
Dtest_1D_2D_array.cpp60 for( imageInfo.arraySize = 2; imageInfo.arraySize < 9; imageInfo.arraySize++ ) in test_get_image_info_1D_array()
65 …d,%d (flags[%u] 0x%x pitch %d)\n", (int)imageInfo.width, (int)imageInfo.arraySize, j, (unsigned in… in test_get_image_info_1D_array()
88 imageInfo.arraySize = sizes [ idx] [ 2 ]; in test_get_image_info_1D_array()
96 …d,%d (flags[%u] 0x%x pitch %d)\n", (int)imageInfo.width, (int)imageInfo.arraySize, j, (unsigned in… in test_get_image_info_1D_array()
116 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_get_image_info_1D_array()
125 size = (cl_ulong)imageInfo.slicePitch * (cl_ulong)imageInfo.arraySize * 4 * 4; in test_get_image_info_1D_array()
131 …u] 0x%x pitch %d) out of %d,%d\n", (int)imageInfo.width, (int)imageInfo.arraySize, j, (unsigned in… in test_get_image_info_1D_array()
187 for( imageInfo.arraySize = 2; imageInfo.arraySize < 9; imageInfo.arraySize++ ) in test_get_image_info_2D_array()
192 …tch %d)\n", (int)imageInfo.width, (int)imageInfo.height, (int)imageInfo.arraySize, j, (unsigned in… in test_get_image_info_2D_array()
216 imageInfo.arraySize = sizes[ idx ][ 2 ]; in test_get_image_info_2D_array()
[all …]
/external/deqp-deps/glslang/Test/
Dvulkan.vert27 layout(constant_id=222) const int arraySize = 4;
31 int a1[arraySize];
32 int a2[arraySize] = a1; // ERROR, can't use in initializer
49 float AofA0[2][arraySize];
50 float AofA1[arraySize][arraySize];
51 float AofA2[arraySize][2 + arraySize];
52 float AofA3[arraySize][2];
56 } bai1[2][arraySize];
60 } bai2[arraySize][2];
/external/angle/third_party/glslang/src/Test/
Dvulkan.vert27 layout(constant_id=222) const int arraySize = 4;
31 int a1[arraySize];
32 int a2[arraySize] = a1; // ERROR, can't use in initializer
49 float AofA0[2][arraySize];
50 float AofA1[arraySize][arraySize];
51 float AofA2[arraySize][2 + arraySize];
52 float AofA3[arraySize][2];
56 } bai1[2][arraySize];
60 } bai2[arraySize][2];
/external/deqp/modules/glshared/
DglsAttributeLocationTests.cpp641 string generateTestName (const AttribType& type, int arraySize) in generateTestName() argument
643 …return type.getName() + (arraySize != Attribute::NOT_ARRAY ? "_array_" + de::toString(arraySize) :… in generateTestName()
671 …onst AttribType& type, const string& name, deInt32 layoutLocation, const Cond& cond, int arraySize) in Attribute() argument
676 , m_arraySize (arraySize) in Attribute()
807 int arraySize) in BindAttributeTest() argument
808 …: TestCase (testCtx, generateTestName(type, arraySize).c_str(), generateTestName(type, arraySize)… in BindAttributeTest()
811 , m_arraySize (arraySize) in BindAttributeTest()
832 int arraySize) in BindMaxAttributesTest() argument
833 …: TestCase (testCtx, generateTestName(type, arraySize).c_str(), generateTestName(type, arraySize in BindMaxAttributesTest()
836 , m_arraySize (arraySize) in BindMaxAttributesTest()
[all …]
DglsAttributeLocationTests.hpp100 int arraySize = NOT_ARRAY);
140 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
159 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
178 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
197 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
215 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
233 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
305 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
323 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
341 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
[all …]

123456789