i965: Get rid of KSP_ro
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 3 Aug 2017 07:33:47 +0000 (00:33 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 8 Aug 2017 21:26:24 +0000 (14:26 -0700)
commit2a0b3c781c3a96d843ea39472a6356eee2364301
treeae2e408acf451210890186e81eabf7c210dd3f56
parentc12c2e40a36f707f733c0d6ad90160472b7a3cf6
i965: Get rid of KSP_ro

The GPU reads the shader kernel from the program cache BO.  It never
writes it, so using a read-write BO reference makes no sense.

Just make KSP read-only, and drop KSP_ro.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/i965/genX_state_upload.c