i965/vec4: Do not mark used surfaces in VS_OPCODE_GET_BUFFER_SIZE
authorIago Toral Quiroga <itoral@igalia.com>
Fri, 30 Oct 2015 09:57:47 +0000 (10:57 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Thu, 5 Nov 2015 15:11:52 +0000 (16:11 +0100)
commiteca4c43a33c5c1bb63c8aa9d0506ed2ba3f9d8cb
tree00d9662fe28e78d7c9b18c33e88ceace7e4a7760
parent6105d1d0a02c7eea83b327965713be3bada306f7
i965/vec4: Do not mark used surfaces in VS_OPCODE_GET_BUFFER_SIZE

Do it in the visitor, like we do for other opcodes.

v2: use const, get rid of useless surf_index temporary (Curro)

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/i965/brw_vec4_generator.cpp
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp