summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-09-11 21:33:00 -0700
committerKenneth Graunke <[email protected]>2019-09-11 21:33:41 -0700
commit6a82a374b4a97298a5f7f0e444fd28610f708332 (patch)
tree3d788e106fc0c288156e9e76ae6b0fc3137130e0 /src/gallium/drivers
parent3690a53608a62d7ce3b10ab90366ad367a5c2efe (diff)
iris: trivial whitespace fixes
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/iris/iris_program.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/iris/iris_program.c b/src/gallium/drivers/iris/iris_program.c
index bf409e5cd9c..9eb7a47e1f1 100644
--- a/src/gallium/drivers/iris/iris_program.c
+++ b/src/gallium/drivers/iris/iris_program.c
@@ -1564,11 +1564,11 @@ iris_compile_fs(struct iris_context *ice,
static void
iris_update_compiled_fs(struct iris_context *ice)
{
+ struct iris_screen *screen = (struct iris_screen *)ice->ctx.screen;
+ const struct gen_device_info *devinfo = &screen->devinfo;
struct iris_shader_state *shs = &ice->state.shaders[MESA_SHADER_FRAGMENT];
struct iris_uncompiled_shader *ish =
ice->shaders.uncompiled[MESA_SHADER_FRAGMENT];
- struct iris_screen *screen = (struct iris_screen *)ice->ctx.screen;
- const struct gen_device_info *devinfo = &screen->devinfo;
struct brw_wm_prog_key key = { KEY_INIT(devinfo->gen) };
ice->vtbl.populate_fs_key(ice, &ish->nir->info, &key);