i965: remove outdated comment about TCS passthrough
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tue, 18 Sep 2018 01:31:48 +0000 (18:31 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Thu, 20 Sep 2018 16:58:55 +0000 (09:58 -0700)
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 <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_tcs.c

index 53611144ff5098060c68fb8a6580e8eb2a63dd15..823933ef77f89c18837138549341b0fd510cbfd9 100644 (file)
@@ -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);