intel/compiler: Rearrange code to avoid future problems
authorMatt Turner <mattst88@gmail.com>
Wed, 12 Dec 2018 06:04:42 +0000 (22:04 -0800)
committerMatt Turner <mattst88@gmail.com>
Thu, 10 Jan 2019 00:42:41 +0000 (16:42 -0800)
commit2b801b66686ec893d1335c971724deb5a624c76f
tree4e12c2f5a9e13358810f6cbd1d320f223dd0a802
parent3b967e172456ccb876974fb17aae39d0c6c743e0
intel/compiler: Rearrange code to avoid future problems

A follow on commit will move nr to the same union as the immediate
data, so we should assert these invariants before we overwrite the nr
field.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_fs_combine_constants.cpp