vkd3d-shader/ir: Give more meaningful names to I/O normalisation levels.

The previous names "not normalised" and "fully normalised" have meanings
which are likely to change with time. OTOH including a description of the
normalisation level in the enumerant seems excessive. Relating
normalisation levels to shader model versions might be a reasonable
compromise.
This commit is contained in:
Giovanni Mascellani
2024-12-10 20:18:07 +01:00
committed by Henri Verbeet
parent 09095403ac
commit 64126a00c3
Notes: Henri Verbeet 2024-12-12 17:48:47 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Francisco Casas (@fcasas)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1311
9 changed files with 16 additions and 16 deletions

View File

@@ -10826,7 +10826,7 @@ static int spirv_compiler_generate_spirv(struct spirv_compiler *compiler, struct
compile_info, compiler->message_context)) < 0)
return result;
VKD3D_ASSERT(program->normalisation_level == VSIR_FULLY_NORMALISED_IO);
VKD3D_ASSERT(program->normalisation_level == VSIR_NORMALISED_SM6);
max_element_count = max(program->output_signature.element_count, program->patch_constant_signature.element_count);
if (!(compiler->output_info = vkd3d_calloc(max_element_count, sizeof(*compiler->output_info))))