i965: Stop re-uploading push constants after URB reconfiguration.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 29 Nov 2016 09:37:49 +0000 (01:37 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 14 Jul 2017 02:56:49 +0000 (19:56 -0700)
commit67fec964525a88c975902bdfb4078d722d4f04bf
tree1659c9bfa646009c6fd309d8d617f8c33f1f9ad8
parent29603ae208fb0031a6746110d448a91ea4071dea
i965: Stop re-uploading push constants after URB reconfiguration.

Previously we would re-upload the constant data to the batchbuffer,
then re-emit the packets.  We only need to do the last step (causing
the existing data in the batchbuffer to be re-uploaded to the push
constant staging area in the L3).

Now that we've separated the two, it's pretty easy to accomplish.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/gen7_urb.c
src/mesa/drivers/dri/i965/genX_state_upload.c