Mesa (master): iris: trivial whitespace fixes

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Sep 12 04:33:55 UTC 2019


Module: Mesa
Branch: master
Commit: 6a82a374b4a97298a5f7f0e444fd28610f708332
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a82a374b4a97298a5f7f0e444fd28610f708332

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Sep 11 21:33:00 2019 -0700

iris: trivial whitespace fixes

---

 src/gallium/drivers/iris/iris_program.c | 4 ++--
 1 file 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);
 




More information about the mesa-commit mailing list