From 38f9954208bcfc337af9283c12528e466cf7e50b Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sun, 7 Jul 2019 16:53:17 -0700 Subject: [PATCH] iris: Drop comments about missing NOS These stages don't need NOS. If they do, we can add it - the infrastructure is there if we need it someday. --- src/gallium/drivers/iris/iris_program.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/gallium/drivers/iris/iris_program.c b/src/gallium/drivers/iris/iris_program.c index f16723caeb0..642d9325488 100644 --- a/src/gallium/drivers/iris/iris_program.c +++ b/src/gallium/drivers/iris/iris_program.c @@ -1967,8 +1967,6 @@ iris_create_tcs_state(struct pipe_context *ctx, struct iris_uncompiled_shader *ish = iris_create_shader_state(ctx, state); struct shader_info *info = &ish->nir->info; - // XXX: NOS? - if (screen->precompile) { const unsigned _GL_TRIANGLES = 0x0004; const struct gen_device_info *devinfo = &screen->devinfo; @@ -2006,8 +2004,6 @@ iris_create_tes_state(struct pipe_context *ctx, struct iris_uncompiled_shader *ish = iris_create_shader_state(ctx, state); struct shader_info *info = &ish->nir->info; - // XXX: NOS? - if (screen->precompile) { const struct gen_device_info *devinfo = &screen->devinfo; struct brw_tes_prog_key key = { @@ -2032,8 +2028,6 @@ iris_create_gs_state(struct pipe_context *ctx, struct iris_screen *screen = (void *) ctx->screen; struct iris_uncompiled_shader *ish = iris_create_shader_state(ctx, state); - // XXX: NOS? - if (screen->precompile) { const struct gen_device_info *devinfo = &screen->devinfo; struct brw_gs_prog_key key = { KEY_INIT(devinfo->gen) }; -- 2.30.2