[Piglit] [PATCH] gl-3.2-depth-tex-sampling: test OpenGL 3.2 core depth texture sampling
brianp at vmware.com
Sun Dec 22 06:05:48 PST 2013
On 12/21/2013 05:01 PM, Marek Olšák wrote:
> This test is wrong. The section 3.8.7 (page 160) of the GL 3.2 core
> specification says:
> "Depth textures and the depth components of depth/stencil textures can
> be treated as RED textures during texture filtering and application
> (see section 3.8.15). The initial state for depth and depth/stencil
> textures treats them as RED textures."
> Your cited text from Appendix E is confusing and can be ignored. Sorry
> that I didn't review this earlier.
> I fixed this in Mesa some time ago:
BTW, at the end of src/gallium/docs/source/tgsi.rst we still have "TBD"
as the tuple returned from depth textures in Gallium. I'm pressed for
time ATM, but I think we're usually returning (z,z,z,z). Maybe you can
check on that and update the table.
More information about the Piglit