i965/vs: Move lazy NIR creation to codegen_vs_prog
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 30 Sep 2015 23:06:43 +0000 (16:06 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 2 Oct 2015 21:19:38 +0000 (14:19 -0700)
commitfc3f45234b4ff9545c84fbe8ec5261604d5ab611
tree777ec4944356afa89cd0abd52bcab7bf9df94d7c
parent64b145422b928bed75d3665e4149a323b7208470
i965/vs: Move lazy NIR creation to codegen_vs_prog

The next commit will add code to codegen_vs_prog that requires the NIR
shader to be there in all cases.  It doesn't hurt anything to just move it
from brw_vs_emit to its only caller.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/drivers/dri/i965/brw_vec4.cpp
src/mesa/drivers/dri/i965/brw_vs.c