View Full Version : ATI: no hardware support for dfdx, dfdy?
04-22-2004, 08:29 AM
ATI Radeon 9800 XT -- driver version: 18.104.22.16830
I recently purchased the Orange book and have been trying out the various shaders. All have worked fine, except for those that use dfdx... they force the card into a pokey less than 1 FPS software mode. An example is the hatching shader found on page 363. If I replace the line:
float dp = length(vec2(dFdx(V), dFdy(V)));
float dp = length(vec2(V, V));
the shader runs in hardware mode. (obviously not with the results I want though.)
04-22-2004, 09:45 AM
Don't use them. R300 hardware doesn't support them.
04-22-2004, 02:27 PM
Many of the Orange book's examples use them... Are you saying not to ever use them? (If so, what should I use instead?)
04-22-2004, 03:46 PM
AFAIK, only the GeForce FX and GeForce 6 series of video cards support the differentials in hardware. 3DLabs' P20 may also support them, but that hasn't been confirmed yet.
04-22-2004, 07:55 PM
Originally posted by al_bob:
AFAIK, only the GeForce FX and GeForce 6 series of video cards support the differentials in hardware. 3DLabs' P20 may also support them, but that hasn't been confirmed yet.The currently shipping Wildcat VP series also supports differentials in hardware. The hatch shader renders quite well :-)
04-22-2004, 09:30 PM
The currently shipping Wildcat VP series also supports differentials in hardware.Nice to know :)
The website (http://www.3dlabs.com/product/wildcatvp/vppro/specs.htm) says "DirectX 8.1 with vertex shader 1.1 and pixel shader 1.2", so I assumed it couldn't.
04-23-2004, 06:25 AM
Is there a workaround I could use that will work on ati cards as well?
Also, is this a case of the drivers not supporting it *yet* or they never will because of hardware limits?
04-23-2004, 04:59 PM
It's a hardware limitation.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.