diff options
author | Marek Olšák <[email protected]> | 2014-10-02 16:36:51 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-10-04 15:36:39 +0200 |
commit | 0c4bc1e29223ffec4617999c0c03d722bdcc170a (patch) | |
tree | ecae2a4b7708df339d2189a156357a9d4aa2452c /src/gallium/drivers/softpipe/sp_quad_blend.c | |
parent | 1f6c0b55df9f3553b18062ad2c7e2dc021d4c731 (diff) |
tgsi: change tgsi_shader_info::properties to a one-dimensional array
Reviewed-by: Roland Scheidegger <[email protected]>
v2: fix svga too
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_quad_blend.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_quad_blend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_quad_blend.c b/src/gallium/drivers/softpipe/sp_quad_blend.c index d60e5087ac0..a32bd7fd241 100644 --- a/src/gallium/drivers/softpipe/sp_quad_blend.c +++ b/src/gallium/drivers/softpipe/sp_quad_blend.c @@ -924,7 +924,7 @@ blend_fallback(struct quad_stage *qs, const struct pipe_blend_state *blend = softpipe->blend; unsigned cbuf; boolean write_all = - softpipe->fs_variant->info.properties[TGSI_PROPERTY_FS_COLOR0_WRITES_ALL_CBUFS][0]; + softpipe->fs_variant->info.properties[TGSI_PROPERTY_FS_COLOR0_WRITES_ALL_CBUFS]; for (cbuf = 0; cbuf < softpipe->framebuffer.nr_cbufs; cbuf++) { if (softpipe->framebuffer.cbufs[cbuf]) { |