aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_format_other.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-04-27 13:37:27 +0200
committerMarek Olšák <[email protected]>2011-04-29 11:31:55 +0200
commitb48359184e36ecd11510e9c87e3db535935c99e2 (patch)
tree981971939205c1790a8cc7aff41bb9f5c9a7a0d2 /src/gallium/auxiliary/util/u_format_other.h
parent1271424615b62544662a606bb23f6d7117a8b0e7 (diff)
util: implement R11G11B10_FLOAT pack/unpack functions
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_format_other.h')
-rw-r--r--src/gallium/auxiliary/util/u_format_other.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_format_other.h b/src/gallium/auxiliary/util/u_format_other.h
index 98c97be33fa..2f6a908bbe8 100644
--- a/src/gallium/auxiliary/util/u_format_other.h
+++ b/src/gallium/auxiliary/util/u_format_other.h
@@ -57,6 +57,32 @@ util_format_r9g9b9e5_float_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_strid
const uint8_t *src_row, unsigned src_stride,
unsigned width, unsigned height);
+
+void
+util_format_r11g11b10_float_unpack_rgba_float(float *dst_row, unsigned dst_stride,
+ const uint8_t *src_row, unsigned src_stride,
+ unsigned width, unsigned height);
+
+void
+util_format_r11g11b10_float_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride,
+ const float *src_row, unsigned src_stride,
+ unsigned width, unsigned height);
+
+void
+util_format_r11g11b10_float_fetch_rgba_float(float *dst, const uint8_t *src,
+ unsigned i, unsigned j);
+
+void
+util_format_r11g11b10_float_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride,
+ const uint8_t *src_row, unsigned src_stride,
+ unsigned width, unsigned height);
+
+void
+util_format_r11g11b10_float_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride,
+ const uint8_t *src_row, unsigned src_stride,
+ unsigned width, unsigned height);
+
+
void
util_format_r1_unorm_unpack_rgba_float(float *dst_row, unsigned dst_stride,
const uint8_t *src_row, unsigned src_stride,