浏览代码

fix comment, handle NOP

tags/post-merge-glsl-compiler-1
Brian 19 年前
父节点
当前提交
0031ea7d85
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3
    1
      src/mesa/swrast/s_fragprog.c

+ 3
- 1
src/mesa/swrast/s_fragprog.c 查看文件

@@ -708,7 +708,7 @@ execute_program( GLcontext *ctx,
break;
case OPCODE_BRA: /* conditional branch */
{
/* NOTE: The return is conditional! */
/* NOTE: The branch is conditional! */
const GLuint swizzle = inst->DstReg.CondSwizzle;
const GLuint condMask = inst->DstReg.CondMask;
if (test_cc(machine->CondCodes[GET_SWZ(swizzle, 0)], condMask) ||
@@ -1044,6 +1044,8 @@ execute_program( GLcontext *ctx,
}
}
break;
case OPCODE_NOP:
break;
case OPCODE_PK2H: /* pack two 16-bit floats in one 32-bit float */
{
GLfloat a[4], result[4];

正在加载...
取消
保存