ac,radeonsi: fix load_first_vertex
GL doesn't use it, so this change is not necessary, but it's better this way. There is also a small cleanup using si_unpack_param. Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7721>
This commit is contained in:
@@ -863,7 +863,7 @@ load_patch_vertices_in(struct ac_shader_abi *abi)
|
||||
}
|
||||
|
||||
|
||||
static LLVMValueRef radv_load_base_vertex(struct ac_shader_abi *abi)
|
||||
static LLVMValueRef radv_load_base_vertex(struct ac_shader_abi *abi, bool non_indexed_is_zero)
|
||||
{
|
||||
struct radv_shader_context *ctx = radv_shader_context_from_abi(abi);
|
||||
return ac_get_arg(&ctx->ac, ctx->args->ac.base_vertex);
|
||||
|
Reference in New Issue
Block a user