-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I just finished adding support for depth textures to r300.  I'd like to
add support for shadow maps too.  r300 implements shadow comparisons via
fragment program instructions instead of sampler state (like i9xx).
That seems to imply that we'd want to add support to texenvprogram.c to
generate the extra instructions.

I have a couple questions about doing this:

1. How should a driver communicate to texenvprogram.c that it needs the
extra instructions?  r300 will need this, but i9xx (and possibly r400?)
won't.

2. Where's the right place to do it in texenvprogram.c?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHFrZPX1gOwKyEAw8RAuG0AKCGi7VM5AXTYCfX+g9Viu2resJPFACgmQm+
kxXVicsKnzlBIt9Nh6RCIFA=
=Atnq
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to