Re: [Mesa-dev] [PATCH v4] i965: Prevent coverity warning

2017-02-01 Thread Eric Engestrom
On Wednesday, 2017-02-01 11:24:39 -0500, Robert Foss wrote: > Add assert checking that num_sources is never larger than 3. > > This prevents Coverity from concluding that the unhandled > cases of num_sources not being 0-3 are relevant. > > Coverity-Id: 1399480-1399489 > Signed-off-by: Robert

[Mesa-dev] [PATCH v4] i965: Prevent coverity warning

2017-02-01 Thread Robert Foss
Add assert checking that num_sources is never larger than 3. This prevents Coverity from concluding that the unhandled cases of num_sources not being 0-3 are relevant. Coverity-Id: 1399480-1399489 Signed-off-by: Robert Foss Reviewed-by: Anuj Phogat