summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2014-01-07 15:50:39 -0800
committerPaul Berry <[email protected]>2014-02-05 09:01:18 -0800
commit47d480e3e4850ef8934775570444feea503295d7 (patch)
treea5029c0584286c0ac5509a7c511a10840f2688b4 /src/mesa/main
parent9b34ae2e64fd29fd4cd1cf18f7dd09116e02dc96 (diff)
mesa/cs: Create the gl_compute_program struct, and the code to initialize it.
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/mtypes.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index b793227f076..6af4db65c2e 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2181,6 +2181,13 @@ struct gl_fragment_program
};
+/** Compute program object */
+struct gl_compute_program
+{
+ struct gl_program Base; /**< base class */
+};
+
+
/**
* State common to vertex and fragment programs.
*/