Lines Matching refs:statistics
324 std::vector<VkPipelineExecutableStatisticKHR> statistics[PIPELINE_CACHE_NDX_COUNT]; in verifyStatistics() local
344 statistics[ndx].resize(statisticCount); in verifyStatistics()
347 deMemset(&statistics[ndx][statNdx], 0, sizeof(statistics[ndx][statNdx])); in verifyStatistics()
348 statistics[ndx][statNdx].sType = VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHR; in verifyStatistics()
349 statistics[ndx][statNdx].pNext = DE_NULL; in verifyStatistics()
351 …eExecutableStatisticsKHR(vkDevice, &pipelineExecutableInfo, &statisticCount, &statistics[ndx][0])); in verifyStatistics()
355 …if (!checkString(statistics[ndx][statNdx].name, DE_LENGTH_OF_ARRAY(statistics[ndx][statNdx].name))) in verifyStatistics()
362 if (deMemCmp(statistics[ndx][statNdx].name, statistics[ndx][otherNdx].name, in verifyStatistics()
363 DE_LENGTH_OF_ARRAY(statistics[ndx][statNdx].name)) == 0) in verifyStatistics()
369 …if (!checkString(statistics[ndx][statNdx].description, DE_LENGTH_OF_ARRAY(statistics[ndx][statNdx]… in verifyStatistics()
374 if (statistics[ndx][statNdx].format == VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR) in verifyStatistics()
376 …if (statistics[ndx][statNdx].value.b32 != VK_TRUE && statistics[ndx][statNdx].value.b32 != VK_FALS… in verifyStatistics()
384 if (statistics[0].size() != statistics[1].size()) in verifyStatistics()
389 if (statistics[0].size() == 0) in verifyStatistics()
395 for (deUint32 statNdx0 = 0; statNdx0 < statistics[0].size(); statNdx0++) in verifyStatistics()
398 for (; statNdx1 < statistics[1].size(); statNdx1++) in verifyStatistics()
400 if (deMemCmp(statistics[0][statNdx0].name, statistics[1][statNdx1].name, in verifyStatistics()
401 DE_LENGTH_OF_ARRAY(statistics[0][statNdx0].name)) == 0) in verifyStatistics()
406 if (statNdx1 >= statistics[1].size()) in verifyStatistics()
411 if (deMemCmp(statistics[0][statNdx0].description, statistics[1][statNdx1].description, in verifyStatistics()
412 DE_LENGTH_OF_ARRAY(statistics[0][statNdx0].description)) != 0) in verifyStatistics()
417 if (statistics[0][statNdx0].format != statistics[1][statNdx1].format) in verifyStatistics()
422 switch (statistics[0][statNdx0].format) in verifyStatistics()
426 bool match = statistics[0][statNdx0].value.b32 == statistics[1][statNdx1].value.b32; in verifyStatistics()
428 << statistics[0][statNdx0].name << ": " in verifyStatistics()
429 << (statistics[0][statNdx0].value.b32 ? "VK_TRUE" : "VK_FALSE") in verifyStatistics()
431 << " (" << statistics[0][statNdx0].description << ")" in verifyStatistics()
437 bool match = statistics[0][statNdx0].value.i64 == statistics[1][statNdx1].value.i64; in verifyStatistics()
439 << statistics[0][statNdx0].name << ": " in verifyStatistics()
440 << statistics[0][statNdx0].value.i64 in verifyStatistics()
442 << " (" << statistics[0][statNdx0].description << ")" in verifyStatistics()
448 bool match = statistics[0][statNdx0].value.u64 == statistics[1][statNdx1].value.u64; in verifyStatistics()
450 << statistics[0][statNdx0].name << ": " in verifyStatistics()
451 << statistics[0][statNdx0].value.u64 in verifyStatistics()
453 << " (" << statistics[0][statNdx0].description << ")" in verifyStatistics()
459 bool match = statistics[0][statNdx0].value.f64 == statistics[1][statNdx1].value.f64; in verifyStatistics()
461 << statistics[0][statNdx0].name << ": " in verifyStatistics()
462 << statistics[0][statNdx0].value.f64 in verifyStatistics()
464 << " (" << statistics[0][statNdx0].description << ")" in verifyStatistics()