Re: [Mesa-dev] [PATCH 3/4] i965: Silence compiler warning about promoted_constants.

2018-03-13 Thread Lionel Landwerlin
On 13/03/18 17:38, Eric Anholt wrote: We only have a cfg != NULL if we went through one of the paths that set it, but my compiler doesn't figure that out. Cc: Jason Ekstrand Reviewed-by: Lionel Landwerlin Fixes: 6411defdcd6f

[Mesa-dev] [PATCH 3/4] i965: Silence compiler warning about promoted_constants.

2018-03-13 Thread Eric Anholt
We only have a cfg != NULL if we went through one of the paths that set it, but my compiler doesn't figure that out. Cc: Jason Ekstrand Fixes: 6411defdcd6f ("intel/cs: Re-run final NIR optimizations for each SIMD size") --- src/intel/compiler/brw_fs.cpp | 2 +- 1 file