r600/sfn: handle querying the number of layers in cube arrays
authorGert Wollny <gert.wollny@collabora.com>
Sun, 28 Feb 2021 19:15:56 +0000 (20:15 +0100)
committerGert Wollny <gert.wollny@collabora.com>
Tue, 2 Mar 2021 17:46:17 +0000 (18:46 +0100)
commitbd57bf6d820f0cbc6cb3c1026f99c15d596d1bbf
tree34e6cebe7cd86b4f9f11b94e64d2addc4d156e73
parent935d9e6863f2e3430c60e8ee1f20cbfc79adcd2f
r600/sfn: handle querying the number of layers in cube arrays

This has to be loaded from a constant buffer instead of the actual
texture.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9330>
src/gallium/drivers/r600/sfn/sfn_emitinstruction.cpp
src/gallium/drivers/r600/sfn/sfn_emitinstruction.h
src/gallium/drivers/r600/sfn/sfn_emittexinstruction.cpp