mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
microsoft/compiler: Remove arrays when testing for structs in I/O
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20614>
This commit is contained in:
parent
c86bd4bfbc
commit
c1a3d6b9a9
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ get_additional_semantic_info(nir_shader *s, nir_variable *var, struct semantic_i
|
|||
|
||||
bool is_depth = is_depth_output(info->kind);
|
||||
|
||||
if (!glsl_type_is_struct(type)) {
|
||||
if (!glsl_type_is_struct(glsl_without_array(type))) {
|
||||
info->sig_comp_type = dxil_get_comp_type(type);
|
||||
} else if (var->data.interpolation == INTERP_MODE_FLAT) {
|
||||
info->sig_comp_type = DXIL_COMP_TYPE_U32;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue