diff options
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index a0189b77bad..bee39fadee9 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -316,6 +316,14 @@ struct brw_fragment_program { GLuint id; /**< serial no. to identify frag progs, never re-used */ }; + +/** Subclass of Mesa compute program */ +struct brw_compute_program { + struct gl_compute_program program; + unsigned id; /**< serial no. to identify compute progs, never re-used */ +}; + + struct brw_shader { struct gl_shader base; |