[Mesa-dev] [PATCH 12/17] i965/vs: Rework vs_emit to take a nir_shader and a brw_compiler

2015-10-10 Thread Jason Ekstrand
This commit removes all dependence on GL state by getting rid of the brw_context parameter and the GL data structures. --- src/mesa/drivers/dri/i965/brw_vec4.cpp | 67 +- src/mesa/drivers/dri/i965/brw_vs.c | 14 ++- src/mesa/drivers/dri/i965/brw_vs.h |

[Mesa-dev] [PATCH 12/17] i965/vs: Rework vs_emit to take a nir_shader and a brw_compiler

2015-10-08 Thread Jason Ekstrand
This commit removes all dependence on GL state by getting rid of the brw_context parameter and the GL data structures. --- src/mesa/drivers/dri/i965/brw_vec4.cpp | 67 +- src/mesa/drivers/dri/i965/brw_vs.c | 14 ++- src/mesa/drivers/dri/i965/brw_vs.h |