From 1cb4be94ae1b0ba83a941e707e962110c44b3f1a Mon Sep 17 00:00:00 2001 From: Nicolai Hähnle Date: Tue, 17 May 2016 23:45:24 -0500 Subject: st/mesa: add layer_offset to PBO fragment shader MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This will be used to select a slice of a 3D texture. v2: fix a comment (Marek) Reviewed-by: Brian Paul Reviewed-by: Marek Olšák --- src/mesa/state_tracker/st_pbo.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/state_tracker/st_pbo.h') 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; }; -- cgit v1.2.3