diff options
author | Brian Paul <[email protected]> | 2013-12-09 12:50:44 -0800 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-12-13 12:01:28 -0800 |
commit | d6a8421f3b71c85d614aee4e47ba008af5444bfc (patch) | |
tree | 89d46223fd0be53fe487a44dc8662140cc3fc65a /include | |
parent | e735dfd35b036b3427ba6c73f482f75062a3d75f (diff) |
svga: don't emit extraneous fs shadow code
Depending on the depth texture format, we may or may not have to
emit explicit fs code to do the shadow comparison. Before, we
were emitting it more often than needed.
v2: check the actual texture format rather than the screen->depth.z16
field. The screen->depth.z16, x8z24, s8z24 fields may not all be set
to a consistent set of depth formats.
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions