summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-10-09 01:11:56 +0200
committerMarek Olšák <[email protected]>2012-10-09 01:14:55 +0200
commit810d2e167c5a507084d1865a260809b847ca3201 (patch)
tree4dba12a688c037d43dc7e5328855f1686557fd83 /src/mesa
parentcb72ec5fc55651af186e45942a1cd3e45eb5c359 (diff)
st/mesa: remove unused variables to fix compile warnings
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_mesa_to_tgsi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.c b/src/mesa/state_tracker/st_mesa_to_tgsi.c
index 5f056b9b1e8..92f52671424 100644
--- a/src/mesa/state_tracker/st_mesa_to_tgsi.c
+++ b/src/mesa/state_tracker/st_mesa_to_tgsi.c
@@ -1169,7 +1169,6 @@ st_translate_mesa_program(
* inconsistency, we insert a U2F.
*/
struct st_context *st = st_context(ctx);
- struct pipe_screen *pscreen = st->pipe->screen;
assert(procType == TGSI_PROCESSOR_VERTEX);
assert(pscreen->get_shader_param(pscreen, PIPE_SHADER_VERTEX, PIPE_SHADER_CAP_INTEGERS));
if (!ctx->Const.NativeIntegers) {