Mesa demos/spriteblast failed. when we run mesa/demos/spriteblast, those blast "GL" sprite are all missing. see attachment for screeshot.
OSD: Fedora release 8 (Werewolf)
This seems like bug#16931. Can you check if INTEL_STRICT_CONFORMANCE is set?
INTEL_STRICT_CONFORMANCE is not set, if INTEL_STRICT_CONFORMANCE is set, spriteblast works fine.
Created attachment 26797 [details]
screenshot of spriteblast
Created attachment 26798 [details]
screenshot of spriteblast with software rendering
Created attachment 26801 [details]
This appears to have broken since the Q1 release. It works fine with my distro's Mesa 7.4.1 (with or without INTEL_STRICT_CONFORMANCE), but it fails on both mesa_7_5_branch and master.
Mass version move, cvs -> git
Author: Eric Anholt <email@example.com>
Date: Mon Mar 8 12:12:31 2010 -0800
i965: Fix up the handling of point sprite coordinate replacement.
The code was walking over the regs of pairs of attributes and checking
whether the attribute with a given reg index had point sprite enabled.
So the point sprite setup code was rarely even getting executed.
Instead, we need to determine which channels of a reg need point
sprite coordinate replacement. In addition, it was multiplying the
attribute by 1/w, when it's supposed to cover (0, 1) in each direction
regardless of w, and it wasn't filling in the Z and W components of
the texcoord as specified.
Fixes piglit point-sprite and the spriteblast demo. Bug #24431, #22245.
It works fine. Verified with this commit.
This commit is on master only. Eric, how about putting it into 7.8?
on Jul 26, 2016 at 17:56:25.
(provided by the Example extension).