tgsi: add Texture and Format to tgsi_instruction_memory
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 10 Mar 2016 21:30:07 +0000 (16:30 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 14 Mar 2016 22:24:02 +0000 (17:24 -0500)
commit3243b6fc97dc73555f72ce8c01f643d707b26610
tree9959afd93846f7d666cf466ff0f8a3be603c383e
parent9b68bdf6f8a06986340efa0c94afeeeb5580f9fd
tgsi: add Texture and Format to tgsi_instruction_memory

Frontends should have this information readily available, and it simplifies
image LOAD/STORE/ATOM* handling especially with indirect image access.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/tgsi/tgsi_dump.c
src/gallium/include/pipe/p_shader_tokens.h