diff options
author | Marek Olšák <[email protected]> | 2011-04-05 06:21:26 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-04-05 06:36:56 +0200 |
commit | b3011ea60cc36a888da031ebac932d67473f4521 (patch) | |
tree | e858f95c29dfae18805140a6a731f0cf139c1788 /src/gallium/drivers/r300/r300_texture.h | |
parent | 20141d9efdf674a3c7a13a75fabe533665d02cd0 (diff) |
r300g: fix RG/LATC1_SNORM by doing UNORM->SNORM conversion in the shader
Diffstat (limited to 'src/gallium/drivers/r300/r300_texture.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_texture.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_texture.h b/src/gallium/drivers/r300/r300_texture.h index 158a387478f..4586bb2e4dc 100644 --- a/src/gallium/drivers/r300/r300_texture.h +++ b/src/gallium/drivers/r300/r300_texture.h @@ -35,6 +35,10 @@ struct r300_texture_desc; struct r300_resource; struct r300_screen; +void util_format_combine_swizzles(unsigned char *dst, + const unsigned char *swz1, + const unsigned char *swz2); + unsigned r300_get_swizzle_combined(const unsigned char *swizzle_format, const unsigned char *swizzle_view, boolean dxtc_swizzle); |