OSDN Git Service

st/mesa: stop initialing Instructions and NumInstructions
authorTimothy Arceri <timothy.arceri@collabora.com>
Wed, 16 Nov 2016 23:51:19 +0000 (10:51 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 17 Nov 2016 01:52:59 +0000 (12:52 +1100)
commitd6bdb3a86293da2164e9355f0262ef83afeece7f
treecd8d2105639c3191f3f660a954b2a92e3ed50124
parent0ad69e6b51b06c483db37c3b7eeb1da1a95d0629
st/mesa: stop initialing Instructions and NumInstructions

Since gl_program is now created with rzalloc() they should
already be initialised.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/mesa/state_tracker/st_glsl_to_nir.cpp
src/mesa/state_tracker/st_glsl_to_tgsi.cpp