Summary: | piglit/shaders/glsl-texcoord-array fail | ||
---|---|---|---|
Product: | Mesa | Reporter: | Gordon Jin <gordon.jin> |
Component: | Drivers/DRI/i965 | Assignee: | Eric Anholt <eric> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 29044 |
Description
Gordon Jin
2010-06-29 20:01:53 UTC
This will likely block on 965 VS codegen for glsl2. Fixed by these patches in Mesa master. This will be cherry-picked to 7.9 branch shortly. commit a6ecd1c3724a78b76ab9e81ea39632f1279021f8 Author: Ian Romanick <ian.d.romanick@intel.com> Date: Thu Sep 16 14:40:26 2010 +0200 glsl2: Add flags to enable variable index lowering commit 6e4fe39da26bf101f5fe1103ba426c0903445352 Author: Ian Romanick <ian.d.romanick@intel.com> Date: Thu Sep 16 12:12:22 2010 +0200 glsl2: Refactor testing for whether a deref is of a matrix or array commit a47539c7a155475de00fa812842721d239abb3f4 Author: Luca Barbieri <luca@luca-barbieri.com> Date: Wed Sep 8 01:35:44 2010 +0200 glsl: add pass to lower variable array indexing to conditional assignments Currenly GLSL happily generates indirect addressing of any kind of arrays. Unfortunately DirectX 9 GPUs are not guaranteed to support any of them in general. This pass fixes that by lowering such constructs to a binary search on the values, followed at the end by vectorized generation of equality masks, and 4 conditional assignments for each mask generation. Note that this requires the ir_binop_equal change so that we can emit SEQ to generate the boolean masks. Unfortunately, ir_structure_splitting is too dumb to turn the resulting constant array references to individual variables, so this will need to be added too before this pass can actually be effective for temps. Several patches in the glsl2-lower-variable-indexing were squashed into this commit. These patches fix bugs in Luca's original implementation, and the individual patches can be seen in that branch. This was done to aid bisecting in the future. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Yes, it passed now these 2 days on my side. I'll hold on marking it as verified until it hits 7.9 branch. verified with mesa: (master)16a457bba6909d0c34036277eb3a56f27f425c3d (7.9)361084ac4b16c6af59671b776b832034990766f0 |
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.