diff options
author | Kenneth Graunke <[email protected]> | 2018-01-29 15:06:08 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:05 -0800 |
commit | 352ec1f378e234ae71ae78657a292f4c77cad5b9 (patch) | |
tree | 0a68e8cd6751d3d34770689d00ab6beb1e0eb0d8 /src/gallium | |
parent | 54ba8a60d5696544a70795662ed9637f6bee8967 (diff) |
iris: warning fixes
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/iris/iris_state.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index 0e3544bf5bd..d6a7a88a37a 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -1445,10 +1445,10 @@ iris_populate_fs_key(const struct iris_context *ice, memset(key, 0, sizeof(*key)); /* XXX: dirty flags? */ - struct pipe_framebuffer_state *fb = &ice->state.framebuffer; - struct iris_depth_stencil_alpha_state *zsa = ice->state.cso_zsa; - struct iris_rasterizer_state *rast = ice->state.cso_rast; - struct iris_blend_state *blend = ice->state.cso_blend; + const struct pipe_framebuffer_state *fb = &ice->state.framebuffer; + const struct iris_depth_stencil_alpha_state *zsa = ice->state.cso_zsa; + const struct iris_rasterizer_state *rast = ice->state.cso_rast; + const struct iris_blend_state *blend = ice->state.cso_blend; key->nr_color_regions = fb->nr_cbufs; |