summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_link.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-11-24 08:33:49 -0700
committerBrian Paul <[email protected]>2009-01-06 08:51:45 -0700
commitee3da89b197fa0aa063be6fcabddec284cc00bec (patch)
tree6e9f00e29be61aad3aeebb03f4062e42fdec1960 /src/mesa/shader/slang/slang_link.c
parent716ccb11a25bdec19921e931bc7bcfb39c94896c (diff)
mesa: add Flags field to gl_program_parameter
Only one flag defined so far: PROG_PARAM_CENTROID_BIT (cherry picked from commit 0f228d7ab3b7c03328df369b8db50c469ac5dcd6)
Diffstat (limited to 'src/mesa/shader/slang/slang_link.c')
-rw-r--r--src/mesa/shader/slang/slang_link.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_link.c b/src/mesa/shader/slang/slang_link.c
index 79fd9a064f5..fcd7fbf3ca1 100644
--- a/src/mesa/shader/slang/slang_link.c
+++ b/src/mesa/shader/slang/slang_link.c
@@ -103,7 +103,8 @@ link_varying_vars(struct gl_shader_program *shProg, struct gl_program *prog)
}
else {
/* not already in linked list */
- j = _mesa_add_varying(shProg->Varying, var->Name, var->Size);
+ j = _mesa_add_varying(shProg->Varying, var->Name, var->Size,
+ var->Flags);
}
/* map varying[i] to varying[j].