summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/swr_state.cpp
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-09-04 13:58:01 -0500
committerJason Ekstrand <[email protected]>2018-09-06 16:07:50 -0500
commit7b26741806c521279a1b83f2eae40a277d806626 (patch)
tree15cd139541db96e3907f4f3a937a49fa8ecb0c37 /src/gallium/drivers/swr/swr_state.cpp
parent44ec31cd75f679b32afb03c3c9c46762e57ce506 (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/swr/swr_state.cpp')
0 files changed, 0 insertions, 0 deletions