mesa: invalidate pipeline status after glUseProgramStages
authorTapani Pälli <tapani.palli@intel.com>
Tue, 8 Dec 2015 17:02:14 +0000 (19:02 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 10 Dec 2015 05:51:40 +0000 (07:51 +0200)
commit2377db2c4e87ad7d418f1f3218b501c1a0cd8373
treee1da648559bb47e6aa560d568c04ff47dea05940
parent21abaad8fe7b5bf78737b9cf009548f41e4777b9
mesa: invalidate pipeline status after glUseProgramStages

This will cause validation to run during next draw, this is done
because possible changes in used stages and programs can cause
invalid pipeline state.

This fixes a subtest in following CTS test:
ES31-CTS.sepshaderobjs.StateInteraction

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/mesa/main/pipelineobj.c