Lines Matching refs:pipelines
85 * \param pipeliens - vector of pipelines created
101 const pipelines_t& pipelines,
118 const auto qpResult = validator(result, pipelines, elapsed, reason);
148 qpTestResult checkPipelineMustBeValid(VkResult, const vector<UniquePipeline>& pipelines, duration, string& reason)
150 if (pipelines.size() <= INDEX)
152 static const StringTemplate ERROR_MSG = {"Index ${0} is not in created pipelines (pipelines.size(): ${1})"};
153 TCU_THROW(TestError, ERROR_MSG.format(INDEX, pipelines.size()));
156 if (*pipelines[INDEX] == VK_NULL_HANDLE)
158 static const StringTemplate ERROR_MSG = {"pipelines[${0}] is not a valid VkPipeline object"};
170 qpTestResult checkPipelineMustBeNull(VkResult, const vector<UniquePipeline>& pipelines, duration, string& reason)
172 if (pipelines.size() <= INDEX)
174 static const StringTemplate ERROR_MSG = {"Index ${0} is not in created pipelines (pipelines.size(): ${1})"};
175 TCU_THROW(TestError, ERROR_MSG.format(INDEX, pipelines.size()));
178 if (*pipelines[INDEX] != VK_NULL_HANDLE)
180 static const StringTemplate ERROR_MSG = {"pipelines[${0}] is not VK_NULL_HANDLE"};
192 qpTestResult checkPipelineNullAfterIndex(VkResult, const vector<UniquePipeline>& pipelines, duration, string& reason)
194 if (pipelines.size() <= INDEX)
196 static const StringTemplate ERROR_MSG = {"Index ${0} is not in created pipelines (pipelines.size(): ${1})"};
197 TCU_THROW(TestError, ERROR_MSG.format(INDEX, pipelines.size()));
200 if (pipelines.size() - 1 == INDEX)
207 if (*pipelines[INDEX] == VK_NULL_HANDLE)
209 for (size_t i = INDEX + 1; i < pipelines.size(); ++i)
211 if (*pipelines[i] != VK_NULL_HANDLE)
214 "pipelines[${0}] is not VK_NULL_HANDLE after a explicit early return index"};
861 pipelines_t& pipelines,
864 DE_ASSERT(createInfos.size() <= pipelines.size());
868 device, cache, static_cast<deUint32>(createInfos.size()), createInfos.data(), pAllocator, pipelines.data());
920 auto pipelines = wrapHandles(vk, device, created);
922 const auto status = validateResults(timedResult.result, pipelines, timedResult.elapsed, i.validators);
930 for (auto& pipeline : pipelines)
1057 pipelines_t& pipelines,
1060 DE_ASSERT(createInfos.size() <= pipelines.size());
1064 device, cache, static_cast<deUint32>(createInfos.size()), createInfos.data(), pAllocator, pipelines.data());
1105 auto pipelines = wrapHandles(vk, device, created);
1107 const auto status = validateResults(timedResult.result, pipelines, timedResult.elapsed, i.validators);
1115 for (auto& pipeline : pipelines)
1202 * \brief Duplicate single pipeline recreation using derivative pipelines
1251 * \brief Batch creation of duplicate pipelines with explicit caching
1265 // Warn if pipelines[0] is not VK_NULL_HANDLE
1267 // Warn if pipelines[2] is not valid
1276 * \brief Batch creation of duplicate pipelines with no caching
1290 // Warn if pipelines[0] is not VK_NULL_HANDLE
1299 * \brief Batch creation of duplicate pipelines with derivative pipeline index
1313 // Warn if pipelines[0] is not VK_NULL_HANDLE
1322 * \brief Batch creation of pipelines with early return
1336 // Warn if pipelines[0] is not VK_NULL_HANDLE
1347 * \brief Batch creation of pipelines with early return using VkPipelineCreateFlagBits2KHR from maintenance5
1361 // Warn if pipelines[0] is not VK_NULL_HANDLE
1408 group.getTestContext(), "graphics_pipelines", "Test pipeline creation cache control with graphics pipelines");
1427 group.getTestContext(), "compute_pipelines", "Test pipeline creation cache control with compute pipelines");