Summary: | [i965 gles2c bisected] OpenGL ES 2.0 conformance GL2Tests_GetBIFD_input.run regressed | ||
---|---|---|---|
Product: | Mesa | Reporter: | fangxun <xunx.fang> |
Component: | Drivers/DRI/i965 | Assignee: | Kenneth Graunke <kenneth> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | idr, kenneth |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
fangxun
2010-11-09 03:51:40 UTC
This test is checking the values of some of the implementation limits. Can you attach the before and after output from just that test? Compare failed output with passed output, the diffrence is: #+ glGetFloatv returned invalid value with enum : GL_MAX_FRAGMENT_UNIFORM_VECTORS #+ glGetIntegerv returned invalid value with enum : GL_MAX_FRAGMENT_UNIFORM_VECTORS #+ glGetFloatv returned invalid value with enum : GL_MAX_VARYING_VECTORS #+ glGetIntegerv returned invalid value with enum : GL_MAX_VARYING_VECTORS #+ glGetFloatv returned invalid value with enum : GL_MAX_VERTEX_UNIFORM_VECTORS #+ glGetIntegerv returned invalid value with enum : GL_MAX_VERTEX_UNIFORM_VECTORS (In reply to comment #2) > Compare failed output with passed output, the diffrence is: > #+ glGetFloatv returned invalid value with enum : > GL_MAX_FRAGMENT_UNIFORM_VECTORS > #+ glGetIntegerv returned invalid value with enum : > GL_MAX_FRAGMENT_UNIFORM_VECTORS > #+ glGetFloatv returned invalid value with enum : GL_MAX_VARYING_VECTORS > #+ glGetIntegerv returned invalid value with enum : GL_MAX_VARYING_VECTORS > #+ glGetFloatv returned invalid value with enum : GL_MAX_VERTEX_UNIFORM_VECTORS > #+ glGetIntegerv returned invalid value with enum : > GL_MAX_VERTEX_UNIFORM_VECTORS These are the OpenGL ES 2.0 "replacements" for GL_MAX_FRAGMENT_UNIFORM_COMPONENTS, GL_MAX_VERTEX_UNIFORM_COMPONENTS, and GL_MAX_VARYING_FLOATS. It's possible that this never actually worked. We'll look into it. commit 1197393faa285bee0d99409a1c82f575dbcbc708 Author: Kenneth Graunke <kenneth@whitecape.org> Date: Wed Nov 24 13:59:46 2010 -0800 mesa: Fix glGet of ES2's GL_MAX_*_VECTORS properties. Previously, the get table listed all three as having custom locations, yet find_custom_value did not have cases to handle them. MAX_VARYING_VECTORS does not need a custom location since MaxVaryings is already stored as float[4] (or vec4). MaxUniformComponents is stored as the number of floats, however, so a custom implementation that divides by 4 is necessary. Fixes bugs.freedesktop.org #31495. Verified with Mesa master commit: 1eb7a81f2e43842acd59929ce65db2142b69134d. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.