srol...@vmware.com writes: > From: Roland Scheidegger <srol...@vmware.com> > > core GL specifies out-of-bound texel fetches return undefined results, > except in a robust context with ARB_robust_buffer_access_behavior supported > (which is core in 4.3), in which case texel fetch will return 0 (OpenGL 4.3 > compatibility profile, page 387, subsection 11.1.3.2 Texel Fetches). > Since the test requires neither robust context nor that extension it cannot > assume any specific result value. In any case even returning zero is not what > the test expected, since it wanted [0,0,0,1] instead. > (With this change softpipe passes the test, as it clamps the coords.) > > v2: fix black->undefined, formatting, comments
Reviewed-by: Eric Anholt <e...@anholt.net>
pgpE8Acxe0MGN.pgp
Description: PGP signature
_______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit