diff options
author | Eric Anholt <eric@anholt.net> | 2010-06-11 12:21:23 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-06-11 12:21:23 -0700 |
commit | 108264e859b4f435e9608472dc2e388aa200183c (patch) | |
tree | 47d1e00c5627e5468b576f10e939845686d90d88 /src/mesa/drivers/dri/i965/brw_state.h | |
parent | 34c82804edb1e9b11cf31be2246a9086694d35d6 (diff) |
i965: Remove the surface key used to generate constant surfaces.
We had to fill out all that junk when using the cache, but no more.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_state.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_state.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state.h b/src/mesa/drivers/dri/i965/brw_state.h index 3c30d1fed6..5756b8f029 100644 --- a/src/mesa/drivers/dri/i965/brw_state.h +++ b/src/mesa/drivers/dri/i965/brw_state.h @@ -110,20 +110,6 @@ const struct brw_tracked_state gen6_viewport_state; const struct brw_tracked_state gen6_vs_state; const struct brw_tracked_state gen6_wm_state; -/** - * Use same key for WM and VS surfaces. - */ -struct brw_surface_key { - GLenum target, depthmode; - drm_intel_bo *bo; - GLint format, internal_format; - GLint first_level, last_level; - GLint width, height, depth; - GLint pitch, cpp; - uint32_t tiling; - GLuint offset; -}; - /*********************************************************************** * brw_state.c */ @@ -193,7 +179,8 @@ void *brw_state_batch(struct brw_context *brw, /* brw_wm_surface_state.c */ void brw_create_constant_surface(struct brw_context *brw, - struct brw_surface_key *key, + drm_intel_bo *bo, + int width, drm_intel_bo **out_bo, uint32_t *out_offset); |