From: Kenneth Graunke Date: Sat, 16 Jun 2018 17:15:12 +0000 (-0700) Subject: iris: remove 4 bytes of padding in iris_compiled_shader X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f722bf7c44887d0e17958460a125081d9e8bd83;p=mesa.git iris: remove 4 bytes of padding in iris_compiled_shader --- 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.