const tcu::Vec4 cBias = fmtInfo.valueMin;
const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin;
+ if ((testParameters.wrapS == Sampler::MIRRORED_ONCE ||
+ testParameters.wrapT == Sampler::MIRRORED_ONCE) &&
+ !de::contains(context.getDeviceExtensions().begin(), context.getDeviceExtensions().end(), "VK_KHR_sampler_mirror_clamp_to_edge"))
+ TCU_THROW(NotSupportedError, "VK_KHR_sampler_mirror_clamp_to_edge not supported");
+
// Create 2 textures.
m_textures.reserve(2);
for (int ndx = 0; ndx < 2; ndx++)
const tcu::Vec4 cBias = fmtInfo.valueMin;
const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin;
+ if ((testParameters.wrapS == Sampler::MIRRORED_ONCE ||
+ testParameters.wrapT == Sampler::MIRRORED_ONCE) &&
+ !de::contains(context.getDeviceExtensions().begin(), context.getDeviceExtensions().end(), "VK_KHR_sampler_mirror_clamp_to_edge"))
+ TCU_THROW(NotSupportedError, "VK_KHR_sampler_mirror_clamp_to_edge not supported");
+
m_textures.reserve(2);
for (int ndx = 0; ndx < 2; ndx++)
m_textures.push_back(TestTextureCubeSp(new pipeline::TestTextureCube(vk::mapVkFormat(m_testParameters.format), m_testParameters.size)));
const tcu::Vec4 cBias = fmtInfo.valueMin;
const int numLevels = deLog2Floor32(de::max(m_testParameters.width, m_testParameters.height)) + 1;
+ if ((testParameters.wrapS == Sampler::MIRRORED_ONCE ||
+ testParameters.wrapT == Sampler::MIRRORED_ONCE) &&
+ !de::contains(context.getDeviceExtensions().begin(), context.getDeviceExtensions().end(), "VK_KHR_sampler_mirror_clamp_to_edge"))
+ TCU_THROW(NotSupportedError, "VK_KHR_sampler_mirror_clamp_to_edge not supported");
+
// Create textures.
m_textures.reserve(2);
for (int ndx = 0; ndx < 2; ndx++)
const tcu::Vec4 cBias = fmtInfo.valueMin;
const int numLevels = deLog2Floor32(de::max(de::max(m_testParameters.width, m_testParameters.height), m_testParameters.depth)) + 1;
+ if ((testParameters.wrapS == Sampler::MIRRORED_ONCE ||
+ testParameters.wrapT == Sampler::MIRRORED_ONCE ||
+ testParameters.wrapR == Sampler::MIRRORED_ONCE) &&
+ !de::contains(context.getDeviceExtensions().begin(), context.getDeviceExtensions().end(), "VK_KHR_sampler_mirror_clamp_to_edge"))
+ TCU_THROW(NotSupportedError, "VK_KHR_sampler_mirror_clamp_to_edge not supported");
+
// Create textures.
m_textures.reserve(2);
for (int ndx = 0; ndx < 2; ndx++)