diff options
author | Keith Whitwell <[email protected]> | 2009-11-19 19:51:04 -0800 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-11-19 19:51:14 -0800 |
commit | 63b0af07755201e5ad630bf7f67a7997263734d6 (patch) | |
tree | 26468f4a61db7b33454f6ab91bd37165edf82bcd /src/gallium/drivers/i965/brw_context.h | |
parent | 3fafe2b9692f294338d47ad12caecf9fa32703d4 (diff) |
i965g: first pass at vs immediates in curbe
Diffstat (limited to 'src/gallium/drivers/i965/brw_context.h')
-rw-r--r-- | src/gallium/drivers/i965/brw_context.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/i965/brw_context.h b/src/gallium/drivers/i965/brw_context.h index 64279c46768..096c8cf12b2 100644 --- a/src/gallium/drivers/i965/brw_context.h +++ b/src/gallium/drivers/i965/brw_context.h @@ -149,12 +149,17 @@ struct brw_blend_state { struct brw_rasterizer_state; +struct brw_immediate_data { + unsigned nr; + float (*data)[4]; +}; struct brw_vertex_shader { const struct tgsi_token *tokens; struct brw_winsys_buffer *const_buffer; /** Program constant buffer/surface */ struct tgsi_shader_info info; + struct brw_immediate_data immediates; GLuint has_flow_control:1; GLuint use_const_buffer:1; @@ -189,6 +194,7 @@ struct brw_fragment_shader { struct tgsi_shader_info info; struct brw_fs_signature signature; + struct brw_immediate_data immediates; unsigned iz_lookup; //unsigned wm_lookup; |