/external/angle/src/libANGLE/renderer/metal/shaders/ |
D | gen_mipmap.metal | 49 ushort3 mipSize = ushort3(dstMip1.get_width(), dstMip1.get_height(), dstMip1.get_depth()); 50 bool validThread = gIndices.x < mipSize.x && gIndices.y < mipSize.y && gIndices.z < mipSize.z; 66 float3 texCoords = (float3(gIndices) + float3(0.5, 0.5, 0.5)) / float3(mipSize); 97 bool3 atEdge = gIndices == (mipSize - ushort3(1)); 139 mipSize = max(mipSize >> 1, ushort3(1)); 140 bool3 atEdge = (gIndices >> 1) == (mipSize - ushort3(1)); 185 mipSize = max(mipSize >> 1, ushort3(1)); 186 bool3 atEdge = (gIndices >> 2) == (mipSize - ushort3(1)); 228 ushort2 mipSize = 230 bool validThread = gIndices.x < mipSize.x && gIndices.y < mipSize.y; [all …]
|
D | mtl_default_shaders_src_autogen.inc | 956 ushort3 mipSize = ushort3(dstMip1.get_width(), dstMip1.get_height(), dstMip1.get_depth()); 957 bool validThread = gIndices.x < mipSize.x && gIndices.y < mipSize.y && gIndices.z < mipSize.z; 973 float3 texCoords = (float3(gIndices) + float3(0.5, 0.5, 0.5)) / float3(mipSize); 1004 bool3 atEdge = gIndices == (mipSize - ushort3(1)); 1046 mipSize = max(mipSize >> 1, ushort3(1)); 1047 bool3 atEdge = (gIndices >> 1) == (mipSize - ushort3(1)); 1092 mipSize = max(mipSize >> 1, ushort3(1)); 1093 bool3 atEdge = (gIndices >> 2) == (mipSize - ushort3(1)); 1135 ushort2 mipSize = 1137 bool validThread = gIndices.x < mipSize.x && gIndices.y < mipSize.y; [all …]
|
/external/angle/src/tests/gl_tests/ |
D | IncompleteTextureTest.cpp | 162 const GLsizei mipSize = redTextureSize >> mip; in TEST_P() local 164 glTexImage2D(GL_TEXTURE_2D, mip, GL_RGBA, mipSize, mipSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P() 179 const GLsizei mipSize = greenTextureSize >> mip; in TEST_P() local 181 glTexSubImage2D(GL_TEXTURE_2D, mip, mipSize, mipSize, mipSize, mipSize, GL_RGBA, in TEST_P()
|
D | ReadPixelsTest.cpp | 822 GLint mipSize = 4 >> level; in initializeTextureData() local 823 GLint layers = (textureTarget == GL_TEXTURE_3D ? mipSize : 4); in initializeTextureData() 825 size_t layerSize = mipSize * mipSize; in initializeTextureData() 836 glTexSubImage3D(textureTarget, level, 0, 0, 0, mipSize, mipSize, layers, GL_RGBA, in initializeTextureData()
|
D | TextureTest.cpp | 479 size_t mipSize = std::max<size_t>(1u, mip0Size >> mip); in getMipDataSize() local 480 return mipSize * mipSize; in getMipDataSize()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineRenderToImageTests.cpp | 1287 const IVec4& mipSize, in drawToMipLevel() argument 1325 …vk, device, basePipeline, pipelineLayout, *renderPass, vertexModule, fragmentModule, mipSize.swizz… in drawToMipLevel() 1343 static_cast<deUint32>(mipSize.x()), static_cast<deUint32>(mipSize.y()))); in drawToMipLevel() 1358 …beginRenderPass(vk, *cmdBuffer, *renderPass, *framebuffer, makeRect2D(0, 0, mipSize.x(), mipSize.y… in drawToMipLevel() 1519 const IVec4& mipSize = mipLevelSizes[mipLevel]; in testRenderToMipMaps() local 1520 const int levelSlices = maxLayersOrDepth(mipSize); in testRenderToMipMaps() 1522 …drawToMipLevel (context, caseDef, mipLevel, mipSize, levelSlices, *colorImage, *depthStencilImage,… in testRenderToMipMaps() 1620 const IVec4& mipSize = mipLevelSizes[mipLevel]; in testRenderToMipMaps() local 1622 const int levelDepth = maxLayersOrDepth(mipSize); in testRenderToMipMaps() 1623 …const tcu::ConstPixelBufferAccess resultImage (format, mipSize.x(), mipSize.y(), levelDepth, pLev… in testRenderToMipMaps() [all …]
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_screen_ioctl.c | 168 SVGA3dSize mipSize = size; in vmw_ioctl_surface_create() local 172 cur_size->width = mipSize.width; in vmw_ioctl_surface_create() 173 cur_size->height = mipSize.height; in vmw_ioctl_surface_create() 174 cur_size->depth = mipSize.depth; in vmw_ioctl_surface_create() 175 mipSize.width = MAX2(mipSize.width >> 1, 1); in vmw_ioctl_surface_create() 176 mipSize.height = MAX2(mipSize.height >> 1, 1); in vmw_ioctl_surface_create() 177 mipSize.depth = MAX2(mipSize.depth >> 1, 1); in vmw_ioctl_surface_create()
|
/external/skia/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 303 SkScalar mipSize = mipScale*SkScalarAbs(maxDim); in onPrepareDraws() local 309 if (mipSize < kIdealMinMIP) { in onPrepareDraws() 310 SkScalar newMipSize = mipSize; in onPrepareDraws() 314 while (newMipSize > 4 * mipSize) { in onPrepareDraws() 317 mipSize = newMipSize; in onPrepareDraws() 320 SkScalar desiredDimension = std::min(mipSize, kMaxMIP); in onPrepareDraws()
|
/external/mesa3d/src/gallium/drivers/svga/include/ |
D | svga3d_surfacedefs.h | 1061 SVGA3dSize mipSize; in svga3dsurface_get_image_offset() local 1069 mipSize = svga3dsurface_get_mip_size(baseLevelSize, i); in svga3dsurface_get_image_offset() 1070 bytes = svga3dsurface_get_image_buffer_size(desc, &mipSize, 0); in svga3dsurface_get_image_offset()
|
/external/deqp/external/vulkancts/modules/vulkan/descriptor_indexing/ |
D | vktDescriptorSetsIndexingTestsUtils.cpp | 162 …deUint32 mipSize = extent.width * extent.height * extent.depth * vk::mapVkFormat(format).getPixelS… in computeImageSize() local 181 mipSize += tmpSize; in computeImageSize() 185 mipSize = tmpSize; in computeImageSize() 190 return mipSize; in computeImageSize()
|
/external/skqp/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 421 SkScalar mipSize = mipScale*SkScalarAbs(maxDim); in onPrepareDraws() local 427 if (mipSize < kIdealMinMIP) { in onPrepareDraws() 428 SkScalar newMipSize = mipSize; in onPrepareDraws() 432 while (newMipSize > 4 * mipSize) { in onPrepareDraws() 435 mipSize = newMipSize; in onPrepareDraws() 437 SkScalar desiredDimension = SkTMin(mipSize, kMaxMIP); in onPrepareDraws()
|
/external/mesa3d/src/amd/addrlib/src/core/ |
D | addrlib2.cpp | 1253 UINT_32 mipSize = 0; in ComputeSurfaceCoordFromAddrLinear() local 1259 mipSize = localOut.pitch * elementBytes; in ComputeSurfaceCoordFromAddrLinear() 1264 mipSize = currentMipHeight * localOut.pitch * elementBytes; in ComputeSurfaceCoordFromAddrLinear() 1267 if (mipSize == 0) in ComputeSurfaceCoordFromAddrLinear() 1272 else if ((mipSize + mipOffsetInSlice) > offsetInSlice) in ComputeSurfaceCoordFromAddrLinear() 1278 mipOffsetInSlice += mipSize; in ComputeSurfaceCoordFromAddrLinear()
|
/external/skqp/src/core/ |
D | SkMipMap.cpp | 393 SkISize mipSize = ComputeLevelSize(src.width(), src.height(), currentMipLevel); in Build() local 394 size += SkColorTypeMinRowBytes(ct, mipSize.fWidth) * mipSize.fHeight; in Build()
|
/external/skia/src/core/ |
D | SkMipmap.cpp | 555 SkISize mipSize = ComputeLevelSize(src.width(), src.height(), currentMipLevel); in Build() local 556 size += SkColorTypeMinRowBytes(ct, mipSize.fWidth) * mipSize.fHeight; in Build()
|
/external/mesa3d/src/amd/addrlib/src/gfx9/ |
D | gfx9addrlib.cpp | 4260 UINT_32 mipSize; in GetMipChainInfo() local 4264 mipSize = mipPitch * mipHeight * mipDepth * (bpp >> 3); in GetMipChainInfo() 4268 mipSize = mipPitch * mipHeight * (bpp >> 3); in GetMipChainInfo() 4271 if (mipSize <= 256) in GetMipChainInfo()
|
/external/mesa3d/src/amd/addrlib/src/gfx10/ |
D | gfx10addrlib.cpp | 3283 UINT_64 mipSize[MaxMipLevels]; in ComputeSurfaceInfoMacroTiled() local 3313 mipSize[i] = sliceSize * depth; in ComputeSurfaceInfoMacroTiled() 3354 offset += mipSize[i]; in ComputeSurfaceInfoMacroTiled()
|
/external/angle/src/libANGLE/renderer/d3d/ |
D | TextureD3D.cpp | 2033 GLsizei mipSize = std::max(1, size.width >> level); in setStorage() local 2037 gl::Extents(mipSize, mipSize, 1), true); in setStorage()
|