diff options
author | Jerome Glisse <[email protected]> | 2010-08-03 17:02:48 -0400 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2010-08-03 17:02:48 -0400 |
commit | a0b3944c30fdecf5ef97fd602b8a286bcc80fed3 (patch) | |
tree | 090c8615bf606d041f9be3cb3bf12604f601ba20 /src/gallium/drivers/r600/r600_helper.c | |
parent | 3a8d4a89795d180b910b2c0dfa98c57cf9bb45a6 (diff) |
r600g: flush and resubmit if we reach limit
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_helper.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_helper.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_helper.c b/src/gallium/drivers/r600/r600_helper.c index 132abf90a38..c672fe7386d 100644 --- a/src/gallium/drivers/r600/r600_helper.c +++ b/src/gallium/drivers/r600/r600_helper.c @@ -61,6 +61,12 @@ int r600_conv_pipe_format(unsigned pformat, unsigned *format) case PIPE_FORMAT_I8_UNORM: *format = V_0280A0_COLOR_8; return 0; + case PIPE_FORMAT_B4G4R4A4_UNORM: + *format = V_0280A0_COLOR_4_4_4_4; + return 0; + case PIPE_FORMAT_B5G6R5_UNORM: + *format = V_0280A0_COLOR_5_6_5; + return 0; case PIPE_FORMAT_L16_UNORM: case PIPE_FORMAT_Z16_UNORM: case PIPE_FORMAT_Z32_UNORM: |