diff options
author | Timothy Arceri <[email protected]> | 2016-11-04 16:04:01 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-01-06 11:21:42 +1100 |
commit | 6e3f6097c995a74d4ce52f542413b01ff819c203 (patch) | |
tree | 30652be684fd54fe88c8a81e751fcf3a02c32c58 /src/mesa/drivers/dri/i965/brw_program.c | |
parent | 5ceedefd6c32fa31e6a35831a8a7a315e009ccc3 (diff) |
i965: stop passing gl_shader_program to the precompile and codegen functions
We no longer need it.
While we are at it we mark the vs, gs, and wm codegen functions as static.
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_program.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_program.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_program.c b/src/mesa/drivers/dri/i965/brw_program.c index 93b29749b28..c8fb3fa4c7f 100644 --- a/src/mesa/drivers/dri/i965/brw_program.c +++ b/src/mesa/drivers/dri/i965/brw_program.c @@ -212,7 +212,7 @@ brwProgramStringNotify(struct gl_context *ctx, prog->nir = brw_create_nir(brw, NULL, prog, MESA_SHADER_FRAGMENT, true); - brw_fs_precompile(ctx, NULL, prog); + brw_fs_precompile(ctx, prog); break; } case GL_VERTEX_PROGRAM_ARB: { @@ -236,7 +236,7 @@ brwProgramStringNotify(struct gl_context *ctx, prog->nir = brw_create_nir(brw, NULL, prog, MESA_SHADER_VERTEX, compiler->scalar_stage[MESA_SHADER_VERTEX]); - brw_vs_precompile(ctx, NULL, prog); + brw_vs_precompile(ctx, prog); break; } default: |