/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrStorageImageWriteTests.cpp | 357 for (deUint32 channelNdx = 0; channelNdx < 4; ++channelNdx) in testStorageImageWrite() local 359 if (!formatDescription.hasChannelNdx(channelNdx)) in testStorageImageWrite() 361 deUint32 planeNdx = formatDescription.channels[channelNdx].planeNdx; in testStorageImageWrite() 365 …ription, compatibleShaderGridSize, planeRowPitches, (const void* const*)planePointers, channelNdx); in testStorageImageWrite() 367 str << "image" << channelNdx; in testStorageImageWrite() 373 for (deUint32 channelNdx = 0; channelNdx < 4; ++channelNdx) in testStorageImageWrite() local 375 if (!formatDescription.hasChannelNdx(channelNdx)) in testStorageImageWrite() 378 deUint32 planeNdx = formatDescription.channels[channelNdx].planeNdx; in testStorageImageWrite() 383 …ription, compatibleShaderGridSize, planeRowPitches, (const void* const*)planePointers, channelNdx); in testStorageImageWrite() 393 switch (channelNdx) in testStorageImageWrite() [all …]
|
D | vktYCbCrFormatTests.cpp | 514 for (deUint32 channelNdx = 0; channelNdx < 4; channelNdx++) in testFormat() local 516 if (formatInfo.hasChannelNdx(channelNdx)) in testFormat() 518 const tcu::ConstPixelBufferAccess channelAccess = imageData.getChannelAccess(channelNdx); in testFormat() 525 reference[ndx][channelNdx] = refTexView.sample(refSampler, coord.x(), coord.y(), 0.0f)[0]; in testFormat() 531 reference[ndx][channelNdx] = channelNdx == 3 ? 1.0f : 0.0f; in testFormat()
|
D | vktYCbCrViewTests.cpp | 645 for (deUint32 channelNdx = 0; channelNdx < 4; channelNdx++) in testPlaneView() local 647 if (formatInfo.hasChannelNdx(channelNdx)) in testPlaneView() 649 const tcu::ConstPixelBufferAccess channelAccess = imageData.getChannelAccess(channelNdx); in testPlaneView() 656 referenceWhole[ndx][channelNdx] = refTexView.sample(refSampler, coord.x(), coord.y(), 0.0f)[0]; in testPlaneView() 662 referenceWhole[ndx][channelNdx] = channelNdx == 3 ? 1.0f : 0.0f; in testPlaneView()
|
D | vktYCbCrUtil.hpp | 72 tcu::PixelBufferAccess getChannelAccess (deUint32 channelNdx); 73 tcu::ConstPixelBufferAccess getChannelAccess (deUint32 channelNdx) const; 172 int channelNdx);
|
D | vktYCbCrUtil.cpp | 86 tcu::PixelBufferAccess MultiPlaneImageData::getChannelAccess (deUint32 channelNdx) in getChannelAccess() argument 102 channelNdx); in getChannelAccess() 105 tcu::ConstPixelBufferAccess MultiPlaneImageData::getChannelAccess (deUint32 channelNdx) const in getChannelAccess() 121 channelNdx); in getChannelAccess() 293 for (deUint32 channelNdx = 0; channelNdx < 4; channelNdx++) in fillGradient() local 295 if (formatInfo.hasChannelNdx(channelNdx)) in fillGradient() 297 const tcu::PixelBufferAccess channelAccess = imageData->getChannelAccess(channelNdx); in fillGradient() 306 channelAccess.setPixel(tcu::Vec4(tmpAccess.getPixel(x, y)[channelNdx]), x, y); in fillGradient() 962 int channelNdx) in getChannelAccess() argument 964 DE_ASSERT(formatInfo.hasChannelNdx(channelNdx)); in getChannelAccess() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesImageSparseResidency.cpp | 206 for (deUint32 channelNdx = 0; channelNdx < 4; ++channelNdx) in initPrograms() local 208 if (!formatDescription.hasChannelNdx(channelNdx)) in initPrograms() 210 if (formatDescription.channels[channelNdx].planeNdx != planeNdx) in initPrograms() 212 channelsOnPlane.push_back({ channelNdx,formatDescription.channels[channelNdx].offsetBits }); in initPrograms() 759 for (deUint32 channelNdx = 0; channelNdx < 4; ++channelNdx) in iterate() local 761 if (!formatDescription.hasChannelNdx(channelNdx)) in iterate() 763 deUint32 planeNdx = formatDescription.channels[channelNdx].planeNdx; in iterate() 767 …ription, compatibleShaderGridSize, planeRowPitches, (const void* const*)planePointers, channelNdx); in iterate() 769 str << "image" << channelNdx; in iterate() 774 for (deUint32 channelNdx = 0; channelNdx < 4; ++channelNdx) in iterate() local [all …]
|
D | vktSparseResourcesImageMemoryAliasing.cpp | 730 for (deUint32 channelNdx = 0; channelNdx < 4; ++channelNdx) in iterate() local 732 if (!formatDescription.hasChannelNdx(channelNdx)) in iterate() 735 deUint32 planeNdx = formatDescription.channels[channelNdx].planeNdx; in iterate() 747 …laneRowPitches[mipmapNdx].data(), (const void* const*)planePointers[mipmapNdx].data(), channelNdx); in iterate() 759 switch (channelNdx) in iterate() 774 switch (formatDescription.channels[channelNdx].type) in iterate() 789 …or = tcu::TexVerifierUtil::computeFixedPointError(formatDescription.channels[channelNdx].sizeBits); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkImageUtil.hpp | 183 deUint32 channelNdx); 188 deUint32 channelNdx); 193 deUint32 channelNdx); 198 deUint32 channelNdx);
|
D | vkImageUtil.cpp | 3386 deUint32 channelNdx) in getChannelAccess() argument 3388 DE_ASSERT(formatInfo.hasChannelNdx(channelNdx)); in getChannelAccess() 3390 const deUint32 planeNdx = formatInfo.channels[channelNdx].planeNdx; in getChannelAccess() 3391 const deUint32 planeOffsetBytes = formatInfo.channels[channelNdx].offsetBits / 8; in getChannelAccess() 3392 const deUint32 valueOffsetBits = formatInfo.channels[channelNdx].offsetBits % 8; in getChannelAccess() 3393 const deUint32 pixelStrideBytes = formatInfo.channels[channelNdx].strideBytes; in getChannelAccess() 3409 …BufferAccess(getChannelAccessFormat((tcu::TextureChannelClass)formatInfo.channels[channelNdx].type, in getChannelAccess() 3411 formatInfo.channels[channelNdx].sizeBits), in getChannelAccess() 3422 deUint32 channelNdx) in getChannelAccess() argument 3424 …tChannelAccess(formatInfo, size, planeRowPitches, const_cast<void* const*>(planePtrs), channelNdx); in getChannelAccess() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageViewTests.cpp | 583 for (int channelNdx = 0; channelNdx < 4; channelNdx++) in getComponentMappingPermutations() local 584 currentChannel[channelNdx] = channelSwizzles[(firstChannelNdx + channelNdx) % 4]; in getComponentMappingPermutations()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fFragmentOutputTests.cpp | 514 for (int channelNdx = 0; channelNdx < numValidChannels; channelNdx++) in clearUndefined() local 515 dstPixel[channelNdx] = srcPixel[channelNdx]; in clearUndefined() 530 for (int channelNdx = 0; channelNdx < numValidChannels; channelNdx++) in clearUndefined() local 531 dstPixel[channelNdx] = srcPixel[channelNdx]; in clearUndefined()
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuAstcUtil.cpp | 1449 for (int channelNdx = 0; channelNdx < 4; channelNdx++) in setTexelColors() local 1451 …if (!isHDREndpoint[colorEndpointNdx] || (channelNdx == 3 && colorEndpointModes[colorEndpointNdx] =… in setTexelColors() 1453 const deUint32 c0 = (e0[channelNdx] << 8) | (isSRGB ? 0x80 : e0[channelNdx]); in setTexelColors() 1454 const deUint32 c1 = (e1[channelNdx] << 8) | (isSRGB ? 0x80 : e1[channelNdx]); in setTexelColors() 1455 const deUint32 w = weight.w[ccs == channelNdx ? 1 : 0]; in setTexelColors() 1459 ((deUint8*)dst)[texelNdx*4 + channelNdx] = (deUint8)((c & 0xff00) >> 8); in setTexelColors() 1461 ((float*)dst)[texelNdx*4 + channelNdx] = c == 65535 ? 1.0f : (float)c / 65536.0f; in setTexelColors() 1466 const deUint32 c0 = e0[channelNdx] << 4; in setTexelColors() 1467 const deUint32 c1 = e1[channelNdx] << 4; in setTexelColors() 1468 const deUint32 w = weight.w[ccs == channelNdx ? 1 : 0]; in setTexelColors() [all …]
|
D | tcuRasterizationVerifier.cpp | 263 for (int channelNdx = 0; channelNdx < 3; ++channelNdx) in convertRGB8ToNativeFormat() local 265 …const int channelBitCount = (channelNdx == 0) ? (args.redBits) : (channelNdx == 1) ? (args.greenBi… in convertRGB8ToNativeFormat() 266 …const int channelPixelValue = (channelNdx == 0) ? (color.getRed()) : (channelNdx == 1) ? (color.ge… in convertRGB8ToNativeFormat() 269 pixelNativeColor[channelNdx] = channelPixelValue >> (8 - channelBitCount); in convertRGB8ToNativeFormat() 271 pixelNativeColor[channelNdx] = channelPixelValue; in convertRGB8ToNativeFormat() 276 pixelNativeColor[channelNdx] = channelPixelValue << (channelBitCount - 8); in convertRGB8ToNativeFormat()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderOperatorTests.cpp | 475 for (int channelNdx = 0; channelNdx < 4; channelNdx++) in evaluate() local 476 if (s_outSwizzleChannelMasks[m_resultScalarSize - 1][channelNdx]) in evaluate() 477 ctx.color[channelNdx] = ctx.color[channelNdx] * m_evaluatedScale + m_evaluatedBias; in evaluate()
|