mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/glsl: Use VKD3D_SHADER_ERROR_GLSL_UNSUPPORTED for unsupported CBV descriptor arrays.
This commit is contained in:
parent
845d6f9134
commit
afb1a2610e
Notes:
Henri Verbeet
2024-10-10 20:10:19 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1171
@ -1415,7 +1415,7 @@ static void shader_glsl_generate_cbv_declaration(struct vkd3d_glsl_generator *ge
|
||||
|
||||
if (cbv->count != 1)
|
||||
{
|
||||
vkd3d_glsl_compiler_error(gen, VKD3D_SHADER_ERROR_GLSL_BINDING_NOT_FOUND,
|
||||
vkd3d_glsl_compiler_error(gen, VKD3D_SHADER_ERROR_GLSL_UNSUPPORTED,
|
||||
"Constant buffer %u has unsupported descriptor array size %u.", cbv->register_id, cbv->count);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user