/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineReferenceRenderer.hpp | 171 const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(m_colorFormat.type); in ColorFragmentShader() local 175 …m_outputs[0].type = (channelClass == tcu::TEXTURECHANNELCLASS_SIGNED_INTEGER)? rr::GENERICVECTYPE_… in ColorFragmentShader() 176 (channelClass == tcu::TEXTURECHANNELCLASS_UNSIGNED_INTEGER)? rr::GENERICVECTYPE_UINT32 in ColorFragmentShader() 225 const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(m_colorFormat.type); in ColorFragmentShaderDualSource() local 231 …m_outputs[0].type = (channelClass == tcu::TEXTURECHANNELCLASS_SIGNED_INTEGER)? rr::GENERICVECTYPE_… in ColorFragmentShaderDualSource() 232 (channelClass == tcu::TEXTURECHANNELCLASS_UNSIGNED_INTEGER)? rr::GENERICVECTYPE_UINT32 in ColorFragmentShaderDualSource()
|
D | vktPipelineSamplerBorderSwizzleTests.cpp | 455 const auto channelClass = getTextureChannelClass(textureFormat.type); in comparePixelToColorClearValue() local 459 switch (channelClass) in comparePixelToColorClearValue() 474 const int modifier = (channelClass == tcu::TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT) ? 0 : 1; in comparePixelToColorClearValue()
|
D | vktPipelineRenderToImageTests.cpp | 577 …const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(outputImage.getFormat().… in generateExpectedImage() local 578 …const bool isInt = (channelClass == tcu::TEXTURECHANNELCLASS_SIGNED_INTEGER || channelClass… in generateExpectedImage()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineReferenceRenderer.hpp | 171 const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(m_colorFormat.type); in ColorFragmentShader() local 175 …m_outputs[0].type = (channelClass == tcu::TEXTURECHANNELCLASS_SIGNED_INTEGER)? rr::GENERICVECTYPE_… in ColorFragmentShader() 176 (channelClass == tcu::TEXTURECHANNELCLASS_UNSIGNED_INTEGER)? rr::GENERICVECTYPE_UINT32 in ColorFragmentShader() 225 const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(m_colorFormat.type); in ColorFragmentShaderDualSource() local 231 …m_outputs[0].type = (channelClass == tcu::TEXTURECHANNELCLASS_SIGNED_INTEGER)? rr::GENERICVECTYPE_… in ColorFragmentShaderDualSource() 232 (channelClass == tcu::TEXTURECHANNELCLASS_UNSIGNED_INTEGER)? rr::GENERICVECTYPE_UINT32 in ColorFragmentShaderDualSource()
|
D | vktPipelineSamplerBorderSwizzleTests.cpp | 455 const auto channelClass = getTextureChannelClass(textureFormat.type); in comparePixelToColorClearValue() local 459 switch (channelClass) in comparePixelToColorClearValue() 474 const int modifier = (channelClass == tcu::TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT) ? 0 : 1; in comparePixelToColorClearValue()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
D | vktImageMismatchedWriteOpTests.cpp | 499 std::vector<VkFormat> findFormatsByChannelClass(TextureChannelClass channelClass) in findFormatsByChannelClass() argument 504 if (getTextureChannelClass(mapVkFormat(f).type) == channelClass) in findFormatsByChannelClass() 527 TextureFormat::ChannelType makeChannelType (tcu::TextureChannelClass channelClass, bool doubled) in makeChannelType() argument 530 switch (channelClass) in makeChannelType() 544 TextureFormat makeBufferFormat (tcu::TextureChannelClass channelClass, bool doubled) in makeBufferFormat() argument 546 return TextureFormat(TextureFormat::ChannelOrder::RGBA, makeChannelType(channelClass, doubled)); in makeBufferFormat() 790 const auto channelClass = tcu::getTextureChannelClass(mapVkFormat(m_params->vkFormat).type); in clear() local 791 switch (channelClass) in clear() 810 const auto channelClass = tcu::getTextureChannelClass(texFormat.type); in populate() local 862 switch (channelClass) in populate() [all …]
|
D | vktImageMismatchedFormatsTests.cpp | 90 std::string ChannelClassToImageType (tcu::TextureChannelClass channelClass) in ChannelClassToImageType() argument 92 switch (channelClass) in ChannelClassToImageType() 100 std::string ChannelClassToVecType (tcu::TextureChannelClass channelClass) in ChannelClassToVecType() argument 102 switch (channelClass) in ChannelClassToVecType() 110 std::string ChannelClassToDefaultVecValue (tcu::TextureChannelClass channelClass) in ChannelClassToDefaultVecValue() argument 112 switch (channelClass) in ChannelClassToDefaultVecValue()
|
D | vktImageTestsUtil.cpp | 746 const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(textureFormat.type); in getGlslAttachmentType() local 748 switch (channelClass) in getGlslAttachmentType() 770 const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(textureFormat.type); in getGlslInputAttachmentType() local 772 switch (channelClass) in getGlslInputAttachmentType()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageMismatchedWriteOpTests.cpp | 499 std::vector<VkFormat> findFormatsByChannelClass(TextureChannelClass channelClass) in findFormatsByChannelClass() argument 504 if (getTextureChannelClass(mapVkFormat(f).type) == channelClass) in findFormatsByChannelClass() 527 TextureFormat::ChannelType makeChannelType (tcu::TextureChannelClass channelClass, bool doubled) in makeChannelType() argument 530 switch (channelClass) in makeChannelType() 544 TextureFormat makeBufferFormat (tcu::TextureChannelClass channelClass, bool doubled) in makeBufferFormat() argument 546 return TextureFormat(TextureFormat::ChannelOrder::RGBA, makeChannelType(channelClass, doubled)); in makeBufferFormat() 790 const auto channelClass = tcu::getTextureChannelClass(mapVkFormat(m_params->vkFormat).type); in clear() local 791 switch (channelClass) in clear() 810 const auto channelClass = tcu::getTextureChannelClass(texFormat.type); in populate() local 862 switch (channelClass) in populate() [all …]
|
D | vktImageMismatchedFormatsTests.cpp | 90 std::string ChannelClassToImageType (tcu::TextureChannelClass channelClass) in ChannelClassToImageType() argument 92 switch (channelClass) in ChannelClassToImageType() 100 std::string ChannelClassToVecType (tcu::TextureChannelClass channelClass) in ChannelClassToVecType() argument 102 switch (channelClass) in ChannelClassToVecType() 110 std::string ChannelClassToDefaultVecValue (tcu::TextureChannelClass channelClass) in ChannelClassToDefaultVecValue() argument 112 switch (channelClass) in ChannelClassToDefaultVecValue()
|
D | vktImageTestsUtil.cpp | 746 const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(textureFormat.type); in getGlslAttachmentType() local 748 switch (channelClass) in getGlslAttachmentType() 770 const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(textureFormat.type); in getGlslInputAttachmentType() local 772 switch (channelClass) in getGlslInputAttachmentType()
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuTextureUtil.cpp | 1719 const tcu::TextureChannelClass channelClass = getTextureChannelClass(format.type); in getTextureBorderColorFloat() local 1721 const bool isFloat = channelClass == tcu::TEXTURECHANNELCLASS_FLOATING_POINT; in getTextureBorderColorFloat() 1722 const bool isSigned = channelClass != tcu::TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT; in getTextureBorderColorFloat() 1727 DE_ASSERT(channelClass == tcu::TEXTURECHANNELCLASS_FLOATING_POINT || in getTextureBorderColorFloat() 1728 channelClass == tcu::TEXTURECHANNELCLASS_SIGNED_FIXED_POINT || in getTextureBorderColorFloat() 1729 channelClass == tcu::TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT); in getTextureBorderColorFloat() 1755 const tcu::TextureChannelClass channelClass = getTextureChannelClass(format.type); in getTextureBorderColorInt() local 1762 DE_ASSERT(channelClass == tcu::TEXTURECHANNELCLASS_SIGNED_INTEGER); in getTextureBorderColorInt() 1763 DE_UNREF(channelClass); in getTextureBorderColorInt() 1784 const tcu::TextureChannelClass channelClass = getTextureChannelClass(format.type); in getTextureBorderColorUint() local [all …]
|
D | tcuTexture.cpp | 1823 const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(format.type); in isFixedPointDepthTextureFormat() local 1824 if (channelClass == tcu::TEXTURECHANNELCLASS_FLOATING_POINT) in isFixedPointDepthTextureFormat() 1826 else if (channelClass == tcu::TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT) in isFixedPointDepthTextureFormat() 1861 const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(format.type); in lookupBorder() local 1862 const bool isFloat = channelClass == tcu::TEXTURECHANNELCLASS_FLOATING_POINT; in lookupBorder() 1863 const bool isFixed = channelClass == tcu::TEXTURECHANNELCLASS_SIGNED_FIXED_POINT || in lookupBorder() 1864 channelClass == tcu::TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT; in lookupBorder() 1865 const bool isPureInteger = channelClass == tcu::TEXTURECHANNELCLASS_SIGNED_INTEGER; in lookupBorder() 1866 const bool isPureUnsignedInteger = channelClass == tcu::TEXTURECHANNELCLASS_UNSIGNED_INTEGER; in lookupBorder()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassMultisampleResolveTests.cpp | 480 const tcu::TextureChannelClass channelClass (tcu::getTextureChannelClass(format.type)); in clearAttachments() local 484 switch (channelClass) in clearAttachments() 1018 const tcu::TextureChannelClass channelClass (tcu::getTextureChannelClass(format.type)); in verify() local 1041 switch (channelClass) in verify() 1052 switch (channelClass) in verify() 1353 const tcu::TextureChannelClass channelClass (tcu::getTextureChannelClass(format.type)); in iterate() local 1356 switch (channelClass) in iterate() 1383 const tcu::TextureChannelClass channelClass (tcu::getTextureChannelClass(format.type)); in iterate() local 1387 if (channelClass == tcu::TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT in iterate() 1388 || channelClass == tcu::TEXTURECHANNELCLASS_SIGNED_FIXED_POINT in iterate() [all …]
|
D | vktRenderPassSparseRenderTargetTests.cpp | 642 const tcu::TextureChannelClass channelClass (tcu::getTextureChannelClass(format.type)); in verify() local 644 switch (channelClass) in verify() 738 const tcu::TextureChannelClass channelClass (tcu::getTextureChannelClass(texFormat.type)); in init() local 752 switch (channelClass) in init()
|
D | vktRenderPassMultisampleTests.cpp | 1550 const tcu::TextureChannelClass channelClass (tcu::getTextureChannelClass(format.type)); in iterateInternal() local 1552 switch (channelClass) in iterateInternal() 1691 if (channelClass == tcu::TEXTURECHANNELCLASS_FLOATING_POINT) in iterateInternal() 1726 const tcu::TextureChannelClass channelClass (tcu::getTextureChannelClass(format.type)); in init() local 1797 switch (channelClass) in init() 2052 switch (channelClass) in init()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
D | vktRenderPassMultisampleResolveTests.cpp | 480 const tcu::TextureChannelClass channelClass (tcu::getTextureChannelClass(format.type)); in clearAttachments() local 484 switch (channelClass) in clearAttachments() 1018 const tcu::TextureChannelClass channelClass (tcu::getTextureChannelClass(format.type)); in verify() local 1041 switch (channelClass) in verify() 1052 switch (channelClass) in verify() 1353 const tcu::TextureChannelClass channelClass (tcu::getTextureChannelClass(format.type)); in iterate() local 1356 switch (channelClass) in iterate() 1383 const tcu::TextureChannelClass channelClass (tcu::getTextureChannelClass(format.type)); in iterate() local 1387 if (channelClass == tcu::TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT in iterate() 1388 || channelClass == tcu::TEXTURECHANNELCLASS_SIGNED_FIXED_POINT in iterate() [all …]
|
D | vktRenderPassSparseRenderTargetTests.cpp | 642 const tcu::TextureChannelClass channelClass (tcu::getTextureChannelClass(format.type)); in verify() local 644 switch (channelClass) in verify() 738 const tcu::TextureChannelClass channelClass (tcu::getTextureChannelClass(texFormat.type)); in init() local 752 switch (channelClass) in init()
|
D | vktRenderPassMultisampleTests.cpp | 1550 const tcu::TextureChannelClass channelClass (tcu::getTextureChannelClass(format.type)); in iterateInternal() local 1552 switch (channelClass) in iterateInternal() 1691 if (channelClass == tcu::TEXTURECHANNELCLASS_FLOATING_POINT) in iterateInternal() 1726 const tcu::TextureChannelClass channelClass (tcu::getTextureChannelClass(format.type)); in init() local 1797 switch (channelClass) in init() 2052 switch (channelClass) in init()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
D | vktApiImageClearingTests.cpp | 265 const TextureChannelClass channelClass = getTextureChannelClass(format.type); in comparePixelToDepthClearValue() local 267 switch (channelClass) in comparePixelToDepthClearValue() 345 const TextureChannelClass& channelClass) in comparePixelToColorClearValue() argument 347 switch (channelClass) in comparePixelToColorClearValue() 1260 const TextureChannelClass channelClass = getTextureChannelClass(format.type); in verifyResultImage() local 1263 switch (channelClass) in verifyResultImage() 1269 const int modifier = (channelClass == TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT) ? 0 : 1; in verifyResultImage() 1333 …learValue(pixelBufferAccess, x, y, z, *pColorValue, message, threshold, channelMask, channelClass)) in verifyResultImage() 2277 const TextureChannelClass channelClass = getTextureChannelClass(tcuFormat.type); in createImageClearingTestsCommon() local 2282 if (colorParams.matchTextureChannelClass && channelClass != colorParams.textureChannelClass) in createImageClearingTestsCommon() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiImageClearingTests.cpp | 265 const TextureChannelClass channelClass = getTextureChannelClass(format.type); in comparePixelToDepthClearValue() local 267 switch (channelClass) in comparePixelToDepthClearValue() 345 const TextureChannelClass& channelClass) in comparePixelToColorClearValue() argument 347 switch (channelClass) in comparePixelToColorClearValue() 1260 const TextureChannelClass channelClass = getTextureChannelClass(format.type); in verifyResultImage() local 1263 switch (channelClass) in verifyResultImage() 1269 const int modifier = (channelClass == TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT) ? 0 : 1; in verifyResultImage() 1333 …learValue(pixelBufferAccess, x, y, z, *pColorValue, message, threshold, channelMask, channelClass)) in verifyResultImage() 2277 const TextureChannelClass channelClass = getTextureChannelClass(tcuFormat.type); in createImageClearingTestsCommon() local 2282 if (colorParams.matchTextureChannelClass && channelClass != colorParams.textureChannelClass) in createImageClearingTestsCommon() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/ |
D | vktYCbCrUtil.hpp | 141 ChannelAccess (tcu::TextureChannelClass channelClass,
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrUtil.hpp | 141 ChannelAccess (tcu::TextureChannelClass channelClass,
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureFilteringExplicitLodTests.cpp | 78 const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(tcuFormat.type); in getPrecision() local 83 switch(channelClass) in getPrecision()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
D | vktTextureFilteringExplicitLodTests.cpp | 78 const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(tcuFormat.type); in getPrecision() local 83 switch(channelClass) in getPrecision()
|