diff options
author | Chris Forbes <[email protected]> | 2014-12-05 19:43:13 +1300 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2014-12-07 11:46:42 +1300 |
commit | ed56c16820aea0e115768d77861fe266380f2595 (patch) | |
tree | f5240441c2013780a4d1f97a88b5e6e7697e9b8e /src/glsl/opt_dead_code.cpp | |
parent | 092c73a7c32b240a26ffeab2ee475f6d590540b2 (diff) |
i965/Gen6-7: Fix point sprites with PolygonMode(GL_POINT)
This was an oversight in the original patch. When PolygonMode is
used, then front faces, back faces, or both may be rendered as
points and are affected by point sprite state.
Note that SNB/IVB can't actually be fully conformant here, for
a legacy context -- we don't have separate sets of pointsprite
enables for front and back faces. Haswell ignores pointsprite
state correctly in hardware for non-point rasterization, so can
do this correctly, but it doesn't seem worth it.
Signed-off-by: Chris Forbes <[email protected]>
Cc: "10.4" <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=86764
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glsl/opt_dead_code.cpp')
0 files changed, 0 insertions, 0 deletions