ac: move view_index to the ABI

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
Samuel Pitoiset
2018-02-09 13:54:21 +01:00
parent 0efbede949
commit 0f48eeea05
2 changed files with 18 additions and 15 deletions

View File

@@ -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.
*