[Bug 66067] Trine 2's fragment normal buffer is mixtextured on Radeon HD 6770 (Juniper)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment # 28 on bug 66067 from
Created attachment 110801 [details]
LD_PRELOAD library to fix Trine's ARB shaders

Trine Enchanted Edition (port/remake of Trine 1 in the Trine 2 engine) has the
same lighting problem.

Since the attached radeonsi patch no longer applies, I have created a small
LD_PRELOAD library to change all instances of " SHADOW2D;" to "       2D;" in
ARB shaders. Using this confirms that it's still the same bug.

Obviously fglrx somehow silently falls back to non-shadow samplers. Is this
also the case for the nvidia driver with ARB shaders or does that just get fed
Cg shaders directly? If so, would it be feasible for Mesa to include something
like the "Handle sampler depth compare mode" but for ARB shaders only? Or at
least a drirc option - either to decide based on the compare mode or to disable
shadow samplers completely?


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux