diff options
author | Kenneth Graunke <[email protected]> | 2014-10-28 18:13:49 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-12-02 17:00:26 -0800 |
commit | a64f3ba3d1c9be83783539203330f32c037abdb1 (patch) | |
tree | 68d393afb2ad826f83494fa523330d37342b183f /src/mesa/drivers/dri/i965/brw_vec4.h | |
parent | 5f34a18f96e58aff1aca2d2971fca1c91dc6931d (diff) |
i965: Move program key structures to brw_program.h.
With fs_visitor/fs_generator being reused for SIMD8 VS/GS programs,
we're running into weird #include patterns, where scalar code #includes
brw_vec4.h and such.
Program keys aren't really related to SIMD4X2/SIMD8 execution - they
mostly capture NOS for a particular shader stage. Consolidating them
all in one place that's vec4/scalar neutral should help avoid problems.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Chris Forbes <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.h b/src/mesa/drivers/dri/i965/brw_vec4.h index 6924775314a..500ec79dd5a 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4.h +++ b/src/mesa/drivers/dri/i965/brw_vec4.h @@ -49,28 +49,6 @@ struct brw_vec4_compile { GLuint last_scratch; /**< measured in 32-byte (register size) units */ }; - -struct brw_vec4_prog_key { - GLuint program_string_id; - - /** - * True if at least one clip flag is enabled, regardless of whether the - * shader uses clip planes or gl_ClipDistance. - */ - GLuint userclip_active:1; - - /** - * How many user clipping planes are being uploaded to the vertex shader as - * push constants. - */ - GLuint nr_userclip_plane_consts:4; - - GLuint clamp_vertex_color:1; - - struct brw_sampler_prog_key_data tex; -}; - - #ifdef __cplusplus extern "C" { #endif |