r200: accept PROGRAM_CONSTANT inputs due to mesa changes
authorAndrew Randrianasulu <randrik@mail.ru>
Thu, 17 Apr 2008 00:51:02 +0000 (02:51 +0200)
committerRoland Scheidegger <sroland@tungstengraphics.com>
Thu, 17 Apr 2008 00:51:30 +0000 (02:51 +0200)
src/mesa/drivers/dri/r200/r200_vertprog.c

index b1e027d..4be0344 100644 (file)
@@ -215,6 +215,7 @@ static unsigned long t_src_class(enum register_file file)
    case PROGRAM_LOCAL_PARAM:
    case PROGRAM_ENV_PARAM:
    case PROGRAM_NAMED_PARAM:
+   case PROGRAM_CONSTANT:
    case PROGRAM_STATE_VAR:
       return VSF_IN_CLASS_PARAM;
    /*