summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/swr_shader.cpp
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2017-04-06 19:09:23 -0500
committerTim Rowley <[email protected]>2017-04-07 16:50:41 -0500
commit7bd5057fd153d5aa55c74624c2bda9651377711d (patch)
treee4e1b257e6c7c5ecfbacc8702968d09d2997bba9 /src/gallium/drivers/swr/swr_shader.cpp
parent8046c247deb68d1061f019fe5cc12c499978e7ac (diff)
swr: fix unused variable warnings
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/swr_shader.cpp')
-rw-r--r--src/gallium/drivers/swr/swr_shader.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/swr_shader.cpp b/src/gallium/drivers/swr/swr_shader.cpp
index 9d42ecd4ea8..6fc0596ed60 100644
--- a/src/gallium/drivers/swr/swr_shader.cpp
+++ b/src/gallium/drivers/swr/swr_shader.cpp
@@ -490,7 +490,6 @@ BuilderSWR::swr_gs_llvm_epilogue(const struct lp_build_tgsi_gs_iface *gs_base,
LLVMValueRef emitted_prims_vec)
{
swr_gs_llvm_iface *iface = (swr_gs_llvm_iface*)gs_base;
- SWR_GS_STATE *pGS = iface->pGsState;
IRB()->SetInsertPoint(unwrap(LLVMGetInsertBlock(gallivm->builder)));