Bug 29627 - [glsl2] Matrix comparison not implemented for non-constants
Summary: [glsl2] Matrix comparison not implemented for non-constants
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: All All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
: 29694 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-17 16:11 UTC by Ian Romanick
Modified: 2010-08-27 17:47 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Ian Romanick 2010-08-17 16:11:10 UTC
piglit test cases glsl-mat-from-int-ctor-* attempt to construct matrices and compare them with expected values.  These tests fail seemingly because the matrix comparisons are not broken down into vector operations.  This results in a assertion failure in ir_to_mesa:

shader_runner: program/ir_to_mesa.cpp:727: virtual void ir_to_mesa_visitor::visit(ir_expression*): Assertion `!ir->operands[operand]->type->is_matrix()' failed.
Comment 1 Eric Anholt 2010-08-22 18:49:52 UTC
*** Bug 29694 has been marked as a duplicate of this bug. ***
Comment 2 Ian Romanick 2010-08-27 17:47:35 UTC
commit 120d5a95cb983b0b983089ba415486c55a9196e3
Author: Ian Romanick <ian.d.romanick@intel.com>
Date:   Wed Aug 18 17:53:47 2010 -0700

    glsl2: Decompose matrix comparison into vector operations


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.