diff options
author | Paul Berry <[email protected]> | 2012-06-20 12:33:06 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2012-07-19 10:02:19 -0700 |
commit | a0f7b869592013b24a5bacf0ceb2bdb1e9146378 (patch) | |
tree | a97d5c5bc886811402286a8b2d19d58a365d2a42 /src/mesa/program/program_parse.y | |
parent | 5e310e9f8300a357d6bdaf098c72098518b564f3 (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/program_parse.y')
-rw-r--r-- | src/mesa/program/program_parse.y | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/program/program_parse.y b/src/mesa/program/program_parse.y index 4f958a99388..54b17314a3a 100644 --- a/src/mesa/program/program_parse.y +++ b/src/mesa/program/program_parse.y @@ -382,6 +382,8 @@ ARL_instruction: ARL maskedAddrReg ',' scalarSrcReg VECTORop_instruction: VECTOR_OP maskedDstReg ',' swizzleSrcReg { + if ($1.Opcode == OPCODE_DDY) + state->fragment.UsesDFdy = 1; $$ = asm_instruction_copy_ctor(& $1, & $2, & $4, NULL, NULL); } ; |