mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
i965: Fix stale comments about the state cache.
This changed in the state streaming work years ago. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
ccf7878126
commit
a6af5602af
2 changed files with 9 additions and 2 deletions
|
|
@ -97,7 +97,7 @@ brw_fix_xRGB_alpha(GLenum function)
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates the state cache entry for the given CC unit key.
|
||||
* Creates a CC unit packet from the current blend state.
|
||||
*/
|
||||
static void upload_cc_unit(struct brw_context *brw)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -230,7 +230,14 @@ struct brw_state_flags {
|
|||
* State update flags signalled as the result of brw_tracked_state updates
|
||||
*/
|
||||
GLuint brw;
|
||||
/** State update flags signalled by brw_state_cache.c searches */
|
||||
/**
|
||||
* State update flags that used to be signalled by brw_state_cache.c
|
||||
* searches.
|
||||
*
|
||||
* Now almost all of that state is just streamed out on demand, but the
|
||||
* flags for those state blobs updating have stayed in the same bitfield.
|
||||
* brw_state_cache.c still flags CACHE_NEW_*_PROG.
|
||||
*/
|
||||
GLuint cache;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue