clover: Use switch when creating kernel arguments.
authorJan Vesely <jan.vesely@rutgers.edu>
Sat, 6 Dec 2014 00:05:30 +0000 (19:05 -0500)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 10 Dec 2014 13:48:20 +0000 (15:48 +0200)
commit3a18fc60581ad27811b0b4b22fce51da0ae8a008
tree5a1b3db2670cede7284d36f0e0a7c5b6291f6956
parent7f21cf71989ba780639594ebb34d6e7345b08436
clover: Use switch when creating kernel arguments.

This way we get a warning if an enum value is not handled.

v2: codestyle

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/state_trackers/clover/core/kernel.cpp