diff options
author | Samuel Pitoiset <[email protected]> | 2018-02-09 13:54:21 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-02-12 11:54:09 +0100 |
commit | 0f48eeea05d4353d2449f19e5f1cd41f95376d1c (patch) | |
tree | 15fd47b53151a23a3a7c98cbf52b545a7a113138 /src/amd/common/ac_shader_abi.h | |
parent | 0efbede949bc08303331bc8a7843c83cdabd166d (diff) |
ac: move view_index 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 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/amd/common/ac_shader_abi.h b/src/amd/common/ac_shader_abi.h index 02b3cb9e067..d8fea18b351 100644 --- a/src/amd/common/ac_shader_abi.h +++ b/src/amd/common/ac_shader_abi.h @@ -60,7 +60,9 @@ struct ac_shader_abi { LLVMValueRef workgroup_ids[3]; LLVMValueRef tg_size; - LLVMValueRef push_constants; /* Vulkan only */ + /* Vulkan only */ + LLVMValueRef push_constants; + LLVMValueRef view_index; /* For VS and PS: pre-loaded shader inputs. * |