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 b1e027dc1c50fdecab7f86560a8a9209af03eb73..4be0344859298bca41ed9c5992399d103d2dcd21 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;
    /*