From 5f722bf7c44887d0e17958460a125081d9e8bd83 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sat, 16 Jun 2018 10:15:12 -0700 Subject: [PATCH] iris: remove 4 bytes of padding in iris_compiled_shader --- src/gallium/drivers/iris/iris_context.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/iris/iris_context.h b/src/gallium/drivers/iris/iris_context.h index fae21f44279..7059036a18a 100644 --- a/src/gallium/drivers/iris/iris_context.h +++ b/src/gallium/drivers/iris/iris_context.h @@ -160,15 +160,15 @@ struct iris_compiled_shader { /** Buffer containing the uploaded assembly. */ struct pipe_resource *buffer; - /** Offset where the assembly lives in the BO. */ - unsigned offset; - /** Pointer to the assembly in the BO's map. */ void *map; /** The program data (owned by the program cache hash table) */ struct brw_stage_prog_data *prog_data; + /** Offset where the assembly lives in the BO. */ + unsigned offset; + /** * Shader packets and other data derived from prog_data. These must be * completely determined from prog_data. -- 2.30.2