mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
i965/fs: Have component() set the register stride to zero.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
4171ef371a
commit
ee1a8b5a8c
1 changed files with 1 additions and 0 deletions
|
|
@ -156,6 +156,7 @@ component(fs_reg reg, unsigned idx)
|
|||
assert(idx < reg.width);
|
||||
reg.subreg_offset = idx * type_sz(reg.type);
|
||||
reg.width = 1;
|
||||
reg.stride = 0;
|
||||
return reg;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue