anv/cmd_buffer: Simplify range member assignment
authorNanley Chery <nanley.g.chery@intel.com>
Tue, 12 Jul 2016 15:10:18 +0000 (08:10 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Fri, 15 Jul 2016 17:35:40 +0000 (10:35 -0700)
commit96c664cd03aa59adfecb0478c192097ab07c42d6
tree6c350e43412cbc201f43dfe8eef3f00e2b5c5f48
parent1a7344531f133edf879652689d0d739507a08fad
anv/cmd_buffer: Simplify range member assignment

A ternary is clearer because the range member is assigned one of two values
dependant on one condition.

Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_cmd_buffer.c