Welcome, Unregistered.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Reply
Old 10-Apr-2006, 20:13   #1
Alpha_Spartan
 
Join Date: May 2005
Posts: 559
Default Dedicated Shaders vs. Hybrid Shaders: Question

How many ops per clock can a traditional pixel shader do versus a hybrid shader? Is it true that hybrid shaders can only do one op per clock cycle while traditional (dedicated) shaders can do two ops per clock?

Shouldn't it be the other way around?
__________________
99% of misinterpretation is wishful thinking while the other 1% is plain old ignorance.
Alpha_Spartan is offline   Reply With Quote
Old 10-Apr-2006, 20:17   #2
Bobbler
Shazbot!
 
Join Date: May 2005
Location: Minneapolis, MN
Posts: 1,827
Default

I think it is completely up to implementation, and doesn't have anything to do with whether they are unified or dedicated.

I imagine you're talking about Xenos vs RSX... In which case, yes, RSX's 24 PS should be able to do 2 ops per clock while Xenos' 48 US should be able to do 1, iirc -- someone correct me if I'm wrong, I haven't paid all that much attention to the details.
Bobbler is offline   Reply With Quote
Old 10-Apr-2006, 20:37   #3
Alpha_Spartan
 
Join Date: May 2005
Posts: 559
Default

Quote:
Originally Posted by Bobbler
I think it is completely up to implementation, and doesn't have anything to do with whether they are unified or dedicated.

I imagine you're talking about Xenos vs RSX... In which case, yes, RSX's 24 PS should be able to do 2 ops per clock while Xenos' 48 US should be able to do 1, iirc -- someone correct me if I'm wrong, I haven't paid all that much attention to the details.
I remember reading that as well. The confusion comes in because I thought that unified shaders were more complex since they can do both pixel and vertex ops and therefore should be able to do one of each per clock, but that doesn't seem to be the case. It seems that the unified shaders are the ones that are simpler in design and thus can only do one op per cycle, while the dedicated shaders can do two.

But the advantage in having hybrid shaders is that their simpler and thus more can be packed on the die.
__________________
99% of misinterpretation is wishful thinking while the other 1% is plain old ignorance.
Alpha_Spartan is offline   Reply With Quote
Old 10-Apr-2006, 20:48   #4
ERP
Moderator
 
Join Date: Feb 2002
Location: Redmond, WA
Posts: 3,198
Default

Quote:
Originally Posted by Alpha_Spartan
I remember reading that as well. The confusion comes in because I thought that unified shaders were more complex since they can do both pixel and vertex ops and therefore should be able to do one of each per clock, but that doesn't seem to be the case. It seems that the unified shaders are the ones that are simpler in design and thus can only do one op per cycle, while the dedicated shaders can do two.

But the advantage in having hybrid shaders is that their simpler and thus more can be packed on the die.
It's purely a design decision, you could build unified shaders that do lots of ops/clock or none unified ones that do 1.

There is some reason to reduce the complexity of unified shaders, since it reduces the granularity at which you commit resources to a task, but it's not required.

The ide of the unified thing is it adds complexity, but means that ALU's will be idle less often, and if you have orthogonal requirements between vertex and pixel shaders then whay not use the same units. A vertex shader on a unified architecture can do anything the pixel shader can and vice versa. So for example vertex texturing is cheap in all unified designs, and not necessarilly so in none unified designs.
ERP is online now   Reply With Quote
Old 10-Apr-2006, 20:50   #5
Shifty Geezer
Grumpy Mod
 
Join Date: Dec 2004
Location: In a pretty pink padded cell
Posts: 26,060
Default

Quote:
Originally Posted by Alpha_Spartan
It seems that the unified shaders are the ones that are simpler in design and thus can only do one op per cycle, while the dedicated shaders can do two.

But the advantage in having hybrid shaders is that their simpler and thus more can be packed on the die.
No. You're way off the mark. The ability to process vertex and pixel shaders doesn't mean an ability to do that simultaneously. A (single core) CPU can calculate 3D graphics and audio, but that doesn't mean it can do them both at the same time. The US architecture allows a processing unit to process a vertex or pixel shader op per cycle. Non-unifed means the pipe processes either a vertex or pixel shader op, but can only process those. The advantage of US is that the hardware can adapt to the workload, so there's less chance of part of the graphics rendering hardware sitting idle as it awaits vertex or pixel work to finish. There's no particular reason why you couldn't double up processing for dual issue on unified shaders, except that you'd be reducing granularity and negating much of the advantage of being able to swap roles.
__________________
Shifty Geezer
...

Tolerance for internet moronism is exhausted. Anyone talking about people's attitudes in the Console fora, rather than games and technology, will feel my wrath. Read the FAQ to remind yourself how to behave and avoid unsightly incidents.
Shifty Geezer is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:25.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.