diff options
author | Jason Ekstrand <[email protected]> | 2019-08-23 15:33:24 -0500 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-08-25 01:02:52 -0500 |
commit | f58e0405b6ca15d9b82122d82311e8b82f4a0939 (patch) | |
tree | 4dfa20043f16cf2d9663c86129b6b68fe31c2531 /src/intel/compiler/brw_shader.cpp | |
parent | 5ff41b9fc5ed2298b70772666573ad47418d12fd (diff) |
intel/fs: Drop the gl_program from fs_visitor
It's not used by anything anymore now that so much lowering has been
moved into NIR. Sadly, we still need on in brw_compile_gs() for
geometry shaders on Sandy Bridge. Short of a lot of pointless work,
that one's probably not going away.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_shader.cpp')
-rw-r--r-- | src/intel/compiler/brw_shader.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/intel/compiler/brw_shader.cpp b/src/intel/compiler/brw_shader.cpp index ba801c94eb2..1a414cf9d12 100644 --- a/src/intel/compiler/brw_shader.cpp +++ b/src/intel/compiler/brw_shader.cpp @@ -1233,7 +1233,6 @@ brw_compile_tes(const struct brw_compiler *compiler, const struct brw_vue_map *input_vue_map, struct brw_tes_prog_data *prog_data, nir_shader *nir, - struct gl_program *prog, int shader_time_index, struct brw_compile_stats *stats, char **error_str) @@ -1324,7 +1323,7 @@ brw_compile_tes(const struct brw_compiler *compiler, if (is_scalar) { fs_visitor v(compiler, log_data, mem_ctx, &key->base, - &prog_data->base.base, NULL, nir, 8, + &prog_data->base.base, nir, 8, shader_time_index, input_vue_map); if (!v.run_tes()) { if (error_str) |