diff options
author | Chia-I Wu <[email protected]> | 2014-09-28 00:41:42 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2014-09-30 16:41:31 +0800 |
commit | 343b014b57ecc5431477e090100e6a26edbda540 (patch) | |
tree | 1d375a3baabd41c00dd7836f9ca45c79084a161f /src/gallium/drivers/ilo/ilo_blitter.h | |
parent | 46537f1d03ba6de83be70ac574f633bb4342a327 (diff) |
ilo: use dynamic bo for rectlist vertices
The size is always 24 bytes. We can upload them to the dynamic buffer.
Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_blitter.h')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_blitter.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gallium/drivers/ilo/ilo_blitter.h b/src/gallium/drivers/ilo/ilo_blitter.h index 1c36e361a76..4284f415c1c 100644 --- a/src/gallium/drivers/ilo/ilo_blitter.h +++ b/src/gallium/drivers/ilo/ilo_blitter.h @@ -62,13 +62,8 @@ struct ilo_blitter { bool initialized; - struct { - struct pipe_resource *res; - unsigned offset, size; - } buffer; - + float vertices[3][2]; struct ilo_ve_state ve; - struct ilo_vb_state vb; struct pipe_draw_info draw; struct ilo_viewport_cso viewport; |