mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-22 10:21:21 +00:00
[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:
parent
614c744693
commit
b1ba87e5aa
2 changed files with 8 additions and 8 deletions
|
@ -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 = {
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue