i965: Silence compiler warning about promoted_constants.
authorEric Anholt <eric@anholt.net>
Sat, 10 Feb 2018 11:22:53 +0000 (11:22 +0000)
committerEric Anholt <eric@anholt.net>
Fri, 16 Mar 2018 22:09:55 +0000 (15:09 -0700)
commitd25640c3a3b914059abd661f0651d88b4fe408e8
tree04d643b55dbc8a7a5d387c30b0ffe7fef2219a46
parent9f89452ea36327b1a7faefd401784599288c1be0
i965: Silence compiler warning about promoted_constants.

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.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 6411defdcd6f ("intel/cs: Re-run final NIR optimizations for each SIMD size")
src/intel/compiler/brw_fs.cpp