anv: Move clamp_int64() inside the IVB check
authorMatt Turner <mattst88@gmail.com>
Fri, 7 Jul 2017 04:20:15 +0000 (21:20 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 21 Aug 2017 21:45:44 +0000 (14:45 -0700)
commit76f36607b06cec7e18df361a3e644687d3eb80ac
treebfe0199882f78fe90991f3ad94116b031f4025b8
parentee2f7aa03b650c95eda8957abd750e53ede34c33
anv: Move clamp_int64() inside the IVB check

It's only used in the gen7_cmd_buffer_emit_scissor() function.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/intel/vulkan/gen7_cmd_buffer.c