diff options
author | Caio Marcelo de Oliveira Filho <[email protected]> | 2018-09-17 18:31:48 -0700 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2018-09-20 09:58:55 -0700 |
commit | 2567ad28bbbec5750567af0cd9c8a2dd4732f91d (patch) | |
tree | aa2f37cee939a43f6b0af4bea54d57628544de07 /src | |
parent | b01834b56c2b0da4366ec4e780e1d1bc7246c6eb (diff) |
i965: remove outdated comment about TCS passthrough
Since commit 75881bed9e1 "i965: Rework the TCS passthrough shader to
use NIR." the created nir_shader is not dummy, and it is compiled by
the backend like the others.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_tcs.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_tcs.c b/src/mesa/drivers/dri/i965/brw_tcs.c index 53611144ff5..823933ef77f 100644 --- a/src/mesa/drivers/dri/i965/brw_tcs.c +++ b/src/mesa/drivers/dri/i965/brw_tcs.c @@ -167,10 +167,6 @@ brw_codegen_tcs_prog(struct brw_context *brw, struct brw_program *tcp, if (tcp) { nir = tcp->program.nir; } else { - /* Create a dummy nir_shader. We won't actually use NIR code to - * generate assembly (it's easier to generate assembly directly), - * but the whole compiler assumes one of these exists. - */ const nir_shader_compiler_options *options = ctx->Const.ShaderCompilerOptions[MESA_SHADER_TESS_CTRL].NirOptions; nir = create_passthrough_tcs(mem_ctx, compiler, options, key); |