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_vs.c | |
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_vs.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vs.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs.c b/src/mesa/drivers/dri/i965/brw_vs.c index 0c60bde511e..0a348a56127 100644 --- a/src/mesa/drivers/dri/i965/brw_vs.c +++ b/src/mesa/drivers/dri/i965/brw_vs.c @@ -65,27 +65,6 @@ gl_clip_plane *brw_select_clip_planes(struct gl_context *ctx) } } - -bool -brw_vs_prog_data_compare(const void *in_a, const void *in_b) -{ - const struct brw_vs_prog_data *a = in_a; - const struct brw_vs_prog_data *b = in_b; - - /* Compare the base structure. */ - if (!brw_stage_prog_data_compare(&a->base.base, &b->base.base)) - return false; - - /* Compare the rest of the struct. */ - const unsigned offset = sizeof(struct brw_stage_prog_data); - if (memcmp(((char *) a) + offset, ((char *) b) + offset, - sizeof(struct brw_vs_prog_data) - offset)) { - return false; - } - - return true; -} - bool brw_codegen_vs_prog(struct brw_context *brw, struct gl_shader_program *prog, |