diff options
author | Michel Dänzer <[email protected]> | 2013-04-30 16:34:10 +0200 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2013-05-28 09:55:46 +0200 |
commit | e369f40a9b73b905f2cb9c62aff606e0ec2bb3ef (patch) | |
tree | f2975d106da966855b260c168aba03196eb7acc8 /src/gallium/drivers/radeonsi/radeonsi_shader.h | |
parent | 08810ca9ef2adc0c094686b6cd8b565eecfa866d (diff) |
radeonsi: Fix hardware state for dual source blending
Set up CB_SHADER_MASK register according to pixel shader exports, and enable
some minimal state for colour buffer 1 in case dual source blending is used.
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_shader.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/radeonsi_shader.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.h b/src/gallium/drivers/radeonsi/radeonsi_shader.h index 01b8b5d3b73..33e81c7d6d0 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_shader.h +++ b/src/gallium/drivers/radeonsi/radeonsi_shader.h @@ -140,6 +140,7 @@ struct si_pipe_shader { unsigned num_vgprs; unsigned spi_ps_input_ena; unsigned spi_shader_col_format; + unsigned cb_shader_mask; unsigned sprite_coord_enable; unsigned so_strides[4]; union si_shader_key key; |