summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-04-02 02:13:12 +0200
committerMarek Olšák <[email protected]>2017-04-04 11:14:43 +0200
commite6428092f5e1f5e2dc59601487096fd0ebb3ba6c (patch)
tree5ad753c6ad615622caa14cd3d52e911e1bf92ce2 /src/gallium/drivers
parent3dfe61ed6ec6773c2373ec7a139b7dfe794f60c8 (diff)
gallium: decrease the size of pipe_resource - 64 -> 48 bytes
Some other changes needed here. Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/rbug/rbug_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/rbug/rbug_core.c b/src/gallium/drivers/rbug/rbug_core.c
index 64c2d63a789..82bcef8d03b 100644
--- a/src/gallium/drivers/rbug/rbug_core.c
+++ b/src/gallium/drivers/rbug/rbug_core.c
@@ -205,7 +205,7 @@ rbug_texture_info(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_
struct rbug_proto_texture_info *gpti = (struct rbug_proto_texture_info *)header;
struct rbug_list *ptr;
struct pipe_resource *t;
- unsigned num_layers;
+ uint16_t num_layers;
mtx_lock(&rb_screen->list_mutex);
foreach(ptr, &rb_screen->resources) {