From f58e0405b6ca15d9b82122d82311e8b82f4a0939 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 23 Aug 2019 15:33:24 -0500 Subject: 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 --- src/intel/vulkan/anv_pipeline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/intel/vulkan') diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c index 6d705b88e08..05dc54960ef 100644 --- a/src/intel/vulkan/anv_pipeline.c +++ b/src/intel/vulkan/anv_pipeline.c @@ -878,7 +878,7 @@ anv_pipeline_compile_tes(const struct brw_compiler *compiler, &tes_stage->key.tes, &tcs_stage->prog_data.tcs.base.vue_map, &tes_stage->prog_data.tes, - tes_stage->nir, NULL, -1, + tes_stage->nir, -1, tes_stage->stats, NULL); } @@ -1043,7 +1043,7 @@ anv_pipeline_compile_fs(const struct brw_compiler *compiler, fs_stage->code = brw_compile_fs(compiler, device, mem_ctx, &fs_stage->key.wm, &fs_stage->prog_data.wm, - fs_stage->nir, NULL, -1, -1, -1, + fs_stage->nir, -1, -1, -1, true, false, NULL, fs_stage->stats, NULL); -- cgit v1.2.3