Mailinglist Archive: radeonhd (365 mails)

< Previous Next >
Re: [radeonhd] [PATCH] R6xx/R7xx cleanup: Move shaders to seperate files.
  • From: Yang Zhao <yang@xxxxxxxxxx>
  • Date: Sun, 1 Mar 2009 16:06:38 -0800
  • Message-id: <40a7b1aa0903011606k57eb6e8fw2086e6a74db0de34@xxxxxxxxxxxxxx>
2009/3/1 Alex Deucher <alexdeucher@xxxxxxxxx>:
Also, IIRC, planar and packed Xv actually uses identical pixel
shaders, so the two can probably be merged into one.
But they use different texture fetch commands, so i don't think they can
be merged easyly, or am i missing something?

yeah, that's the only difference.  I was planning to add both tex
fetch clauses to the same shader and select between the using boolean
constant.  I have similar plans for the composite ps.

I ran a diff of the two segments for the heck of it, and noticed that
the planar version is still calling for 3 GPRs instead of 2. Might as
well correct that as well: line 1415 of 0002-*.patch


--
Yang Zhao
http://yangman.ca
--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx

< Previous Next >