Home
last modified time | relevance | path

Searched refs:layerIndex (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/libANGLE/
DImageIndex.cpp68 TextureTarget TextureTypeToTarget(TextureType type, GLint layerIndex) in TextureTypeToTarget() argument
74 ASSERT(layerIndex != ImageIndex::kEntireLevel); in TextureTypeToTarget()
75 return CubeFaceIndexToTextureTarget(layerIndex); in TextureTypeToTarget()
175 ImageIndex ImageIndex::Make2DArray(GLint levelIndex, GLint layerIndex) in Make2DArray() argument
177 return ImageIndex(TextureType::_2DArray, levelIndex, layerIndex, 1); in Make2DArray()
180 ImageIndex ImageIndex::Make2DArrayRange(GLint levelIndex, GLint layerIndex, GLint numLayers) in Make2DArrayRange() argument
182 return ImageIndex(TextureType::_2DArray, levelIndex, layerIndex, numLayers); in Make2DArrayRange()
185 ImageIndex ImageIndex::Make3D(GLint levelIndex, GLint layerIndex) in Make3D() argument
187 return ImageIndex(TextureType::_3D, levelIndex, layerIndex, 1); in Make3D()
198 GLint layerIndex, in MakeFromType() argument
[all …]
DImageIndex.h51 static ImageIndex Make2DArray(GLint levelIndex, GLint layerIndex = kEntireLevel);
52 static ImageIndex Make2DArrayRange(GLint levelIndex, GLint layerIndex, GLint layerCount);
53 static ImageIndex Make3D(GLint levelIndex, GLint layerIndex = kEntireLevel);
57 GLint layerIndex = kEntireLevel,
60 static ImageIndex Make2DMultisampleArray(GLint layerIndex = kEntireLevel);
61 static ImageIndex Make2DMultisampleArrayRange(GLint layerIndex, GLint layerCount);
75 ImageIndex(TextureType type, GLint leveIndex, GLint layerIndex, GLint layerCount);
127 TextureTarget TextureTypeToTarget(TextureType type, GLint layerIndex);
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DMultiviewTest.cpp93 for (int layerIndex = 0; layerIndex < numLayers; ++layerIndex) in CreateMultiviewBackingTextures() local
96 0, layerIndex); in CreateMultiviewBackingTextures()
120 for (int layerIndex = 0; layerIndex < numLayers; ++layerIndex) in CreateMultiviewBackingTextures() local
123 layerIndex); in CreateMultiviewBackingTextures()
145 for (int layerIndex = 0; layerIndex < numLayers; ++layerIndex) in CreateMultiviewBackingTextures() local
148 depthTexture, 0, layerIndex); in CreateMultiviewBackingTextures()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderLayeredRenderingBoundaryCondition.hpp64 virtual void getReferenceColor(glw::GLint layerIndex, unsigned char* colorBuffer,
138 void getReferenceColor(glw::GLint layerIndex, unsigned char* colorBuffer, int colorBufferSize);
190 void getReferenceColor(glw::GLint layerIndex, unsigned char* colorBuffer, int colorBufferSize);
225 void getReferenceColor(glw::GLint layerIndex, unsigned char* colorBuffer, int colorBufferSize);
269 …virtual void getReferenceColor(glw::GLint layerIndex, unsigned char* colorBuffer, int colorBufferS…
DesextcGeometryShaderLayeredRenderingBoundaryCondition.cpp587 …ryShaderLayeredRenderingBoundaryConditionVariousTextures::getReferenceColor(glw::GLint layerIndex, in getReferenceColor() argument
591 if (layerIndex == 0) in getReferenceColor()
595 else if (layerIndex == 1) in getReferenceColor()
634 void GeometryShaderLayeredRenderingBoundaryConditionNoGS::getReferenceColor(glw::GLint layerIndex, in getReferenceColor() argument
638 if (layerIndex == 0) in getReferenceColor()
746 …eometryShaderLayeredRenderingBoundaryConditionNoLayerSet::getReferenceColor(glw::GLint layerIndex, in getReferenceColor() argument
750 if (layerIndex == 0) in getReferenceColor()
835 …metryShaderLayeredRenderingBoundaryConditionNoLayeredFBO::getReferenceColor(glw::GLint layerIndex, in getReferenceColor() argument
839 if (layerIndex == 0) in getReferenceColor()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DRenderTargetVk.cpp45 uint32_t layerIndex, in init() argument
54 mLayerIndex = layerIndex; in init()
313 uint32_t layerIndex = mLayerIndex; in flushStagedUpdates() local
316 layerIndex = 0; in flushStagedUpdates()
331 !mImage->hasStagedUpdatesForSubresource(mLevelIndexGL, layerIndex, mLayerCount)); in flushStagedUpdates()
333 !mResolveImage->hasStagedUpdatesForSubresource(mLevelIndexGL, layerIndex, mLayerCount)); in flushStagedUpdates()
335 if (!image->hasStagedUpdatesForSubresource(mLevelIndexGL, layerIndex, framebufferLayerCount)) in flushStagedUpdates()
340 return image->flushSingleSubresourceStagedUpdates(contextVk, mLevelIndexGL, layerIndex, in flushStagedUpdates()
DTextureVk.cpp214 GLuint *layerIndex, in GetRenderTargetLayerCountAndIndex() argument
218 *layerIndex = index.hasLayer() ? index.getLayerIndex() : 0; in GetRenderTargetLayerCountAndIndex()
225 ASSERT(*layerIndex == 0 && in GetRenderTargetLayerCountAndIndex()
233 *layerIndex == static_cast<GLuint>(index.cubeMapFaceIndex())); in GetRenderTargetLayerCountAndIndex()
256 ASSERT(*layerIndex == 0); in GetRenderTargetLayerCountAndIndex()
1190 for (uint32_t layerIndex = 0; layerIndex < layerCount; ++layerIndex) in copySubImageImplWithDraw() local
1192 params.srcLayer = layerIndex + sourceBox.z; in copySubImageImplWithDraw()
1193 params.dstLayer = baseLayer + layerIndex; in copySubImageImplWithDraw()
1196 ANGLE_TRY(getLevelLayerImageView(contextVk, level, baseLayer + layerIndex, &destView)); in copySubImageImplWithDraw()
1219 for (uint32_t layerIndex = 0; layerIndex < layerCount; ++layerIndex) in copySubImageImplWithDraw() local
[all …]
Dvk_helpers.h1764 uint32_t layerIndex,
2020 uint32_t layerIndex,
2023 uint32_t layerIndex,
2027 uint32_t layerIndex,
2031 uint32_t layerIndex,
2033 void restoreSubresourceContent(gl::LevelIndex level, uint32_t layerIndex, uint32_t layerCount);
2035 uint32_t layerIndex,
2071 uint32_t layerIndex; member
2111 bool isUpdateToLayers(uint32_t layerIndex, uint32_t layerCount) const;
Dvk_helpers.cpp5381 for (uint32_t layerIndex = 0; layerIndex < layerCount; ++layerIndex) in clearEmulatedChannels() local
5383 params.dstLayer = baseArrayLayer + layerIndex; in clearEmulatedChannels()
5647 uint32_t layerIndex, in removeSingleSubresourceStagedUpdates() argument
5662 if (update->isUpdateToLayers(layerIndex, layerCount)) in removeSingleSubresourceStagedUpdates()
6059 uint32_t layerIndex, in hasSubresourceDefinedContent() argument
6062 if (layerIndex >= kMaxContentDefinedLayerCount) in hasSubresourceDefinedContent()
6068 GetContentDefinedLayerRangeBits(layerIndex, layerCount, kMaxContentDefinedLayerCount); in hasSubresourceDefinedContent()
6074 uint32_t layerIndex, in hasSubresourceDefinedStencilContent() argument
6077 if (layerIndex >= kMaxContentDefinedLayerCount) in hasSubresourceDefinedStencilContent()
6083 GetContentDefinedLayerRangeBits(layerIndex, layerCount, kMaxContentDefinedLayerCount); in hasSubresourceDefinedStencilContent()
[all …]
DRenderTargetVk.h60 uint32_t layerIndex,
DTextureVk.h455 GLuint layerIndex,
DFramebufferVk.cpp1276 uint32_t layerIndex = readRenderTarget->getLayerIndex(); in blit() local
1284 &depthView.get(), levelIndex, 1, layerIndex, 1, in blit()
1292 &stencilView.get(), levelIndex, 1, layerIndex, 1, in blit()
DUtilsVk.cpp3250 const uint32_t layerIndex = depthStencilRenderTarget->getLayerIndex(); in unresolve() local
3256 &depthView.get(), levelIndex, 1, layerIndex, 1, gl::SrgbWriteControlMode::Default)); in unresolve()
3264 &stencilView.get(), levelIndex, 1, layerIndex, 1, in unresolve()
/third_party/skia/tools/gpu/vk/
DVkTestUtils.cpp208 for (uint32_t layerIndex = 0; layerIndex < layerCount; ++layerIndex) { in init_instance_extensions_and_layers() local
210 res = EnumerateInstanceExtensionProperties((*instanceLayers)[layerIndex].layerName, in init_instance_extensions_and_layers()
216 res = EnumerateInstanceExtensionProperties((*instanceLayers)[layerIndex].layerName, in init_instance_extensions_and_layers()
295 for (uint32_t layerIndex = 0; layerIndex < layerCount; ++layerIndex) { in init_device_extensions_and_layers() local
298 (*deviceLayers)[layerIndex].layerName, in init_device_extensions_and_layers()
305 (*deviceLayers)[layerIndex].layerName, in init_device_extensions_and_layers()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DSubresourceStorage.h192 bool& LayerCompressed(uint32_t aspectIndex, uint32_t layerIndex);
193 bool LayerCompressed(uint32_t aspectIndex, uint32_t layerIndex) const;
448 for (uint32_t layerIndex = 0; layerIndex < aspectCount * mArrayLayerCount; in DecompressAspect() local
449 layerIndex++) { in DecompressAspect()
450 mLayerCompressed[layerIndex] = true; in DecompressAspect()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassDepthStencilResolveTests.cpp1080 deInt32 layerIndex = valueIndex / layerSize; in verifyDepth() local
1096 << ", layer: " << layerIndex << ") is outside of render area but depth value is: " in verifyDepth()
1109 << "At (" << x << ", " << y << ", layer: " << layerIndex in verifyDepth()
1144 deInt32 layerIndex = valueIndex / layerSize; in verifyStencil() local
1157 << TestLog::Message << "(" << x << ", " << y << ", layer: " << layerIndex in verifyStencil()
1170 << "At (" << x << ", " << y << ", layer: " << layerIndex in verifyStencil()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DSamplerCore.cpp463 Short4 layerIndex = computeLayerIndex(a, mipmap); in sampleQuad2D() local
467 c = sampleTexel(uuuu, vvvv, wwww, layerIndex, offset, sample, mipmap, buffer, function); in sampleQuad2D()
476 …Vector4s c00 = sampleTexel(uuuu0, vvvv0, wwww, layerIndex, offset, sample, mipmap, buffer, functio… in sampleQuad2D()
477 …Vector4s c10 = sampleTexel(uuuu1, vvvv0, wwww, layerIndex, offset, sample, mipmap, buffer, functio… in sampleQuad2D()
478 …Vector4s c01 = sampleTexel(uuuu0, vvvv1, wwww, layerIndex, offset, sample, mipmap, buffer, functio… in sampleQuad2D()
479 …Vector4s c11 = sampleTexel(uuuu1, vvvv1, wwww, layerIndex, offset, sample, mipmap, buffer, functio… in sampleQuad2D()
919 Int4 layerIndex = computeLayerIndex(a, mipmap, function); in sampleFloat2D() local
924 layerIndex *= Int4(6); in sampleFloat2D()
927 z = state.isCube() ? face : layerIndex; in sampleFloat2D()
931 z += layerIndex; in sampleFloat2D()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DImageTest.cpp739 void verifyResults2DArray(GLTexture &texture, const GLubyte data[4], uint32_t layerIndex = 0) in verifyResults2DArray() argument
742 glUniform1ui(m2DArrayTextureLayerUniformLocation, layerIndex); in verifyResults2DArray()
2757 for (uint32_t layerIndex = 0; layerIndex < kLayerCount; ++layerIndex) in TEST_P() local
2759 verifyResults2DArray(ahbTexture, kExpectedColor + 4 * layerIndex, layerIndex); in TEST_P()
DRobustResourceInitTest.cpp2129 for (GLsizei layerIndex = 0; layerIndex < kLayers; ++layerIndex) in TEST_P() local
2134 layerIndex); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DTextureD3D.cpp3174 gl::ImageIndex layerIndex = gl::ImageIndex::Make2DArray(index.getLevelIndex(), i); in setImage() local
3176 setImageImpl(context, layerIndex, type, unpack, unpackBuffer, pixels, layerOffset)); in setImage()
3208 gl::ImageIndex layerIndex = gl::ImageIndex::Make2DArray(index.getLevelIndex(), layer); in setSubImage() local
3209 ANGLE_TRY(TextureD3D::subImage(context, layerIndex, layerArea, format, type, unpack, in setSubImage()
3242 gl::ImageIndex layerIndex = gl::ImageIndex::Make2DArray(index.getLevelIndex(), i); in setCompressedImage() local
3243 ANGLE_TRY(setCompressedImageImpl(context, layerIndex, unpack, pixels, layerOffset)); in setCompressedImage()
3274 gl::ImageIndex layerIndex = gl::ImageIndex::Make2DArray(index.getLevelIndex(), layer); in setCompressedSubImage() local
3275 ANGLE_TRY(TextureD3D::subImageCompressed(context, layerIndex, layerArea, format, unpack, in setCompressedSubImage()
3277 ANGLE_TRY(commitRegion(context, layerIndex, layerArea)); in setCompressedSubImage()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DStateManager11.cpp61 GLint layerIndex = index.getLayerIndex(); in ImageIndexConflictsWithSRV() local
74 desc.Texture2DArray.FirstArraySlice <= static_cast<UINT>(layerIndex) && in ImageIndexConflictsWithSRV()
75 static_cast<UINT>(layerIndex) < maxSlice; in ImageIndexConflictsWithSRV()
119 GLint layerIndex = index.getLayerIndex(); in ImageIndexConflictsWithUAV() local
127 .contains(static_cast<UINT>(layerIndex))); in ImageIndexConflictsWithUAV()
132 GLint layerIndex = index.getLayerIndex(); in ImageIndexConflictsWithUAV() local
139 gl::RangeUI(firstWSlice, lastWSlice).contains(static_cast<UINT>(layerIndex))); in ImageIndexConflictsWithUAV()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DTextureMtl.mm2047 gl::ImageIndex layerIndex = ite.next();
2048 ANGLE_TRY(initializeContents(context, layerIndex));
2057 gl::ImageIndex layerIndex =
2059 ANGLE_TRY(initializeContents(context, layerIndex));