diff options
author | Kenneth Graunke <[email protected]> | 2011-04-27 18:03:49 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2011-05-17 23:33:01 -0700 |
commit | 70c6cd39bd9396b0d3f9e84df41fd8bef1f26cc4 (patch) | |
tree | 25d19e365a0b8ee99e15a65221f221c8c38db9d0 /src/mesa/drivers/dri/i965/brw_state.h | |
parent | 62b79b4bb9d8a4a8679c3d1e1f5455ce33d7b90a (diff) |
i965: Change brw_format_for_mesa_format to a non-static function.
This will make it easier to share between files.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_state.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_state.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state.h b/src/mesa/drivers/dri/i965/brw_state.h index 99e63e08dd1..763f20fc203 100644 --- a/src/mesa/drivers/dri/i965/brw_state.h +++ b/src/mesa/drivers/dri/i965/brw_state.h @@ -180,6 +180,8 @@ void brw_create_constant_surface(struct brw_context *brw, int width, uint32_t *out_offset); +uint32_t brw_format_for_mesa_format(gl_format mesa_format); + /* gen6_sf_state.c */ uint32_t get_attr_override(struct brw_context *brw, int fs_attr, int two_side_color); |