https://bugs.freedesktop.org/show_bug.cgi?id=28670

--- Comment #10 from Michel Dänzer <[email protected]> 2010-06-24 02:41:08 PDT 
---
(In reply to comment #7)
> Wouldn't it be possible to have a simple shader that checked whether the 
> sample
> point was outside the bounds and simply return 0 in that case instead of
> sampling?

One problem with that is the required filtering between samples inside and
outside of the picture; it would require doing the filtering in the shader as
well. Less efficient than using the hardware texture sampler filtering
capabilities, though certainly doable.


(In reply to comment #9)
> the transformed RGB24+RepeatNone case is quite a common fallback situation.
> If it can't be done with shaders, would a temporary ARGB32 pixmap help?

That's probably one of many possible solutions.

Something else that might help would be for exaComposite() to try RepeatPad if
the driver can't handle RepeatNone and the operation doesn't sample outside of
the picture.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
xorg-driver-ati mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-driver-ati

Reply via email to