diff options
author | Matt Turner <[email protected]> | 2016-10-17 14:10:26 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2019-07-30 14:35:43 -0700 |
commit | dabb5d4bee0705deba29e96725b6f8a63943c28e (patch) | |
tree | 591fdc4ea3f0a8e324b633b836858bc4ea8091ee /src/intel/compiler/brw_vec4_tcs.cpp | |
parent | 11a49f289d17128c24dd9aa339b940b819cb7e41 (diff) |
i965/fs: Add a shader_stats struct.
It'll grow further, and we'd like to avoid adding an additional
parameter to fs_generator() for each new piece of data.
v2 (idr): Rebase on 17 months. Track a visitor instead of a cfg.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_vec4_tcs.cpp')
-rw-r--r-- | src/intel/compiler/brw_vec4_tcs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_vec4_tcs.cpp b/src/intel/compiler/brw_vec4_tcs.cpp index a107a9b6630..712766ca89a 100644 --- a/src/intel/compiler/brw_vec4_tcs.cpp +++ b/src/intel/compiler/brw_vec4_tcs.cpp @@ -487,7 +487,7 @@ brw_compile_tcs(const struct brw_compiler *compiler, prog_data->base.base.dispatch_grf_start_reg = v.payload.num_regs; fs_generator g(compiler, log_data, mem_ctx, - &prog_data->base.base, v.promoted_constants, false, + &prog_data->base.base, v.shader_stats, false, MESA_SHADER_TESS_CTRL); if (unlikely(INTEL_DEBUG & DEBUG_TCS)) { g.enable_debug(ralloc_asprintf(mem_ctx, |