[vulkan] Use bare dictionaries for spec files

Every time I created a new file from scratch, I always forgot the
enclosing {}. Now I will probably include them by accident :P
This commit is contained in:
Bill Currie 2023-03-12 14:48:14 +09:00
parent 3cdcc2c62c
commit 45bcb31684
9 changed files with 2358 additions and 2374 deletions

View file

@ -1,4 +1,3 @@
{
samplers = {
linear = {
magFilter = linear;
@ -257,4 +256,3 @@
layout = fisheye_layout;
};
};
}

View file

@ -1,4 +1,3 @@
{
limits = {
//FIXME this really needs to be an external variable as the C code
//needs to agree on the size, so it might as well set maxSamplers
@ -1210,4 +1209,3 @@
layout = partupdate_layout;
};
};
}

View file

@ -1,4 +1,3 @@
{
flat_color_image_template = {
imageType = `2d;
samples = 1;
@ -327,4 +326,3 @@
viewOffsets = ( 0, 0, 0, 0, 0);
});
};
}

View file

@ -1,4 +1,3 @@
{
flat_color_image_template = {
imageType = `2d;
samples = 1;
@ -316,4 +315,3 @@
},
);
};
}

View file

@ -1,4 +1,3 @@
{
flat_color_image_template = {
imageType = `2d;
samples = $msaaSamples;
@ -196,4 +195,3 @@
},
);
};
}

View file

@ -1,4 +1,3 @@
{
properties = {
color = {
bsp = "[0.0, 0.5, 0.6, 1]";
@ -1161,4 +1160,3 @@ renderpasses = {
});
};
};
};

View file

@ -1,4 +1,3 @@
{
framebuffer = {
renderPass = output;
attachments = ($output.view);
@ -46,4 +45,3 @@
},
);
};
}

View file

@ -1,4 +1,3 @@
{
clearValues = (
{ depthStencil = { depth = 1; stencil = 0; }; },
);
@ -49,4 +48,3 @@
viewMasks = (0x00000001u);
});
};
}

View file

@ -1960,7 +1960,7 @@ build_configs (scriptctx_t *sctx)
builtin_plists = malloc (num_plists * sizeof (plitem_t *));
num_plists = 0;
for (exprsym_t *sym = builtin_plist_syms; sym->name; sym++) {
plitem_t *item = PL_GetPropertyList (sym->value, &sctx->hashctx);
plitem_t *item = PL_GetDictionary (sym->value, &sctx->hashctx);
if (!item) {
// Syntax errors in the compiled-in plists are unrecoverable
Sys_Error ("Error parsing plist for %s", sym->name);