iris: Split iris_update_draw_info into two functions.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 12 May 2019 06:43:17 +0000 (23:43 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 12 May 2019 06:54:15 +0000 (23:54 -0700)
commit21a0be4a797e39117d507b970abfa1243fef99b0
tree9dc37b9ac7964a529328b3315560054b59c47e02
parent974c4d679c23373dbed386c696e3e3bc1bfa23ae
iris: Split iris_update_draw_info into two functions.

Shader draw parameters need updating on each iteration of a multidraw
loop, but the primitive based information only needs to be updated once.

Also, patch information needs to be recorded before filling out the TCS
program key, as it determines the number of HS instances.
src/gallium/drivers/iris/iris_draw.c