i965: get outputs_written from gl_program
authorTimothy Arceri <timothy.arceri@collabora.com>
Fri, 18 Nov 2016 05:46:27 +0000 (16:46 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 19 Jan 2017 06:05:26 +0000 (17:05 +1100)
commit4cd709e2bcea479a723b4741de59b448b1c6c48f
tree45b82f26ed939fae13889c64408d8e4abe0d4480
parentef71b867ee152d8161a8c7320e89843801236249
i965: get outputs_written from gl_program

There is no need to go via the pointer in nir_shader. This change
is required for the shader cache as we don't create a nir_shader.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/mesa/drivers/dri/i965/brw_vs.c