PDA

View Full Version : one lil question about shaders.. and about GeForce crashing my pc...



gunslinger
01-07-2004, 11:54 PM
hi dudes, i am tring to understand vertex and fragment shaders, and i came across a little detail that i can't understand:
what does it mean "swizzling" in shader language?? In the spec files no one cares to explain it.
After that a little question, just 4 my personal concern (i hope not to go too much off topic). I have an amd k7 1GHz, via kt133 chipset, and i bought a geforce4 fx. Now as soon as it process 3d info, the pc hangs and crashes. did anyone come across the same prob?? How can i solve?
thank you all guys. Bye

Ysaneya
01-08-2004, 12:20 AM
Swizzling is when you replicate some components of a source register into different components of a destination register.

Ex.: src.xyzw = dst.xxyy

Will do:
src.x = dst.x
src.y = dst.x
src.z = dst.y
src.w = dst.y

Y.

gunslinger
01-08-2004, 01:01 AM
simple and clear,
thx Y!

Relic
01-08-2004, 08:18 AM
Somebody tricked you, there is no GeForce4 FX http://www.opengl.org/discussion_boards/ubb/wink.gif