| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
dispatch.h is kept as a wrapper to glapidispatch.h.
Signed-off-by: Chia-I Wu <[email protected]>
|
|
|
|
| |
Signed-off-by: Chia-I Wu <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This enables the remap table in core. driInitExtensions is adapted to
use the remap table. All uses of extension_helper.h are replaced by
remap_helper.h. The chicken-egg problem of the DRI drivers is also
solved.
It is now also possible to pass NULL extensions to driInitExtensions.
It will cause driInitExtensions to map all known functions. This
functionality is used by software drivers and EGL_i915.
Signed-off-by: Chia-I Wu <[email protected]>
|
|
|
|
|
|
|
| |
This commit only adds the source files. It is supposed to replace the
remap table in DRI drivers.
Signed-off-by: Chia-I Wu <[email protected]>
|
|
|
|
|
| |
Stride is set already in r700SetVertexFormat and there it works
correctly for 0 also
|
|
|
|
| |
at this point
|
|
|
|
|
|
|
|
|
| |
These haven't been used by the mesa state tracker since the
conversion to tgsi_ureg, and it seems that none of the
other state trackers are using it either.
This helps simplify one of the biggest suprises when starting off with
TGSI shaders.
|
|
|
|
|
|
|
|
|
|
|
| |
Provide a dummy implementation in the GL state tracker (move 0.5 to
the destination regs).
At some point, a motivated person could add a better
implementation of noise. Currently not even the nvidia
binary drivers do anything more than this. In any case, the
place to do this is in the GL state tracker, not the poor
driver.
|
| |
|
| |
|
| |
|
|
|
|
| |
Make it more consistent with other radeon drivers.
|
|
|
|
|
|
|
|
|
|
| |
processing"
This reverts commit f058b25881e08c9d89a33345e5c84e1357396932.
This change is completely wrong in so many ways. When clip distances
are generated as part of vertex processing, they must be interpolated
to perform clipping. Geometric clipping goes right out the window.
|
|\ |
|
| |
| |
| |
| |
| | |
Per the GLX spec, when changing rendering contexts, the old context
should first be flushed.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Setting intel->Fallback = 1 clobbered any fallback state that was already
set. Not sure where this hack originated (the git history is a little
convoluted). Define and use a new BRW_FALLBACK_DRAW bit instead. This
shouldn't break anything and could potentially fix some bugs (but no
specific ones are known).
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
The value was probably wrong too.
It was the same as INTEL_FALLBACK_DRAW_BUFFER.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Hm. I could have said "chew trident and spit it out," or perhaps
"spear trident," instead. Dohoho.
|
| |
| |
| |
| | |
As per FDO #17889.
|
|\|
| |
| |
| | |
git+ssh://[email protected]/git/mesa/mesa
|
| |
| |
| |
| | |
otherwise
|
| |
| |
| |
| |
| |
| |
| | |
Also avoids empty shader for "END" - seems to be somewhat valid fp
Maybe this can be done differently in the future (fake FRAG_RESULT_COLOR
already in Map_Fragment_Program() or is there a way to program the chip
to not hang in case of no exports.
|
| | |
|
| |
| |
| |
| |
| | |
strtod_l needs the xlocale.h header on Mac OS. It's possible other
non-Linux OSes would need this header too.
|
| | |
|
| |
| |
| |
| | |
Bug #24435
|
| |
| |
| |
| |
| | |
Fixes a 3.4% +/- 1.3% performance regression in my GL demo (n=3). The
other meta code could probably also use the same treatment.
|
|\|
| |
| |
| |
| |
| | |
git+ssh://[email protected]/git/mesa/mesa
regenerated lex.yy.c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The in kernel texture check fails because of both
bit11 flags being set on 16x16 textures. It tuns out
that these bits are still set and not cleared in the
pp_txpitch field of the texture. The attached patch
at least helps for this case on my machine. It clears
the bit 11 from the pitch field if the texture is smaller
and masks out that hight bits on the conventional width
and height field.
Fixes bug 24584
|
| |
| |
| |
| |
| |
| |
| |
| | |
size was being calculated based on 3 bytes per pixel with 24 bit depth
instead of 4 bytes. This caused corruption in the bottom 25% of objects.
This finishes fixing the menu/text corruption in compiz/kde4.
Signed-off-by: Robert Noland <[email protected]>
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
_mesa_strtod() is used for shader/program parsing where the decimal
point character is always '.' Use strtod_l() with a "C" locale to
ensure correct string->double conversion when the actual locale uses
another character such as ',' for the decimal point.
Fixes bug 24531.
|
| |
| |
| |
| |
| | |
We need to get the pitch from the texture level we are rendering to,
rather than just using the base texel width.
|
| |
| |
| |
| |
| |
| | |
Report unsupported attributes while I'm here.
Signed-off-by: Robert Noland <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Robert Noland <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Robert Noland <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Setting the wrong bo size resulting in an incomplete
read cache flush when reading the texture. This fixes the
compiz text corruption.
[agd5f: take hw pitch alignment into account]
|
| |
| |
| |
| |
| | |
need this to properly test with piglit/glean vert/fragprog tests
copied mostly from r300, many thanks to osiris, nha, airlied, others...
|
| |
| |
| |
| |
| | |
seems I overlooked this when removing hardcoded swizzles for this
one previously
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
- KILLGT takes 2 arguments
- arb KIL has no dst register
- add TODO about clause ending but currently piglit fp-kil passes and
does not hang the card
|
| |
| |
| |
| |
| |
| | |
makes blend functions work better
Signed-off-by: Dave Airlie <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Dave Airlie <[email protected]>
|
| |
| |
| |
| | |
Makes doom3 alot nicer..
|