Age | Commit message (Collapse) | Author |
|
|
|
|
|
Flush if we change context.
Also reinstate the old optimization of doing nothing if
nothing changes.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
|
|
drm_api is a set of hooks used by the dri2 state tracker, this wraps our
dri1 code around the same set of hooks.
Currently the dri2 build will produce nouveau_dri2.so which you'll need
to install as nouveau_dri.so if you wish to try it. The dri2 state
tracker doesn't make it easy for a driver to support both paths in the
same binary.
|
|
|
|
Gotta just slowly whittle this down.
|
|
It's called "invariant" for a reason. :3
|
|
|
|
|
|
These are nearly always the cause of hardlocks, so let's dump them.
|
|
|
|
Should work, but doesn't. At least it doesn't hardlock.
|
|
The MAX-based function can produce values that are non-monotonic for a span
which causes glitches in texture filtering. The sqrt-based one avoids that.
This is perhaps slightly slower than before, but the difference
probably isn't noticable given we're doing software mipmap filtering.
Issue reported by Nir Radian <nirr@horizonsemi.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
interfaces.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Also a fair amount of cleanup.
|
|
This keeps texture emit from invalidating CS.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
COS, SIN, and CSC are not simple.
|
|
|
|
We're cookin' now.
|
|
|
|
|
|
|