st/mesa: call check_program_state only when needed
authorMarek Olšák <marek.olsak@amd.com>
Wed, 7 Jun 2017 21:06:09 +0000 (23:06 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 12 Jun 2017 16:24:37 +0000 (18:24 +0200)
commit0d62e8a727cfd3327e21fdda1a3e95a81e2c7f0b
tree4c9e41416366f438c12dc76a640a59016e055eb1
parent9a22c8561859edf6edc7641be1a0973792293941
st/mesa: call check_program_state only when needed

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_atom.c