ac/nir: pass the variable location to store_tcs_outputs
It's actually simpler for the backend to know the variable location. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7022>
This commit is contained in:
@@ -548,10 +548,10 @@ store_tcs_output(struct ac_shader_abi *abi,
|
||||
LLVMValueRef src,
|
||||
unsigned writemask,
|
||||
unsigned component,
|
||||
unsigned location,
|
||||
unsigned driver_location)
|
||||
{
|
||||
struct radv_shader_context *ctx = radv_shader_context_from_abi(abi);
|
||||
const unsigned location = driver_location;
|
||||
const bool is_patch = vertex_index == NULL;
|
||||
LLVMValueRef dw_addr;
|
||||
LLVMValueRef stride = NULL;
|
||||
|
Reference in New Issue
Block a user