diff options
author | Jason Ekstrand <[email protected]> | 2018-09-04 13:58:01 -0500 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-09-06 16:07:50 -0500 |
commit | 7b26741806c521279a1b83f2eae40a277d806626 (patch) | |
tree | 15cd139541db96e3907f4f3a937a49fa8ecb0c37 /src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | |
parent | 44ec31cd75f679b32afb03c3c9c46762e57ce506 (diff) |
anv/pipeline: Only consider double elements which actually exist
The brw_vs_prog_data::double_inputs_read field comes directly from
shader_info::double_inputs which may contain inputs which are not
actually read. Instead of using it directly, AND it with inputs_read
which is only things which are read. Otherwise, we may end up
subtracting too many elements when computing elem_count.
Cc: [email protected]
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103241
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nvc0/nvc0_screen.c')
0 files changed, 0 insertions, 0 deletions