Home
last modified time | relevance | path

Searched refs:imageSize (Results 1 – 25 of 513) sorted by relevance

12345678910>>...21

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleBase.cpp39 const tcu::UVec3& imageSize) const in validateImageSize()
48 isImageSizeValid = imageSize.x() <= deviceProperties.limits.maxImageDimension1D; in validateImageSize()
51 isImageSizeValid = imageSize.x() <= deviceProperties.limits.maxImageDimension1D && in validateImageSize()
52 imageSize.z() <= deviceProperties.limits.maxImageArrayLayers; in validateImageSize()
55 isImageSizeValid = imageSize.x() <= deviceProperties.limits.maxImageDimension2D && in validateImageSize()
56 imageSize.y() <= deviceProperties.limits.maxImageDimension2D; in validateImageSize()
59 isImageSizeValid = imageSize.x() <= deviceProperties.limits.maxImageDimension2D && in validateImageSize()
60 imageSize.y() <= deviceProperties.limits.maxImageDimension2D && in validateImageSize()
61 imageSize.z() <= deviceProperties.limits.maxImageArrayLayers; in validateImageSize()
64 isImageSizeValid = imageSize.x() <= deviceProperties.limits.maxImageDimensionCube && in validateImageSize()
[all …]
DvktPipelineMultisampleTestsUtil.cpp40 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize, const deUint3… in getShaderGridSize() argument
42 const deUint32 mipLevelX = std::max(imageSize.x() >> mipLevel, 1u); in getShaderGridSize()
43 const deUint32 mipLevelY = std::max(imageSize.y() >> mipLevel, 1u); in getShaderGridSize()
44 const deUint32 mipLevelZ = std::max(imageSize.z() >> mipLevel, 1u); in getShaderGridSize()
52 return tcu::UVec3(imageSize.x(), 1u, 1u); in getShaderGridSize()
55 return tcu::UVec3(mipLevelX, imageSize.z(), 1u); in getShaderGridSize()
61 return tcu::UVec3(mipLevelX, mipLevelY, imageSize.z()); in getShaderGridSize()
70 return tcu::UVec3(mipLevelX, mipLevelY, 6u * imageSize.z()); in getShaderGridSize()
78 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize) in getLayerSize() argument
85 return tcu::UVec3(imageSize.x(), 1u, 1u); in getLayerSize()
[all …]
DvktPipelineMultisampleBase.hpp69 , imageSize {size}
74 tcu::UVec3 imageSize; member
124 const tcu::UVec3& imageSize) const;
160 const tcu::UVec3 imageSize = imageSizes[imageSizeNdx]; local
163 imageSizeStream << imageSize.x() << "_" << imageSize.y() << "_" << imageSize.z();
170 …const multisample::ImageMSParams imageMSParams = multisample::ImageMSParams(samples, imageSize, co…
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DETCTextureTest.cpp96 const GLsizei imageSize = 8; in TEST_P() local
99 0, imageSize, pixel); in TEST_P()
103 0, imageSize, pixel); in TEST_P()
107 0, imageSize, pixel); in TEST_P()
140 const GLsizei imageSize = 8; in TEST_P() local
143 0, imageSize, pixel); in TEST_P()
147 0, imageSize, pixel); in TEST_P()
151 0, imageSize, pixel); in TEST_P()
185 const GLsizei imageSize = 8; in TEST_P() local
189 0, imageSize, pixel); in TEST_P()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DETCTextureTest.cpp96 const GLsizei imageSize = 8; in TEST_P() local
99 0, imageSize, pixel); in TEST_P()
103 0, imageSize, pixel); in TEST_P()
107 0, imageSize, pixel); in TEST_P()
140 const GLsizei imageSize = 8; in TEST_P() local
143 0, imageSize, pixel); in TEST_P()
147 0, imageSize, pixel); in TEST_P()
151 0, imageSize, pixel); in TEST_P()
185 const GLsizei imageSize = 8; in TEST_P() local
189 0, imageSize, pixel); in TEST_P()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesShaderIntrinsicsSampled.hpp40 const tcu::UVec3& imageSize, in SparseShaderIntrinsicsCaseSampledBase() argument
42 : SparseShaderIntrinsicsCaseBase (testCtx, name, function, imageType, imageSize, format) {} in SparseShaderIntrinsicsCaseSampledBase()
60 const tcu::UVec3& imageSize, in SparseShaderIntrinsicsCaseSampledExplicit() argument
62 : SparseShaderIntrinsicsCaseSampledBase (testCtx, name, function, imageType, imageSize, format) {} in SparseShaderIntrinsicsCaseSampledExplicit()
74 const tcu::UVec3& imageSize, in SparseCaseOpImageSparseSampleExplicitLod() argument
76 …: SparseShaderIntrinsicsCaseSampledExplicit (testCtx, name, function, imageType, imageSize, format… in SparseCaseOpImageSparseSampleExplicitLod()
92 const tcu::UVec3& imageSize, in SparseShaderIntrinsicsCaseSampledImplicit() argument
94 : SparseShaderIntrinsicsCaseSampledBase (testCtx, name, function, imageType, imageSize, format) {} in SparseShaderIntrinsicsCaseSampledImplicit()
106 const tcu::UVec3& imageSize, in SparseCaseOpImageSparseSampleImplicitLod() argument
108 …: SparseShaderIntrinsicsCaseSampledImplicit (testCtx, name, function, imageType, imageSize, format… in SparseCaseOpImageSparseSampleImplicitLod()
[all …]
DvktSparseResourcesShaderIntrinsics.cpp73 const tcu::UVec3 imageSize = imageParameters[imageTypeNdx].imageSizes[imageSizeNdx]; in createSparseResourcesShaderIntrinsicsTests() local
76 if ((imageSize.x() % imageSizeAlignment.x()) != 0) in createSparseResourcesShaderIntrinsicsTests()
78 if ((imageSize.y() % imageSizeAlignment.y()) != 0) in createSparseResourcesShaderIntrinsicsTests()
82 stream << imageSize.x() << "_" << imageSize.y() << "_" << imageSize.z(); in createSparseResourcesShaderIntrinsicsTests()
101 …d(new SparseCaseOpImageSparseFetch(testCtx, stream.str(), function, imageType, imageSize, format)); in createSparseResourcesShaderIntrinsicsTests()
104 …ld(new SparseCaseOpImageSparseRead(testCtx, stream.str(), function, imageType, imageSize, format)); in createSparseResourcesShaderIntrinsicsTests()
107 …CaseOpImageSparseSampleExplicitLod(testCtx, stream.str(), function, imageType, imageSize, format)); in createSparseResourcesShaderIntrinsicsTests()
110 …CaseOpImageSparseSampleImplicitLod(testCtx, stream.str(), function, imageType, imageSize, format)); in createSparseResourcesShaderIntrinsicsTests()
113 …(new SparseCaseOpImageSparseGather(testCtx, stream.str(), function, imageType, imageSize, format)); in createSparseResourcesShaderIntrinsicsTests()
DvktSparseResourcesTestsUtil.cpp120 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize, const deUint3… in getShaderGridSize() argument
122 const deUint32 mipLevelX = std::max(imageSize.x() >> mipLevel, 1u); in getShaderGridSize()
123 const deUint32 mipLevelY = std::max(imageSize.y() >> mipLevel, 1u); in getShaderGridSize()
124 const deUint32 mipLevelZ = std::max(imageSize.z() >> mipLevel, 1u); in getShaderGridSize()
132 return tcu::UVec3(imageSize.x(), 1u, 1u); in getShaderGridSize()
135 return tcu::UVec3(mipLevelX, imageSize.z(), 1u); in getShaderGridSize()
141 return tcu::UVec3(mipLevelX, mipLevelY, imageSize.z()); in getShaderGridSize()
150 return tcu::UVec3(mipLevelX, mipLevelY, 6u * imageSize.z()); in getShaderGridSize()
158 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize) in getLayerSize() argument
165 return tcu::UVec3(imageSize.x(), 1u, 1u); in getLayerSize()
[all …]
DvktSparseResourcesShaderIntrinsicsStorage.hpp40 const tcu::UVec3& imageSize, in SparseShaderIntrinsicsCaseStorage() argument
42 : SparseShaderIntrinsicsCaseBase(testCtx, name, function, imageType, imageSize, format) {} in SparseShaderIntrinsicsCaseStorage()
63 const tcu::UVec3& imageSize, in SparseCaseOpImageSparseFetch() argument
65 : SparseShaderIntrinsicsCaseStorage (testCtx, name, function, imageType, imageSize, format) {} in SparseCaseOpImageSparseFetch()
86 const tcu::UVec3& imageSize, in SparseCaseOpImageSparseRead() argument
88 : SparseShaderIntrinsicsCaseStorage (testCtx, name, function, imageType, imageSize, format) {} in SparseCaseOpImageSparseRead()
DvktSparseResourcesImageAlignedMipSize.cpp63 const tcu::UVec3& imageSize,
80 const tcu::UVec3& imageSize, in ImageAlignedMipSizeCase() argument
84 , m_imageSize (imageSize) in ImageAlignedMipSizeCase()
118 const tcu::UVec3& imageSize,
131 const tcu::UVec3& imageSize, in ImageAlignedMipSizeInstance() argument
135 , m_imageSize (imageSize) in ImageAlignedMipSizeInstance()
285 const tcu::UVec3 imageSize = imageParameters[imageTypeNdx].imageSizes[0]; in createImageAlignedMipSizeTests() local
288 if ((imageSize.x() % imageSizeAlignment.x()) != 0) in createImageAlignedMipSizeTests()
290 if ((imageSize.y() % imageSizeAlignment.y()) != 0) in createImageAlignedMipSizeTests()
293 …up->addChild(new ImageAlignedMipSizeCase(testCtx, name.c_str(), "", imageType, imageSize, format)); in createImageAlignedMipSizeTests()
/third_party/glslang/Test/
Dspv.image.load-formatted.frag31 iv.x += imageSize(i1D);
32 iv.xy += imageSize(i2D);
33 iv.xyz += imageSize(i3D);
34 iv.xy += imageSize(iCube);
35 iv.xyz += imageSize(iCubeArray);
36 iv.xy += imageSize(i2DRect);
37 iv.xy += imageSize(i1DArray);
38 iv.xyz += imageSize(i2DArray);
39 iv.x += imageSize(iBuffer);
40 iv.xy += imageSize(i2DMS);
[all …]
Dspv.image.frag34 iv.x += imageSize(i1D);
35 iv.xy += imageSize(i2D);
36 iv.xyz += imageSize(i3D);
37 iv.xy += imageSize(iCube);
38 iv.xyz += imageSize(iCubeArray);
39 iv.xy += imageSize(i2DRect);
40 iv.xy += imageSize(i1DArray);
41 iv.xyz += imageSize(i2DArray);
42 iv.x += imageSize(iBuffer);
43 iv.xy += imageSize(i2DMS);
[all …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fShaderImageLoadStoreTests.cpp703 …er& glLog, TextureType imageType, deUint32 internalFormat, const IVec3& imageSize, deUint32 textur… in setTextureStorage() argument
712 const int numBytes = format.getPixelSize() * imageSize.x(); in setTextureStorage()
717 DE_ASSERT(imageSize.y() == 1 && imageSize.z() == 1); in setTextureStorage()
725 glLog.glTexStorage2D(textureTarget, 1, internalFormat, imageSize.x(), imageSize.y()); in setTextureStorage()
726 DE_ASSERT(imageSize.z() == 1); in setTextureStorage()
731 …glLog.glTexStorage3D(textureTarget, 1, internalFormat, imageSize.x(), imageSize.y(), imageSize.z()… in setTextureStorage()
743 const IVec3& imageSize = src.getSize(); in uploadTexture() local
745 setTextureStorage(glLog, src.getImageType(), internalFormat, imageSize, textureBufGL); in uploadTexture()
762 …glLog.glBufferData(GL_TEXTURE_BUFFER, src.getFormat().getPixelSize() * imageSize.x(), src.getAcces… in uploadTexture()
765 …glLog.glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, imageSize.x(), imageSize.y(), transferFormat.format,… in uploadTexture()
[all …]
/third_party/skia/third_party/externals/spirv-cross/shaders/desktop-only/frag/
Dimage-query.desktop.frag42 a = imageSize(uImage1D);
43 b = imageSize(uImage2D);
44 c = imageSize(uImage2DArray);
45 d = imageSize(uImage3D);
46 e = imageSize(uImageCube);
47 f = imageSize(uImageCubeArray);
48 g = imageSize(uImageBuffer);
49 h = imageSize(uImageMS);
50 i = imageSize(uImageMSArray);
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/bitmap/
DIndexSubTableFormat2.java33 private final int imageSize; field in IndexSubTableFormat2
37 this.imageSize = this.data.readULongAsInt(Offset.indexSubTable2_imageSize.offset); in IndexSubTableFormat2()
40 public int imageSize() { in imageSize() method in IndexSubTableFormat2
57 return loca * this.imageSize; in glyphStartOffset()
63 return this.imageSize; in glyphLength()
112 return loca * this.imageSize(); in glyphStartOffset()
118 return this.imageSize(); in glyphLength()
121 public int imageSize() { in imageSize() method in IndexSubTableFormat2.Builder
125 public void setImageSize(int imageSize) { in setImageSize() argument
126 this.internalWriteData().writeULong(Offset.indexSubTable2_imageSize.offset, imageSize); in setImageSize()
[all …]
DIndexSubTableFormat5.java37 private final int imageSize; field in IndexSubTableFormat5
41 this.imageSize = this.data.readULongAsInt(Offset.indexSubTable5_imageSize.offset); in IndexSubTableFormat5()
49 public int imageSize() { in imageSize() method in IndexSubTableFormat5
72 return loca * this.imageSize; in glyphStartOffset()
78 return this.imageSize; in glyphLength()
120 public int imageSize() { in imageSize() method in IndexSubTableFormat5.Builder
124 public void setImageSize(int imageSize) { in setImageSize() argument
125 this.internalWriteData().writeULong(Offset.indexSubTable5_imageSize.offset, imageSize); in setImageSize()
146 return this.imageSize(); in glyphLength()
157 return loca * this.imageSize(); in glyphStartOffset()
[all …]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/bitmap/
DIndexSubTableFormat2.java33 private final int imageSize; field in IndexSubTableFormat2
37 this.imageSize = this.data.readULongAsInt(Offset.indexSubTable2_imageSize.offset); in IndexSubTableFormat2()
40 public int imageSize() { in imageSize() method in IndexSubTableFormat2
57 return loca * this.imageSize; in glyphStartOffset()
63 return this.imageSize; in glyphLength()
112 return loca * this.imageSize(); in glyphStartOffset()
118 return this.imageSize(); in glyphLength()
121 public int imageSize() { in imageSize() method in IndexSubTableFormat2.Builder
125 public void setImageSize(int imageSize) { in setImageSize() argument
126 this.internalWriteData().writeULong(Offset.indexSubTable2_imageSize.offset, imageSize); in setImageSize()
[all …]
DIndexSubTableFormat5.java37 private final int imageSize; field in IndexSubTableFormat5
41 this.imageSize = this.data.readULongAsInt(Offset.indexSubTable5_imageSize.offset); in IndexSubTableFormat5()
49 public int imageSize() { in imageSize() method in IndexSubTableFormat5
72 return loca * this.imageSize; in glyphStartOffset()
78 return this.imageSize; in glyphLength()
120 public int imageSize() { in imageSize() method in IndexSubTableFormat5.Builder
124 public void setImageSize(int imageSize) { in setImageSize() argument
125 this.internalWriteData().writeULong(Offset.indexSubTable5_imageSize.offset, imageSize); in setImageSize()
146 return this.imageSize(); in glyphLength()
157 return loca * this.imageSize(); in glyphStartOffset()
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/shaders/desktop-only/frag/
Dimage-query.desktop.frag39 a = imageSize(uImage1D);
40 b = imageSize(uImage2D);
41 c = imageSize(uImage2DArray);
42 d = imageSize(uImage3D);
43 e = imageSize(uImageCube);
44 f = imageSize(uImageCubeArray);
45 g = imageSize(uImageBuffer);
46 h = imageSize(uImageMS);
47 i = imageSize(uImageMSArray);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageTestsUtil.cpp82 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize) in getShaderGridSize() argument
88 return tcu::UVec3(imageSize.x(), 1u, 1u); in getShaderGridSize()
91 return tcu::UVec3(imageSize.x(), imageSize.z(), 1u); in getShaderGridSize()
94 return tcu::UVec3(imageSize.x(), imageSize.y(), 1u); in getShaderGridSize()
98 return tcu::UVec3(imageSize.x(), imageSize.y(), imageSize.z()); in getShaderGridSize()
101 return tcu::UVec3(imageSize.x(), imageSize.y(), 6u); in getShaderGridSize()
104 return tcu::UVec3(imageSize.x(), imageSize.y(), 6u * imageSize.z()); in getShaderGridSize()
112 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize) in getLayerSize() argument
119 return tcu::UVec3(imageSize.x(), 1u, 1u); in getLayerSize()
125 return tcu::UVec3(imageSize.x(), imageSize.y(), 1u); in getLayerSize()
[all …]
/third_party/skia/third_party/externals/spirv-cross/shaders-hlsl/frag/
Dimage-query-uav.nonwritable-uav-texture.frag13 int a = imageSize(uImage1D);
14 ivec2 b = imageSize(uImage2D);
15 ivec3 c = imageSize(uImage2DArray);
16 ivec3 d = imageSize(uImage3D);
17 int e = imageSize(uImageBuffer);
Dimage-query-uav.frag13 int a = imageSize(uImage1D);
14 ivec2 b = imageSize(uImage2D);
15 ivec3 c = imageSize(uImage2DArray);
16 ivec3 d = imageSize(uImage3D);
17 int e = imageSize(uImageBuffer);
/third_party/wayland-ivi-extension/ivi-layermanagement-examples/EGLWLMockNavigation/src/
DTextureLoader.cpp34 unsigned int imageSize; in loadBMP() local
52 imageSize = *(int*)(header + 0x22); in loadBMP()
65 if (imageSize==0) { in loadBMP()
66 imageSize=width*height*pixelSizeBytes; in loadBMP()
69 data = new unsigned char [imageSize]; in loadBMP()
70 fread(data,1,imageSize,file); in loadBMP()
/third_party/mesa3d/src/mesa/main/
Dteximage.h601 GLint border, GLsizei imageSize,
607 GLint border, GLsizei imageSize,
613 GLint border, GLsizei imageSize,
619 GLsizei height, GLint border, GLsizei imageSize,
625 GLsizei height, GLint border, GLsizei imageSize,
631 GLsizei height, GLint border, GLsizei imageSize,
638 GLsizei imageSize, const GLvoid *data);
644 GLsizei imageSize, const GLvoid *pixels);
650 GLsizei imageSize, const GLvoid *pixels);
656 GLint border, GLsizei imageSize,
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libGL/
Dentry_points_gl_1_3_autogen.cpp69 GLsizei imageSize, in CompressedTexImage1D() argument
76 GLenumToString(GLenumGroup::InternalFormat, internalformat), width, border, imageSize, in CompressedTexImage1D()
85 width, border, imageSize, data)); in CompressedTexImage1D()
88 context->compressedTexImage1D(target, level, internalformat, width, border, imageSize, in CompressedTexImage1D()
92 width, border, imageSize, data); in CompressedTexImage1D()
102 GLsizei imageSize, in CompressedTexImage2D() argument
111 imageSize, (uintptr_t)data); in CompressedTexImage2D()
121 height, border, imageSize, data)); in CompressedTexImage2D()
125 border, imageSize, data); in CompressedTexImage2D()
128 internalformat, width, height, border, imageSize, data); in CompressedTexImage2D()
[all …]

12345678910>>...21