pan/midgard: Identify stack barrier flag
In case thread local storage is used. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3835>
This commit is contained in:
@@ -1336,6 +1336,9 @@ print_texture_barrier(FILE *fp, uint32_t *word)
|
||||
if (barrier->shared)
|
||||
fprintf(fp, " | shared");
|
||||
|
||||
if (barrier->stack)
|
||||
fprintf(fp, " | stack");
|
||||
|
||||
fprintf(fp, "\n");
|
||||
}
|
||||
|
||||
|
||||
@@ -718,8 +718,9 @@ __attribute__((__packed__))
|
||||
* textures, these bits are not yet understood. */
|
||||
unsigned barrier_buffer : 1;
|
||||
unsigned barrier_shared : 1;
|
||||
unsigned barrier_stack : 1;
|
||||
|
||||
unsigned unknown4 : 10;
|
||||
unsigned unknown4 : 9;
|
||||
|
||||
/* In immediate mode, each offset field is an immediate range [0, 7].
|
||||
*
|
||||
@@ -791,7 +792,8 @@ __attribute__((__packed__))
|
||||
unsigned zero3 : 24;
|
||||
unsigned buffer : 1;
|
||||
unsigned shared : 1;
|
||||
unsigned zero4 : 6;
|
||||
unsigned stack : 1;
|
||||
unsigned zero4 : 5;
|
||||
|
||||
uint64_t zero5;
|
||||
} midgard_texture_barrier_word;
|
||||
|
||||
Reference in New Issue
Block a user