gallium/ddebug: Support compute states.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 21 Apr 2016 15:07:01 +0000 (17:07 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 13 May 2016 05:43:37 +0000 (07:43 +0200)
commit22b35122faae0c6907a29876c33240afb345edf1
treefbad244e9bbb6b2f1797177eb9421466c4c1e920
parent5efe477b13d2bb7e40af2b7ce67c87546bf4ea60
gallium/ddebug: Support compute states.

v2: Reuse the macro for bind & delete.

Note that may not be able to share the delete long-term as
pipe_compute_state contains members not in pipe_shader_state,
and we need to distinguish the pointer location if we add that
struct to the union.

Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/ddebug/dd_context.c