Bug 29638

Summary: [glsl2]Mesa demo fpglsl render incorrectly
Product: Mesa Reporter: wang,jinjin <jinjin.wang>
Component: Mesa coreAssignee: mesa-dev
Status: VERIFIED NOTOURBUG QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: test picture on glsl2
test picture on master not merged

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-1.8.99.905-12-g8d7b7a0d71e0b89321b3341b781bc8845386def6
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:
----------------
1.xinit& 
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.
ac1d244a50087cd454c0eea02115561fac932865
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.