i965/fs: Don't pass ir_variable * to emit_sampleid_setup().
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 17 Oct 2014 19:59:18 +0000 (12:59 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 17 Oct 2014 20:03:18 +0000 (13:03 -0700)
commitffe582aa2076bc06f9d06e36287bdded45ab5b98
treeedf08f0835fb4a41cc1cf493d7ab4ecbc0134a5f
parent9ebfb3014ea6d2bde9d4322f2537f21be97b280b
i965/fs: Don't pass ir_variable * to emit_sampleid_setup().

gl_SampleID is a built-in variable that always is of type "int".

Suggested by Connor Abbott.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp