aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-02-14 20:00:29 +0000
committerDave Airlie <[email protected]>2017-02-14 20:02:13 +0000
commita465eae38fbf5f95170a73009e646daca2aa5181 (patch)
tree44f29cfba696f42ca6255de67d502a795b3694dd /src/amd
parent09bf5491c4611e83d2ec745dc0e727bcdb0b31aa (diff)
radv: fix warning since using common gs emit code
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r--src/amd/common/ac_nir_to_llvm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
index 016c0109f4f..883656d5cec 100644
--- a/src/amd/common/ac_nir_to_llvm.c
+++ b/src/amd/common/ac_nir_to_llvm.c
@@ -3003,7 +3003,6 @@ visit_emit_vertex(struct nir_to_llvm_context *ctx,
{
LLVMValueRef gs_next_vertex;
LLVMValueRef can_emit, kill;
- LLVMValueRef args[2];
int idx;
assert(instr->const_index[0] == 0);