diff options
author | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | 2016-03-17 14:15:39 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | 2016-04-02 01:49:57 +0200 |
commit | ea8f4a6b13b94eb060bff4ccc6c13efc01d2b682 (patch) | |
tree | bed727973117acd76924d5c381db6d1a3cd45a3d /src/gallium/include | |
parent | 5ea825f55652ba9e91ab683308dcd6392cc32a97 (diff) | |
download | external_mesa3d-ea8f4a6b13b94eb060bff4ccc6c13efc01d2b682.zip external_mesa3d-ea8f4a6b13b94eb060bff4ccc6c13efc01d2b682.tar.gz external_mesa3d-ea8f4a6b13b94eb060bff4ccc6c13efc01d2b682.tar.bz2 |
gallium: add compute shader IR type
Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_state.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index 2e720ce..5ab5372 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gallium/include/pipe/p_state.h @@ -727,6 +727,7 @@ struct pipe_llvm_program_header struct pipe_compute_state { + enum pipe_shader_ir ir_type; /**< IR type contained in prog. */ const void *prog; /**< Compute program to be executed. */ unsigned req_local_mem; /**< Required size of the LOCAL resource. */ unsigned req_private_mem; /**< Required size of the PRIVATE resource. */ |