diff options
author | Chia-I Wu <[email protected]> | 2013-04-29 08:47:33 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-05-01 17:36:44 +0800 |
commit | 16f81fcf1ed8497f049be60cc1f1fded80318905 (patch) | |
tree | c734b390ba7800587090f70447ac6a247c6a0ca9 /src/gallium/drivers/ilo | |
parent | d26f70e208a89a03d7dfe5119f046432dafa8c26 (diff) |
ilo: enable SO support on GEN7
Diffstat (limited to 'src/gallium/drivers/ilo')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_screen.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gallium/drivers/ilo/ilo_screen.c b/src/gallium/drivers/ilo/ilo_screen.c index 1e1e751024e..737c0c44da9 100644 --- a/src/gallium/drivers/ilo/ilo_screen.c +++ b/src/gallium/drivers/ilo/ilo_screen.c @@ -325,8 +325,6 @@ ilo_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_SM3: return true; case PIPE_CAP_MAX_STREAM_OUTPUT_BUFFERS: - if (is->dev.gen >= ILO_GEN(7)) - return 0; /* TODO */ return ILO_MAX_SO_BUFFERS; case PIPE_CAP_PRIMITIVE_RESTART: return false; /* TODO */ @@ -368,7 +366,10 @@ ilo_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_MAX_STREAM_OUTPUT_INTERLEAVED_COMPONENTS: return ILO_MAX_SO_BINDINGS; case PIPE_CAP_STREAM_OUTPUT_PAUSE_RESUME: - return false; /* TODO */ + if (is->dev.gen >= ILO_GEN(7)) + return is->dev.has_gen7_sol_reset; + else + return false; /* TODO */ case PIPE_CAP_TGSI_CAN_COMPACT_VARYINGS: case PIPE_CAP_TGSI_CAN_COMPACT_CONSTANTS: return false; |