Lines Matching defs:range

83 	// We want to test both normal ranges and VK_REMAINING_3D_SLICES_EXT, but in the latter case we cannot blindly use the range
85 uint32_t range;
99 , range (range_)
104 DE_ASSERT(range > 0u);
122 DE_ASSERT(offset + range <= selectedLevelDepth);
142 return (useRemainingSlices() ? (levelDepth - offset) : range);
147 return range;
195 return (range == VK_REMAINING_3D_SLICES_EXT);
488 const tcu::Maybe<tcu::UVec2>& slices/*x=offset, y=range)*/, uint32_t mipLevel, uint32_t levelCount)
1036 using CaseId = std::tuple<uint32_t, uint32_t, uint32_t>; // depth, offset, range
1063 uint32_t range = 0u;
1071 range = static_cast<uint32_t>(rnd.getInt(0, static_cast<int>(depth - offset)));
1074 if (range == 0u)
1075 range = VK_REMAINING_3D_SLICES_EXT;
1078 const CaseId currentCase (depth, offset, range);
1086 const auto rangeStr = ((range == VK_REMAINING_3D_SLICES_EXT) ? "remaining_3d_slices" : std::to_string(range));
1088 TestParams params (testTypeCase.testType, stageCase.stage, kWidth, kHeight, depth, offset, range, tcu::Nothing, false);
1105 using CaseId = std::tuple<uint32_t, uint32_t>; // depth, offset, range
1138 uint32_t range = 0u;
1145 range = static_cast<uint32_t>(rnd.getInt(0, static_cast<int>(levelSize - offset)));
1148 if (range == 0u)
1149 range = VK_REMAINING_3D_SLICES_EXT;
1151 const CaseId currentCase (offset, range);
1159 const auto rangeStr = ((range == VK_REMAINING_3D_SLICES_EXT) ? "remaining_3d_slices" : std::to_string(range));
1161 TestParams params (testTypeCase.testType, stageCase.stage, width, height, depth, offset, range, tcu::just(level), false);