diff options
author | Samuel Pitoiset <[email protected]> | 2018-02-09 13:54:20 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-02-12 11:54:07 +0100 |
commit | 0efbede949bc08303331bc8a7843c83cdabd166d (patch) | |
tree | bd9e89f954739f3aba657683cf5da276198c600e /src/amd/common/ac_shader_abi.h | |
parent | 460d3ce7264f0da6db537fe8f99f6872d33ed269 (diff) |
ac: move push_constants to the ABI
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/common/ac_shader_abi.h')
-rw-r--r-- | src/amd/common/ac_shader_abi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/common/ac_shader_abi.h b/src/amd/common/ac_shader_abi.h index 5d525849966..02b3cb9e067 100644 --- a/src/amd/common/ac_shader_abi.h +++ b/src/amd/common/ac_shader_abi.h @@ -60,6 +60,8 @@ struct ac_shader_abi { LLVMValueRef workgroup_ids[3]; LLVMValueRef tg_size; + LLVMValueRef push_constants; /* Vulkan only */ + /* For VS and PS: pre-loaded shader inputs. * * Currently only used for NIR shaders; indexed by variables' |