nir: Add a structured flag to nir_shader
authorKarol Herbst <kherbst@redhat.com>
Wed, 23 Oct 2019 18:42:40 +0000 (20:42 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 14 Aug 2020 20:35:36 +0000 (20:35 +0000)
commit4768ea1a77ad7559004949d0cf1eb7af9a4499d9
tree8115007d722e7f7da0f18a92dde85cd82250949b
parent19f35735a09546f630a92780cdeb2cc9ad08bad8
nir: Add a structured flag to nir_shader

v2 (Jason Ekstrand):
 - Make "structured" a property of nir_function_impl not nir_shader
 - More validation and asserts

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2401>
src/compiler/nir/nir.c
src/compiler/nir/nir.h
src/compiler/nir/nir_serialize.c
src/compiler/nir/nir_validate.c