Frontends should have this information readily available, and it simplifies image LOAD/STORE/ATOM* handling especially with indirect image access.
3243b6f tgsi: add Texture and Format to tgsi_instruction_memory
src/gallium/auxiliary/tgsi/tgsi_dump.c | 8 ++++++++
src/gallium/include/pipe/p_shader_tokens.h | 4 +++-
2 files changed, 11 insertions(+), 1 deletion(-)
Upstream: cgit.freedesktop.org