Re: r200 fragment shader and constants

2005-01-29 Thread Dave Airlie
> b) define a new packet for 8 elements, make driver use it everywhere, > leave old code in DRM for backwards compat... (not sure this is possible, > as it uses the register address to work things out...) > actually this is what I've done for the pixshader vs fragshader instructions. which overlap

r200 fragment shader and constants

2005-01-29 Thread Dave Airlie
Currently the r200 driver has TFACTOR_0 packet, which takes 6 constants, however there are actually 8 constant registers used in ATI_fs and the two extra are just after the the other 6 So what is the best way to approach adding thse two, a) define a new packet for just 2 elements.. makes cons