mesa/st: drop needless has_shader_model3 boolean
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 5 Jul 2019 14:10:49 +0000 (16:10 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 10 Jul 2019 13:49:57 +0000 (15:49 +0200)
commitffbd0046863add97bb4ef9250abd4d4dc1639e4b
tree16643206eb0ff7264d0218fc6987dcc6f2497541
parentaf2949e928c6ec06b6a66f127299ddb8254700b0
mesa/st: drop needless has_shader_model3 boolean

This boolean is only consulted once during init, so there's nothing
much saved by storing this in the context. So let's just check directly
when we need it instead.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_context.c
src/mesa/state_tracker/st_context.h