Home
last modified time | relevance | path

Searched refs:channelNdx (Results 1 – 5 of 5) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageViewTests.cpp518 for (int channelNdx = 0; channelNdx < 4; channelNdx++) in getComponentMappingPermutations() local
519 currentChannel[channelNdx] = channelSwizzles[(firstChannelNdx + channelNdx) % 4]; in getComponentMappingPermutations()
/external/deqp/modules/gles3/functional/
Des3fFragmentOutputTests.cpp514 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()
/external/deqp/framework/common/
DtcuAstcUtil.cpp1423 for (int channelNdx = 0; channelNdx < 4; channelNdx++) in setTexelColors() local
1425 …if (!isHDREndpoint[colorEndpointNdx] || (channelNdx == 3 && colorEndpointModes[colorEndpointNdx] =… in setTexelColors()
1427 const deUint32 c0 = (e0[channelNdx] << 8) | (isSRGB ? 0x80 : e0[channelNdx]); in setTexelColors()
1428 const deUint32 c1 = (e1[channelNdx] << 8) | (isSRGB ? 0x80 : e1[channelNdx]); in setTexelColors()
1429 const deUint32 w = weight.w[ccs == channelNdx ? 1 : 0]; in setTexelColors()
1433 ((deUint8*)dst)[texelNdx*4 + channelNdx] = (deUint8)((c & 0xff00) >> 8); in setTexelColors()
1435 ((float*)dst)[texelNdx*4 + channelNdx] = c == 65535 ? 1.0f : (float)c / 65536.0f; in setTexelColors()
1440 const deUint32 c0 = e0[channelNdx] << 4; in setTexelColors()
1441 const deUint32 c1 = e1[channelNdx] << 4; in setTexelColors()
1442 const deUint32 w = weight.w[ccs == channelNdx ? 1 : 0]; in setTexelColors()
[all …]
/external/deqp/modules/glshared/
DglsRasterizationTestUtil.cpp263 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()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderOperatorTests.cpp487 for (int channelNdx = 0; channelNdx < 4; channelNdx++) in evaluate() local
488 if (s_outSwizzleChannelMasks[m_resultScalarSize - 1][channelNdx]) in evaluate()
489 ctx.color[channelNdx] = ctx.color[channelNdx] * m_evaluatedScale + m_evaluatedBias; in evaluate()