[Mesa-dev] [PATCH 02/53] i965: stop depending on gl_shader_program for brw_compute_vue_map() params
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Tue Jan 3 11:33:52 UTC 2017
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
On 03/01/17 02:43, Timothy Arceri wrote:
> This removes another dependency on gl_shader_program from the codegen functions,
> this will help allow us to use gl_program for the CurrentProgram array rather
> than gl_shader_program.
> ---
> src/mesa/drivers/dri/i965/brw_gs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_gs.c b/src/mesa/drivers/dri/i965/brw_gs.c
> index 76ceb5b..7886737 100644
> --- a/src/mesa/drivers/dri/i965/brw_gs.c
> +++ b/src/mesa/drivers/dri/i965/brw_gs.c
> @@ -134,7 +134,7 @@ brw_codegen_gs_prog(struct brw_context *brw,
>
> brw_compute_vue_map(devinfo,
> &prog_data.base.vue_map, outputs_written,
> - prog->SeparateShader);
> + gp->program.info.separate_shader);
>
> int st_index = -1;
> if (INTEL_DEBUG & DEBUG_SHADER_TIME)
More information about the mesa-dev
mailing list