summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/arbprogparse.c
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2012-06-20 12:33:06 -0700
committerPaul Berry <[email protected]>2012-07-19 10:02:19 -0700
commita0f7b869592013b24a5bacf0ceb2bdb1e9146378 (patch)
treea97d5c5bc886811402286a8b2d19d58a365d2a42 /src/mesa/program/arbprogparse.c
parent5e310e9f8300a357d6bdaf098c72098518b564f3 (diff)
mesa: Set UsesDFdy appropriately for assembly programs.
Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/program/arbprogparse.c')
-rw-r--r--src/mesa/program/arbprogparse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/program/arbprogparse.c b/src/mesa/program/arbprogparse.c
index dffc8abf735..72e51dd0ffe 100644
--- a/src/mesa/program/arbprogparse.c
+++ b/src/mesa/program/arbprogparse.c
@@ -120,6 +120,7 @@ _mesa_parse_arb_fragment_program(struct gl_context* ctx, GLenum target,
program->PixelCenterInteger = state.option.PixelCenterInteger;
program->UsesKill = state.fragment.UsesKill;
+ program->UsesDFdy = state.fragment.UsesDFdy;
if (program->Base.Instructions)
free(program->Base.Instructions);