diff options
author | Chia-I Wu <[email protected]> | 2013-05-29 14:42:13 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-06-07 11:13:14 +0800 |
commit | 130364ad1d5010e9320aaa312309f83746d751d3 (patch) | |
tree | 323c2d7a15292c0fdb17c500b9616751d35ea306 /src/gallium/drivers/ilo/ilo_screen.c | |
parent | 3bc8289f49f6f1a7256c7d199d09d3753c10af3a (diff) |
ilo: switch to ilo states for CLIP and SF stages
Define and use
struct ilo_viewport_state;
struct ilo_scissor_state;
in ilo_context.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_screen.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_screen.c b/src/gallium/drivers/ilo/ilo_screen.c index 264c338816a..c4a5e9444b6 100644 --- a/src/gallium/drivers/ilo/ilo_screen.c +++ b/src/gallium/drivers/ilo/ilo_screen.c @@ -421,6 +421,8 @@ ilo_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE: /* a BRW_SURFACE_BUFFER can have up to 2^27 elements */ return 1 << 27; + case PIPE_CAP_MAX_VIEWPORTS: + return ILO_MAX_VIEWPORTS; default: return 0; |