Indexing into an array of textures requires a dynamically uniform expression
sample() involves an implicit derivative, and so requires uniform control flow
The following functions require uniform control flow:
Indexing into an array which contains textures requires dynamically uniform expressions. I think that's the only operation.
I suppose this is done now.
Migrated to https://github.com/gpuweb/WHLSL/issues/58