diff options
author | Timothy Arceri <timothy.arceri@collabora.com> | 2016-05-23 16:48:05 +1000 |
---|---|---|
committer | Timothy Arceri <timothy.arceri@collabora.com> | 2016-07-21 09:10:53 +1000 |
commit | 7f53fead5cf9a85c74a94d359dd5fccfbb87856c (patch) | |
tree | d79507872d60b30595030c7828120d819020a7a4 /src/mesa/drivers/dri/i965/brw_fs.h | |
parent | 09e46f99ad465ab253de3fc321f39062cfbe1984 (diff) | |
download | external_mesa3d-7f53fead5cf9a85c74a94d359dd5fccfbb87856c.zip external_mesa3d-7f53fead5cf9a85c74a94d359dd5fccfbb87856c.tar.gz external_mesa3d-7f53fead5cf9a85c74a94d359dd5fccfbb87856c.tar.bz2 |
i965: enable component packing for vs and fs
Rather than trying to work out the total number of components
used at a location we simply treat all outputs as vec4s. This
removes the need for complex code looping over varyings to match
packed locations and the need for storing the total number of
components used at each location.
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h index 574475f..fc1e1c4 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.h +++ b/src/mesa/drivers/dri/i965/brw_fs.h @@ -317,7 +317,6 @@ public: fs_reg frag_stencil; fs_reg sample_mask; fs_reg outputs[VARYING_SLOT_MAX]; - unsigned output_components[VARYING_SLOT_MAX]; fs_reg dual_src_output; bool do_dual_src; int first_non_payload_grf; |