[vulkan] Use the short name for the image types

Yay for coming up with a solution for enums short names that start with
a number, makes things more readable.
This commit is contained in:
Bill Currie 2021-12-02 13:44:58 +09:00
parent 614c744693
commit b1ba87e5aa
2 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
{
images = {
depth = {
imageType = VK_IMAGE_TYPE_2D; //FIXME short form is 2d...
imageType = `2d;
format = x8_d24_unorm_pack32;
samples = 1;
extent = {
@ -16,7 +16,7 @@
initialLayout = undefined;
};
color = {
imageType = VK_IMAGE_TYPE_2D;
imageType = `2d;
format = r8g8b8a8_unorm;
samples = 1;
extent = {
@ -31,7 +31,7 @@
initialLayout = undefined;
};
emission = {
imageType = VK_IMAGE_TYPE_2D;
imageType = `2d;
format = r16g16b16a16_sfloat;
samples = 1;
extent = {
@ -46,7 +46,7 @@
initialLayout = undefined;
};
normal = {
imageType = VK_IMAGE_TYPE_2D;
imageType = `2d;
format = r16g16b16a16_sfloat;
samples = 1;
extent = {
@ -61,7 +61,7 @@
initialLayout = undefined;
};
position = {
imageType = VK_IMAGE_TYPE_2D;
imageType = `2d;
format = r32g32b32a32_sfloat;
samples = 1;
extent = {
@ -76,7 +76,7 @@
initialLayout = undefined;
};
opaque = {
imageType = VK_IMAGE_TYPE_2D;
imageType = `2d;
format = r8g8b8a8_unorm;
samples = 1;
extent = {
@ -91,7 +91,7 @@
initialLayout = undefined;
};
translucent = {
imageType = VK_IMAGE_TYPE_2D;
imageType = `2d;
format = r8g8b8a8_unorm;
samples = 1;
extent = {

View File

@ -2,7 +2,7 @@
images = {
shadow = {
flags = cube_compatible;
imageType = VK_IMAGE_TYPE_2D; //FIXME short form is 2d...
imageType = `2d;
format = x8_d24_unorm_pack32;
samples = 1;
extent = {