diff options
author | Dave Airlie <airlied@redhat.com> | 2010-08-12 16:06:40 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-08-12 16:20:31 +1000 |
commit | e2df0a8b234efde140b340c2c9b67b06b789b758 (patch) | |
tree | ac055d43d9b70d22eac8d14aab6f9ae87678aa83 /src/gallium/drivers/r600/r600_context.h | |
parent | de4784e36505316c2a5ab34cc5b371d17f38d3c5 (diff) |
r600g: improve texture format checker.
This takes the r300g texture format checker and fixes it up for r600g,
it passes glean texSwizzle, pixelformats, and texture_srgb tests,
however I think it L8S8_SRGB is broken as is L8_SRGB, need to investigate.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/gallium/drivers/r600/r600_context.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_context.h b/src/gallium/drivers/r600/r600_context.h index c606dbbda3..76d5de8653 100644 --- a/src/gallium/drivers/r600/r600_context.h +++ b/src/gallium/drivers/r600/r600_context.h @@ -175,4 +175,7 @@ extern int r600_pipe_shader_update(struct pipe_context *ctx, #define R600_ERR(fmt, args...) \ fprintf(stderr, "EE %s/%s:%d - "fmt, __FILE__, __func__, __LINE__, ##args) +uint32_t r600_translate_texformat(enum pipe_format format, + const unsigned char *swizzle_view, + uint32_t *word4_p, uint32_t *yuv_format_p); #endif |