nir: Add some notes about const/uniform array access rules in GL.
authorEmma Anholt <emma@anholt.net>
Mon, 1 Nov 2021 16:32:03 +0000 (09:32 -0700)
committerMarge Bot <emma+marge@anholt.net>
Wed, 16 Feb 2022 20:06:21 +0000 (20:06 +0000)
commit3f4bfecee6d639bbe17097c34131c39eaac6e696
treeac98bb6c6c6ea70cc3166cbd88024f9175d8d2b5
parentca1ec7272685bdadd4e339cb989ac503db0abd18
nir: Add some notes about const/uniform array access rules in GL.

I was doing some RE on freedreno and we had some questions about when the
hardware might need non-uniform or non-constant array access for various
descriptor types, so let's leave some notes for the next person.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13621>
src/compiler/nir/nir.h
src/compiler/nir/nir_intrinsics.py
src/compiler/shader_enums.h