Created attachment 37805 [details] on master branch teapot's color with button '2' System Environment: -------------------------- Arch: x86_64 Platform: Calpella/Piketon Libdrm: (master)2.4.21-15-gb04515c5d6c95f573457a94267b855cceb639105 Mesa: (glsl2)f8d2cfe4a699faebd42bd1874ef0329d37791dd7 Xserver: (master)xorg-server-1.8.99.905-12-g8d7b7a0d71e0b89321b3341b781bc8845386def6 Cairo: (master)046b642db0782ab5e2a5c82988b21e05afe8e716 Kernel: (for-linus)9fe6206f400646a2322096b56c59891d530e8d51 Bug detailed description: ------------------------- With Mesa (glsl2)f8d2cfe4a699faebd42bd1874ef0329d37791dd7, Mesa demos Multinoise can not change the color of teapot in displaying as the same as using LIBGL_ALWAYS_SOFTWARE=1.But with Mesa (master) cc732bf894f58fd1533709ac60d3af4c80bd01b0 it run correctly. Reproduce steps: ---------------- 1.xinit& 2.[LIBGL_ALWAYS_SOFTWARE=1] ./multinoise 3.change the teapot color with button on keyboard according to the codes such as “a”、“2”
Original behavior restored by the patches below. There's still more work to be done here as i965 has no noise support now. Also, emitting a noise opcode instead of a noise function is just silly. commit 1f3c7d968c4313dbb71bc93306556cc9292d06ef Author: Ian Romanick <ian.d.romanick@intel.com> Date: Wed Sep 1 21:23:52 2010 -0700 glsl2: Implement noise[1234] built-in functions using ir_unop_noise commit 2b70dbfe091af5ae7c788e16275e1af2cb1c284c Author: Ian Romanick <ian.d.romanick@intel.com> Date: Thu Sep 9 15:25:32 2010 -0700 glsl2: Add EmitNoNoise flag, use it to remove noise opcodes commit 547131ac8750acabd030972fc768705c13d19ef7 Author: Ian Romanick <ian.d.romanick@intel.com> Date: Thu Sep 9 15:20:09 2010 -0700 glsl2: Add lowering pass to remove noise opcodes commit 3a5ce85cfa4914711e56c8cf831699242618928e Author: Ian Romanick <ian.d.romanick@intel.com> Date: Wed Sep 1 21:12:10 2010 -0700 glsl2: Add ir_unop_noise
I tested it with the newest commit c4046d4fda2fe838659bff99bfa17f57f895a943. It can just run correctly when using LIBGL_ALWAYS_SOFTWARE=1. That is same as bug#29496 Thanks !!
I filed new bug#30154 to specify.
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.