diff options
author | Pierre Moreau <[email protected]> | 2017-05-12 11:01:32 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-05-13 16:26:09 +0200 |
commit | 840f6beb81a5b51d782d54e9064af0ba193b221a (patch) | |
tree | 909a50dde581228c991464f41ec25e932d3fd2ce /src/gallium/drivers/nouveau/nouveau_screen.c | |
parent | 812ff333bf266e848ad0473d2ca1deb83c09c4d3 (diff) |
nv50/ir: Report wrong prog types using proper var
Coverity caught the use of the uninitialised variable `type`.
However, it was `info->type`, which is initialised, which was meant to
be used.
CID: 1406000
Reported-by: Ilia Mirkin <[email protected]>
Fixes: b490ca9a387d ("nv50/ir: Fail if encountering unknown shader type")
Signed-off-by: Pierre Moreau <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_screen.c')
0 files changed, 0 insertions, 0 deletions