i965/fs: Use type-W for immediate in SampleID setup.
authorMatt Turner <mattst88@gmail.com>
Wed, 21 Oct 2015 00:51:12 +0000 (17:51 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 22 Oct 2015 19:26:49 +0000 (12:26 -0700)
commite10fc055e7dc5281f03a77088a24392098e3473b
tree6729280306014c76e036ac1ce24976f56ca31448
parentcfb67c3d0656927270302ef17d2d9de065ec44fe
i965/fs: Use type-W for immediate in SampleID setup.

Not a functional difference, but register is loaded with a signed
immediate (V) and added to a signed type (D) producing a signed result
(D).

Also change the type of g0 to allow for compaction.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs_generator.cpp