Bug 29638 - [glsl2]Mesa demo fpglsl render incorrectly
Summary: [glsl2]Mesa demo fpglsl render incorrectly
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: All Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact:
Depends on:
Reported: 2010-08-17 22:37 UTC by wang,jinjin
Modified: 2010-08-27 00:45 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

test picture on glsl2 (77.43 KB, image/png)
2010-08-17 22:37 UTC, wang,jinjin
test picture on master not merged (41.31 KB, image/png)
2010-08-17 22:41 UTC, wang,jinjin

Description wang,jinjin 2010-08-17 22:37:40 UTC
Created attachment 37936 [details]
test picture on glsl2

System Environment:
Arch:       x86_64
Platform:   Calpella/Piketon
Libdrm:         (master)2.4.21-15-gb04515c5d6c95f573457a94267b855cceb639105
Mesa:        (glsl2)commit a433cd286c60eb9d4c2114f042709eda0f3de676
Xserver:                (master)xorg-server-
Cairo:          (master)046b642db0782ab5e2a5c82988b21e05afe8e716
Kernel: (for-linus)9fe6206f400646a2322096b56c59891d530e8d51

Bug detailed description:
With Mesa (glsl2)commit a433cd286c60eb9d4c2114f042709eda0f3de676, Mesa demos fpglsl with tex-multi.glsl displayed differently from (master)
15a3b42e135a3a2cb463ec3cff80a55dd8528051 that not merged with glsl2.And the problem also be found in the newest master branch.

Reproduce steps:
2.cd /GFX/build/component/Mesa_demos/src/fpglsl
3. ./fp-tri tex-multi.glsl
Comment 1 wang,jinjin 2010-08-17 22:41:54 UTC
Created attachment 37937 [details]
test picture on master not merged
Comment 2 Eric Anholt 2010-08-25 17:33:25 UTC
The demo code is broken and doesn't set its texture sampler uniforms.  See glsl-fs-sampler-numbering-* for working tests of multitexture sampling issues.
Comment 3 Brian Paul 2010-08-26 07:27:24 UTC
I've fixed the demo program.
Comment 4 wang,jinjin 2010-08-27 00:45:23 UTC
Tahnks Brian Paul. It run correctly with the demo code ac1d244a50087cd454c0eea02115561fac932865

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.