st/mesa: add layer_offset to PBO fragment shader
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 18 May 2016 04:45:24 +0000 (23:45 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 1 Jun 2016 20:37:43 +0000 (22:37 +0200)
commit1cb4be94ae1b0ba83a941e707e962110c44b3f1a
tree91877b0169740285a472a5783dbc329883442c5e
parent2bf6dfac8a090fb4a97441cfacdb78b141a3de3a
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 <brianp@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_pbo.c
src/mesa/state_tracker/st_pbo.h