I'm sorry if this has been revealed here before.
So... I asked NVIDIA why the depth bound checks ("UltraShadow") is only available in the NV35 and not across the entire NV3x line. The way I worded my question was such that I felt that perhaps it could even be done on non-NVIDIA hardware.
I have not asked them follow-up questions based on their answer above.
So... I asked NVIDIA why the depth bound checks ("UltraShadow") is only available in the NV35 and not across the entire NV3x line. The way I worded my question was such that I felt that perhaps it could even be done on non-NVIDIA hardware.
NVIDIA to Rev said:It is most definitely in HW.
The chips have early culling units and in the raster operations have this extra state (the z near and z far values) in order to do the check. The test occurs between the depth value of the pixel and the specified depth bounds.
It is not based upon the fragment geometry. This requires specialized hardware. If it can't store those values and perform the test i.e. eliminate fragments based on the test results, then it won't work...
The ability to do this is not in the legacy hardware because it wasn't invented at the time.
I have not asked them follow-up questions based on their answer above.