aboutsummaryrefslogtreecommitdiffstats
path: root/src/broadcom/compiler/v3d_compiler.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2017-10-02 16:43:33 -0700
committerEric Anholt <[email protected]>2017-10-10 11:42:05 -0700
commitdc25a83a7a0b71548d0d7b6f0021f73450ce0c6d (patch)
tree725a8c194c036088a64b1359defcce6ab4250485 /src/broadcom/compiler/v3d_compiler.h
parentf0ee7d6ba85c0695e276b61c8c8113552d8bde6c (diff)
broadcom/vc5: Start hooking up multiple render targets support.
We now emit as many TLB color writes as there are color buffers.
Diffstat (limited to 'src/broadcom/compiler/v3d_compiler.h')
-rw-r--r--src/broadcom/compiler/v3d_compiler.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/broadcom/compiler/v3d_compiler.h b/src/broadcom/compiler/v3d_compiler.h
index a29b08ac1ab..bdd505ee9ba 100644
--- a/src/broadcom/compiler/v3d_compiler.h
+++ b/src/broadcom/compiler/v3d_compiler.h
@@ -318,7 +318,8 @@ struct v3d_fs_key {
bool sample_alpha_to_coverage;
bool sample_alpha_to_one;
bool clamp_color;
- bool swap_color_rb;
+ uint8_t nr_cbufs;
+ uint8_t swap_color_rb;
uint8_t alpha_test_func;
uint8_t logicop_func;
uint32_t point_sprite_mask;
@@ -490,7 +491,7 @@ struct v3d_compile {
uint32_t num_uniforms;
uint32_t num_outputs;
uint32_t output_position_index;
- nir_variable *output_color_var;
+ nir_variable *output_color_var[4];
uint32_t output_point_size_index;
uint32_t output_sample_mask_index;