OSDN Git Service

i965: Fix compiler warning about write being undefined.
authorEric Anholt <eric@anholt.net>
Sat, 10 Feb 2018 11:19:00 +0000 (11:19 +0000)
committerEric Anholt <eric@anholt.net>
Wed, 21 Feb 2018 04:23:57 +0000 (20:23 -0800)
commitafa7b2f19975f45234637f47859fdd768551a080
treeaad831af7eab7efaf544182c68be49bb5a33c960
parent4636ce362d4defc70a2b40cab1f52d1c890f5673
i965: Fix compiler warning about write being undefined.

This looks like it should be protected by the assume() about
nr_color_regions, but my compiler warns anyway.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/compiler/brw_fs.cpp