diff options
author | Erik Faye-Lund <[email protected]> | 2018-07-25 17:20:34 +0200 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2018-07-26 09:01:33 +0200 |
commit | e68fe445f514ad9327a4e9ad6a5174b66d69a901 (patch) | |
tree | 715ac21e7a38c541106d7db29055f801ea9dbbb5 /src/gallium/drivers/freedreno/freedreno_context.h | |
parent | ff0d553818c9f6a28f7de109d13afe9b25a802dc (diff) |
gallium: initialize ureg_dst::Invariant bit
When this bit was added, it seems the some initialization code
was omitted by mistake.
Since stack-variables have kinda random contents, and we don't
zero initialize the whole struct in these code-paths, we end up
getting random-ish values for this bit.
Spotted by Coverity in the following CIDs:
- 1438115
- 1438123
- 1438130
Fixes: 70425bcfe63c4e9191809659d019ec4af923595d ("gallium: plumb
invariant output attrib thru TGSI")
Signed-off-by: Erik Faye-Lund <[email protected]>
Reviewed-by: Jakob Bornecrantz <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_context.h')
0 files changed, 0 insertions, 0 deletions