Use vk::Format that matches coloredCubeData (#1729)

This commit is contained in:
Bohdan Soproniuk 2023-11-16 08:54:45 +01:00 committed by GitHub
parent 846ac99cee
commit 1bfaa9fd5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,7 +132,7 @@ int main( int /*argc*/, char ** /*argv*/ )
fragmentShaderModule,
nullptr,
sizeof( coloredCubeData[0] ),
{ { vk::Format::eR32G32B32A32Sfloat, 0 }, { vk::Format::eR32G32Sfloat, 16 } },
{ { vk::Format::eR32G32B32A32Sfloat, 0 }, { vk::Format::eR32G32B32A32Sfloat, 16 } },
vk::FrontFace::eClockwise,
true,
pipelineLayout,