diff options
author | Marek Olšák <[email protected]> | 2015-02-01 16:58:08 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-02-04 14:34:13 +0100 |
commit | b142dd2f2474af6479016d5fb5e87b0da015115c (patch) | |
tree | 9b989c89252593ae900236b22eecf8b6cec6ab51 /src/gallium/drivers/radeonsi/si_pipe.h | |
parent | afe1e6acdd7f430b0be4f0bd5af3b1c0dbf6e453 (diff) |
radeonsi: move the buffer descriptor to the end of the image descriptor
This will allow supporting NULL textures.
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index b88f1542c5e..d2edcdf8ea7 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -90,6 +90,8 @@ struct si_sampler_view { struct pipe_sampler_view base; struct list_head list; struct r600_resource *resource; + /* [0..7] = image descriptor + * [4..7] = buffer descriptor */ uint32_t state[8]; uint32_t fmask_state[8]; }; |