diff options
author | Chad Versace <[email protected]> | 2011-09-26 16:23:26 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2011-10-10 13:24:11 -0700 |
commit | f378e8fea0e6bfda2018ee14a99757bde329e0a7 (patch) | |
tree | f802d813b9a9ca3d7481b1b0617731a04aac4994 /src/gallium/drivers/i915/TODO | |
parent | 9559ca600dde0877fe0abd04dd789bd5a3cdfbde (diff) |
i965: Change type of brw_context.primitive from GLenum to hardware primitive
For example, GL_TRIANLGES is converted to _3DPRIM_TRILIST.
The conversion is necessary because HiZ and MSAA resolve operations emit
a 3DPRIM_RECTLIST, which cannot be conveyed by GLenum.
As a consequence, brw_gs_prog_key.primitive is also converted.
v2
----
- [anholt] Split brw_set_prim into brw/gen6 variants in previous commit,
since not much code is really shared between the two.
- [anholt] Replace switch statements with table lookups, since this is
a hot path.
Reviewed-by: Eric Anholt <[email protected]>
Signed-off-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i915/TODO')
0 files changed, 0 insertions, 0 deletions