Summary: | [i965 Bisected]Ogles2conform GL2Tests/three_uniforms/three_uniforms_vec4_ivec4_bool_use_ivec4_to_render_frag.test fails | ||
---|---|---|---|
Product: | Mesa | Reporter: | lu hua <huax.lu> |
Component: | Drivers/DRI/i965 | Assignee: | Tapani Pälli <lemody> |
Status: | VERIFIED FIXED | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | major | ||
Priority: | high | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
lu hua
2013-12-06 02:36:15 UTC
This happens because the test has flag to use either vec4 or ivec4 uniform. Then branch uses assignment where rvalue expression does i2f on a ivec4, else branch just uses swizzle from a vec4 value. I've sent a patch to mesa-dev to check that types of MOV operation src match which fixes this issue. fix committed It still fails on Sandybridge. (In reply to comment #3) > It still fails on Sandybridge. Not for me .. can you copy paste these lines from test ouput, Do we have some difference there? --- 8< --- gtf_version: 3.0 mode: egl arg: ./GTF -width=64 -height=64 -run=GL2Tests/three_uniforms/three_uniforms_vec4_ivec4_bool_use_ivec4_to_render_frag.test gl_renderer: Mesa DRI Intel(R) Sandybridge Desktop gl_shading_language_version: 1.40 gl_version: 3.1 (Core Profile) Mesa 10.1.0-devel (git-e8ff08e) ConfigID: 64 RGBA bits( 8, 8, 8, 8) Depth bits: 24 Stencil bits: 8 gtf_version: 3.0 mode: egl arg: ./GTF -width=64 -height=64 -run=GL2Tests/three_uniforms/three_uniforms_vec4_ivec4_bool_use_ivec4_to_render_frag.test gl_renderer: Mesa DRI Intel(R) Sandybridge Desktop x86/MMX/SSE2 gl_shading_language_version: OpenGL ES GLSL ES 3.0 gl_version: OpenGL ES 3.0 Mesa 10.1.0-devel (git-847bc36) gl_vendor: Intel Open Source Technology Center gl_extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_npot GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_vertex_array_object GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_EXT_map_buffer_range GL_OES_depth_texture_cube_map GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_shader_integer_mix stamp: 20140109140917 Zero epsilon: 0.000122, RGBA epsilon: ( 0.004044, 0.004044, 0.004044, 0.004044) three_uniforms: Start #+ GL2Tests/three_uniforms/three_uniforms_vec4_ivec4_bool_use_ivec4_to_render_frag.shader1.ppm and GL2Tests/three_uniforms/three_uniforms_vec4_ivec4_bool_use_ivec4_to_render_frag.shader2.ppm are different three_uniforms: total = 1, failure = 1, #1 (In reply to comment #5) > gl_version: OpenGL ES 3.0 Mesa 10.1.0-devel (git-847bc36) I think the problem is that your Mesa does not have the fix yet, my commit is just one commit above 847bc36, please try again with at least 0978a69 or above. (In reply to comment #6) > (In reply to comment #5) > > gl_version: OpenGL ES 3.0 Mesa 10.1.0-devel (git-847bc36) > > I think the problem is that your Mesa does not have the fix yet, my commit > is just one commit above 847bc36, please try again with at least 0978a69 or > above. Fixed on latest Mesa. Verified.Fixed. |
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.