Lines Matching defs:format
147 static VkDeviceSize getBufferSizeInBytes (deUint32 numScalars, VkFormat format);
525 m_inputFormat, // VkFormat format;
531 m_inputFormat, // VkFormat format;
539 m_inputFormat, // VkFormat format;
547 VK_FORMAT_R32_SINT, // VkFormat format;
937 // or the maximum representable positive integer value (if the format is integer-based).
1064 VkDeviceSize VertexAccessInstance::getBufferSizeInBytes (deUint32 numScalars, VkFormat format)
1066 if (isUintFormat(format) || isIntFormat(format) || isFloatFormat(format))
1068 return numScalars * ((format == VK_FORMAT_R64_UINT || format == VK_FORMAT_R64_SINT) ? 8 : 4);
1070 else if (format == VK_FORMAT_A2B10G10R10_UNORM_PACK32)
1166 static tcu::TestCaseGroup* createDrawTests (tcu::TestContext& testCtx, VkFormat format)
1178 const deUint32 numChannels = getNumUsedChannels(mapVkFormat(format).order);
1182 // name format numVertexValues numInstanceValues numVertices numInstances
1184 { "vertex_out_of_bounds", format, numChannels * 2 * 6, numChannels, 9, 1 },
1186 { "vertex_incomplete", format, numChannels, numChannels, 3, 1 },
1188 { "instance_out_of_bounds", format, numChannels * 2 * 9, numChannels, 3, 3 },
1205 static tcu::TestCaseGroup* createDrawIndexedTests (tcu::TestContext& testCtx, VkFormat format)
1216 // name format indexConfig
1218 { "last_index_out_of_bounds", format, DrawIndexedAccessTest::INDEX_CONFIG_LAST_INDEX_OUT_OF_BOUNDS },
1220 { "indices_out_of_bounds", format, DrawIndexedAccessTest::INDEX_CONFIG_INDICES_OUT_OF_BOUNDS },
1222 { "triangle_out_of_bounds", format, DrawIndexedAccessTest::INDEX_CONFIG_TRIANGLE_OUT_OF_BOUNDS },