mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
tgsi: fix ureg emit after version token change
This commit is contained in:
parent
b7f94c9002
commit
574715d836
1 changed files with 1 additions and 1 deletions
|
|
@ -1053,7 +1053,7 @@ static void copy_instructions( struct ureg_program *ureg )
|
|||
static void
|
||||
fixup_header_size(struct ureg_program *ureg)
|
||||
{
|
||||
union tgsi_any_token *out = retrieve_token( ureg, DOMAIN_DECL, 1 );
|
||||
union tgsi_any_token *out = retrieve_token( ureg, DOMAIN_DECL, 0 );
|
||||
|
||||
out->header.BodySize = ureg->domain[DOMAIN_DECL].count - 3;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue