diff options
author | Marek Olšák <maraeo@gmail.com> | 2010-04-05 06:26:11 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2010-04-05 07:09:46 +0200 |
commit | a955f86b31304a1a0f35faa0e0861e920354e23b (patch) | |
tree | ac1fc496b191fc20da8983bfe95d029e819ebe48 /src/gallium/drivers/svga/svga_tgsi_emit.h | |
parent | b71bfc4400e1d7c15a2bebbbd3b26a8770fbf546 (diff) |
r300g: add fallback for back stencil reference value and masks for r3xx-r4xx
This splits rendering into two passes when front and back stencil
reference value, value mask, or write mask don't match.
The advantages of doing it in the driver instead of in st are:
* SWTCL is executed just once and the resulting vertex buffer is reused
in the second pass.
* Lower driver overhead due to the fallback being very close to
the actual draw emission with minimum state change.
Diffstat (limited to 'src/gallium/drivers/svga/svga_tgsi_emit.h')
0 files changed, 0 insertions, 0 deletions