summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_pbo.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2016-05-17 23:45:24 -0500
committerNicolai Hähnle <[email protected]>2016-06-01 22:37:43 +0200
commit1cb4be94ae1b0ba83a941e707e962110c44b3f1a (patch)
tree91877b0169740285a472a5783dbc329883442c5e /src/mesa/state_tracker/st_pbo.h
parent2bf6dfac8a090fb4a97441cfacdb78b141a3de3a (diff)
st/mesa: add layer_offset to PBO fragment shader
This will be used to select a slice of a 3D texture. v2: fix a comment (Marek) Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_pbo.h')
-rw-r--r--src/mesa/state_tracker/st_pbo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_pbo.h b/src/mesa/state_tracker/st_pbo.h
index c17ac1702e3..14ae6ba23e6 100644
--- a/src/mesa/state_tracker/st_pbo.h
+++ b/src/mesa/state_tracker/st_pbo.h
@@ -54,6 +54,7 @@ struct st_pbo_addresses {
int32_t yoffset;
int32_t stride;
int32_t image_size;
+ int32_t layer_offset;
} constants;
};