diff options
author | Jason Ekstrand <[email protected]> | 2015-09-29 18:06:49 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-09-30 08:35:32 -0700 |
commit | 3948ac19a40663bd00deb84518ac747daa5f401f (patch) | |
tree | f96bfbe002dc9052ed97d6ebef703f38572cbf5e /src/mesa/drivers/dri/i965/brw_context.h | |
parent | bfdc76c133bb9e91049824b7480f862f142e4195 (diff) |
i965: Get rid of prog_data compare functions
They are no longer used.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.h | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index 3bae90dafaf..1dd48f6d9b7 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -340,9 +340,6 @@ struct brw_shader { bool compiled_once; }; -/* Note: If adding fields that need anything besides a normal memcmp() for - * comparing them, be sure to go fix brw_stage_prog_data_compare(). - */ struct brw_stage_prog_data { struct { /** size of our binding table. */ @@ -378,18 +375,11 @@ struct brw_stage_prog_data { /* Pointers to tracked values (only valid once * _mesa_load_state_parameters has been called at runtime). - * - * These must be the last fields of the struct (see - * brw_stage_prog_data_compare()). */ const gl_constant_value **param; const gl_constant_value **pull_param; - /** - * Image metadata passed to the shader as uniforms. This is deliberately - * ignored by brw_stage_prog_data_compare() because its contents don't have - * any influence on program compilation. - */ + /** Image metadata passed to the shader as uniforms. */ struct brw_image_param *image_param; }; @@ -443,9 +433,6 @@ struct brw_image_param { * there can be many of these, each in a different GL state * corresponding to a different brw_wm_prog_key struct, with different * compiled programs. - * - * Note: brw_wm_prog_data_compare() must be updated when adding fields to this - * struct! */ struct brw_wm_prog_data { struct brw_stage_prog_data base; @@ -489,9 +476,6 @@ struct brw_wm_prog_data { int urb_setup[VARYING_SLOT_MAX]; }; -/* Note: brw_cs_prog_data_compare() must be updated when adding fields to this - * struct! - */ struct brw_cs_prog_data { struct brw_stage_prog_data base; @@ -692,9 +676,6 @@ enum shader_dispatch_mode { DISPATCH_MODE_SIMD8 = 3, }; -/* Note: brw_vue_prog_data_compare() must be updated when adding fields to - * this struct! - */ struct brw_vue_prog_data { struct brw_stage_prog_data base; struct brw_vue_map vue_map; @@ -712,9 +693,6 @@ struct brw_vue_prog_data { }; -/* Note: brw_vs_prog_data_compare() must be updated when adding fields to this - * struct! - */ struct brw_vs_prog_data { struct brw_vue_prog_data base; @@ -774,9 +752,6 @@ struct brw_vs_prog_data { #define SURF_INDEX_GEN6_SOL_BINDING(t) (t) -/* Note: brw_gs_prog_data_compare() must be updated when adding fields to - * this struct! - */ struct brw_gs_prog_data { struct brw_vue_prog_data base; |