[Mesa-dev] [PATCH] es2tri: Define precision in fragment shader

2012-07-09 Thread Shuang He
According to GLSL ES spec, section 4.5.2: "If the precision cannot be determined by this method e.g. if an entire expression is composed only of operands with no precision qualifier, and the result is not assigned or passed as an argument, then it is evaluated at the default precision of the typ

[Mesa-dev] [PATCH] progs/egl: Add an OpenGL ES 2.0 demo for EGL_OES_image_pixmap.

2011-07-19 Thread Shuang He
T, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + * + * Authors: + * Chia-I Wu + *Shuang He + */ + +/* + * This demo uses EGL_KHR_image_pixmap and GL_OES_EGL_image to demonstrate + * texture-from-pixmap. + */ +

Re: [Mesa-dev] Mesa (master): i965: Don't write mrf assignment for pointsize output

2010-11-25 Thread Shuang He
For you information: This commit fixes 17 OpenGL ES 2.0 conformance cases on i965 And also another 1 commit from Ken also fixes 1 case So We have 18 more passes on OpenGL ES 2.0 conformance on i965 these two days Thanks --Shuang On 2010-11-25 0:29, Kristian Høgsberg wrote: Module: Mesa Br

[Mesa-dev] [PATCH] i915: Fix INTEL_DEBUG=wm segmentation fault

2010-12-14 Thread Shuang He
The program should be disassembled after it's uploaded --- src/mesa/drivers/dri/i915/i915_fragprog.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mesa/drivers/dri/i915/i915_fragprog.c b/src/mesa/drivers/dri/i915/i915_fragprog.c index 7a9fb7f..1c6e984 10064

Re: [Mesa-dev] [PATCH] tnl: Add support for datatype GL_FIXED in vertex arrays

2011-02-14 Thread Shuang He
On 2011/2/15 13:08, Eric Anholt wrote: On Tue, 8 Feb 2011 14:30:55 -0800, Chad Versace wrote: Before populating the vertex buffer attribute pointer (VB->AttribPtr[]), convert vertex data in GL_FIXED format to GL_FLOAT. Fixes bug: http://bugs.freedesktop.org/show_bug.cgi?id=34047 Don't suppose

Re: [Mesa-dev] [PATCH 2/2] mesa: Include GIT SHA1 in GL version string

2011-03-31 Thread Shuang He
On 2011/4/1 9:24, Kristian Høgsberg wrote: On Thu, Mar 31, 2011 at 8:03 PM, Dan Nicholson wrote: On Thu, Mar 31, 2011 at 3:41 PM, Eric Anholt wrote: On Thu, 31 Mar 2011 13:56:56 -0700, Corbin Simpson wrote: On Thu, Mar 31, 2011 at 1:30 PM, Ian Romanick wrote: From: Ian Romanick --- Ma