mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 12:50:10 +01:00
965: magic callback to get buffer offset
This commit is contained in:
parent
81c9058ea9
commit
a6ae4ea854
1 changed files with 9 additions and 0 deletions
|
|
@ -95,6 +95,8 @@ enum brw_cache_id {
|
|||
BRW_MAX_CACHE
|
||||
};
|
||||
|
||||
#define BRW_CONSTANT_BUFFER BRW_MAX_CACHE
|
||||
|
||||
/**
|
||||
* Additional winsys interface for i965simple.
|
||||
*
|
||||
|
|
@ -164,6 +166,13 @@ struct brw_winsys {
|
|||
unsigned data_type);
|
||||
|
||||
|
||||
/* A cheat so we don't have to think about relocations in a couple
|
||||
* of places yet:
|
||||
*/
|
||||
unsigned (*get_buffer_offset)( struct brw_winsys *sws,
|
||||
struct pipe_buffer_handle *buf,
|
||||
unsigned flags );
|
||||
|
||||
};
|
||||
|
||||
#define BRW_BUFFER_ACCESS_WRITE 0x1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue