[Mesa-dev] [PATCH 09/15] program: Remove incorrect comment about OPCODE_TXD.

Matt Turner mattst88 at gmail.com
Mon Feb 29 23:34:43 UTC 2016


The table in prog_instruction.h is correct.
---
 src/mesa/program/prog_execute.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/program/prog_execute.c b/src/mesa/program/prog_execute.c
index 0755ac8..fec72ee 100644
--- a/src/mesa/program/prog_execute.c
+++ b/src/mesa/program/prog_execute.c
@@ -1203,7 +1203,7 @@ _mesa_execute_program(struct gl_context * ctx,
             store_vector4(inst, machine, color);
          }
          break;
-      case OPCODE_TXD:         /* GL_NV_fragment_program only */
+      case OPCODE_TXD:
          /* Texture lookup w/ partial derivatives for LOD */
          {
             GLfloat texcoord[4], dtdx[4], dtdy[4], color[4];
-- 
2.4.10



More information about the mesa-dev mailing list