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

2017-01-31 Thread Anuj Phogat
On Tue, Jan 31, 2017 at 6:46 AM, Robert Foss wrote: > Add assert checking that num_sources is never larger than 3. > > This prevents Coverity from concluding that the improperly handled > cases of num_sources not being 0-3 are relevant. > You may change "improperly

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

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