summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-07-16 16:21:41 -0700
committerKenneth Graunke <[email protected]>2019-02-21 10:26:07 -0800
commit48b826cdaf56253d9c380ef42ad8ac927944eb4b (patch)
tree0fc53c1eb5a5033571a73bc064c81f7f09d6a427
parentaeb6fc8782a39544d1547e1b0a3f379a8be2b3aa (diff)
iris: s/hwcso/state/g
-rw-r--r--src/gallium/drivers/iris/iris_program.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/gallium/drivers/iris/iris_program.c b/src/gallium/drivers/iris/iris_program.c
index f4ad1fceb38..5ac582955f7 100644
--- a/src/gallium/drivers/iris/iris_program.c
+++ b/src/gallium/drivers/iris/iris_program.c
@@ -74,62 +74,62 @@ iris_create_shader_state(struct pipe_context *ctx,
}
static void
-iris_delete_shader_state(struct pipe_context *ctx, void *hwcso)
+iris_delete_shader_state(struct pipe_context *ctx, void *state)
{
- struct iris_uncompiled_shader *ish = hwcso;
+ struct iris_uncompiled_shader *ish = state;
ralloc_free(ish->base.ir.nir);
free(ish);
}
static void
-iris_bind_vs_state(struct pipe_context *ctx, void *hwcso)
+iris_bind_vs_state(struct pipe_context *ctx, void *state)
{
struct iris_context *ice = (struct iris_context *)ctx;
- ice->shaders.uncompiled[MESA_SHADER_VERTEX] = hwcso;
+ ice->shaders.uncompiled[MESA_SHADER_VERTEX] = state;
ice->state.dirty |= IRIS_DIRTY_UNCOMPILED_VS;
}
static void
-iris_bind_tcs_state(struct pipe_context *ctx, void *hwcso)
+iris_bind_tcs_state(struct pipe_context *ctx, void *state)
{
struct iris_context *ice = (struct iris_context *)ctx;
- ice->shaders.uncompiled[MESA_SHADER_TESS_CTRL] = hwcso;
+ ice->shaders.uncompiled[MESA_SHADER_TESS_CTRL] = state;
ice->state.dirty |= IRIS_DIRTY_UNCOMPILED_TCS;
}
static void
-iris_bind_tes_state(struct pipe_context *ctx, void *hwcso)
+iris_bind_tes_state(struct pipe_context *ctx, void *state)
{
struct iris_context *ice = (struct iris_context *)ctx;
- if (!!hwcso != !!ice->shaders.uncompiled[MESA_SHADER_TESS_EVAL])
+ if (!!state != !!ice->shaders.uncompiled[MESA_SHADER_TESS_EVAL])
ice->state.dirty |= IRIS_DIRTY_URB;
- ice->shaders.uncompiled[MESA_SHADER_TESS_EVAL] = hwcso;
+ ice->shaders.uncompiled[MESA_SHADER_TESS_EVAL] = state;
ice->state.dirty |= IRIS_DIRTY_UNCOMPILED_TES;
}
static void
-iris_bind_gs_state(struct pipe_context *ctx, void *hwcso)
+iris_bind_gs_state(struct pipe_context *ctx, void *state)
{
struct iris_context *ice = (struct iris_context *)ctx;
- if (!!hwcso != !!ice->shaders.uncompiled[MESA_SHADER_GEOMETRY])
+ if (!!state != !!ice->shaders.uncompiled[MESA_SHADER_GEOMETRY])
ice->state.dirty |= IRIS_DIRTY_URB;
- ice->shaders.uncompiled[MESA_SHADER_GEOMETRY] = hwcso;
+ ice->shaders.uncompiled[MESA_SHADER_GEOMETRY] = state;
ice->state.dirty |= IRIS_DIRTY_UNCOMPILED_GS;
}
static void
-iris_bind_fs_state(struct pipe_context *ctx, void *hwcso)
+iris_bind_fs_state(struct pipe_context *ctx, void *state)
{
struct iris_context *ice = (struct iris_context *)ctx;
- ice->shaders.uncompiled[MESA_SHADER_FRAGMENT] = hwcso;
+ ice->shaders.uncompiled[MESA_SHADER_FRAGMENT] = state;
ice->state.dirty |= IRIS_DIRTY_UNCOMPILED_FS;
}