diff options
author | Marek Olšák <[email protected]> | 2018-02-03 16:10:25 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-02-26 12:01:00 +0100 |
commit | 8d6e6b1d7c9ad73f6d829c6c40ce20a499e334fc (patch) | |
tree | b1eecd961248784e977aad2f02e4f148baa61942 /src/gallium/drivers/radeonsi/si_pipe.h | |
parent | 61d6ff3ba3c0a21239641f4d5fe8d4fa9c864325 (diff) |
radeonsi: don't use struct si_descriptors for vertex buffer descriptors
VBO descriptor code will change a lot one day.
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index 896b640c17f..2053dcb9fcd 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -497,8 +497,12 @@ struct si_context { bool flatshade; bool do_update_shaders; + /* vertex buffer descriptors */ + uint32_t *vb_descriptors_gpu_list; + struct r600_resource *vb_descriptors_buffer; + unsigned vb_descriptors_offset; + /* shader descriptors */ - struct si_descriptors vertex_buffers; struct si_descriptors descriptors[SI_NUM_DESCS]; unsigned descriptors_dirty; unsigned shader_pointers_dirty; |