diff options
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_state.c')
-rw-r--r-- | src/gallium/drivers/r600/evergreen_state.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c index b8825163161..42d2e874597 100644 --- a/src/gallium/drivers/r600/evergreen_state.c +++ b/src/gallium/drivers/r600/evergreen_state.c @@ -708,6 +708,10 @@ boolean evergreen_is_format_supported(struct pipe_screen *screen, if (!util_format_is_supported(format, usage)) return FALSE; + if (util_format_is_pure_integer(format) && + screen->get_param(screen, PIPE_CAP_GLSL_FEATURE_LEVEL) < 130) + return FALSE; + /* Multisample */ if (sample_count > 1) return FALSE; |