OSDN Git Service

nir: add support for user defined loop control
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 20 Mar 2019 02:39:36 +0000 (13:39 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 27 Mar 2019 02:39:12 +0000 (02:39 +0000)
commitb56451f82c112600621db985b4a7759f864a54af
tree63d979deeab77600b3111c8e261dea59f5a2cd36
parent6170814c42369002badb9421e75344989907bd08
nir: add support for user defined loop control

This will allow us to make use of the loop control support in
spirv and the GL support provided by EXT_control_flow_attributes.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108841
src/compiler/nir/nir.h
src/compiler/nir/nir_clone.c
src/compiler/nir/nir_opt_loop_unroll.c