maxwell_to_vk: add vertex format eA2B10G10R10UnormPack32

master
makigumo 2020-03-13 11:26:13 +07:00 committed by GitHub
parent 00e9ba0603
commit 54681909be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

@ -331,7 +331,9 @@ vk::Format VertexFormat(Maxwell::VertexAttribute::Type type, Maxwell::VertexAttr
return vk::Format::eR16G16B16Unorm; return vk::Format::eR16G16B16Unorm;
case Maxwell::VertexAttribute::Size::Size_16_16_16_16: case Maxwell::VertexAttribute::Size::Size_16_16_16_16:
return vk::Format::eR16G16B16A16Unorm; return vk::Format::eR16G16B16A16Unorm;
default: case Maxwell::VertexAttribute::Size::Size_10_10_10_2:
return vk::Format::eA2B10G10R10UnormPack32;
default:
break; break;
} }
break; break;