i965/vec4: Port regions_overlap() to the vec4 IR.

Graphics / Mesa 3D Graphics Library / Mesa - Francisco Jerez [riseup.net] - 14 September 2016 16:50 UTC

This is copy-pasted almost line by line from the FS back-end. The only reason it cannot be implemented in terms of backend_reg is that the backend_reg::nr field doesn't have the same meaning for uniforms on both back-ends. It could be easily deduplicated by using a template function.

56bcb22 i965/vec4: Port regions_overlap() to the vec4 IR.
src/mesa/drivers/dri/i965/brw_ir_vec4.h | 62 +++++++++++++++++++++++++++++--
1 file changed, 58 insertions(+), 4 deletions(-)

Upstream: cgit.freedesktop.org


  • Share