Ben Skeggs
eeada48497
Implement enough of ARB_fragment_program for Keith's texenv program
generation in Mesa. Requires most recent Mesa cvs to work correctly.
Swizzle code is possibly slow/buggy and will probably be replaced.
Old behaviour can be controlled by a #define in r300_context.h, if
no-one minds I'll remove the old code later on.
Also, disabled cube map extension. AFAIK We don't support it yet,
and it causes issues with UT2004.
vor 20 Jahren
Keith Whitwell
0c4731b27c
Use SSE for vertex emit -- another good speedup.
vor 20 Jahren
Keith Whitwell
17bcf9f816
Import Thomas Helstrom's SSE memcpy code from the via X.org driver.
Add a TextureMemCpy callback, called from texstore.c when copying
texture data via the memcpy_texture() path.
Enable this code in the via driver - 100% speedup in texdown.c results.
vor 20 Jahren
Keith Whitwell
eb9d6f44a9
silence gcc warnings
vor 20 Jahren
Keith Whitwell
241b6b7ab1
Detect use of disabled textures as tex_env_crossbar sources.
vor 20 Jahren
Keith Whitwell
2dea6df80b
Support ARB_texture_env_crossbar. Changes the way programs are
generated somewhat, with all TEX instructions now emitted at the head
of the program.
vor 20 Jahren
Keith Whitwell
6fe176a648
Restore the negate() function.
Add Ben Skegg's ATI_texture_env_combine3 support.
vor 20 Jahren
Jerome Glisse
eb8be5d923
Small change to handle native case (7 natives case)
vor 20 Jahren
Jerome Glisse
446980473d
Adding r300 fragment program swizzle tab. Please some
one reread macro at begining see if i made any error.
A full reread would also be usefull there may be some
errors for some swizzle despite the great care i took
to done them :)
vor 20 Jahren
Ian Romanick
b70a47736a
Add support for modes with a depth-buffer but no stencil-buffer. This
eliminates various "3D driver claims to not support visual" messages in
16-bit color mode.
vor 20 Jahren
Keith Whitwell
3cc2f82bb5
Remove debug printfs
vor 20 Jahren
Keith Whitwell
923515b3f8
Re-enable X11 optimized triangle funcs.
vor 20 Jahren
Brian Paul
e3e8067db7
use MAX_SCREENS instead of hard-coded number
vor 20 Jahren
Brian Paul
8f384f0b67
fix reversed strstr() args, print mode string
vor 20 Jahren
Brian Paul
e58d32947e
replace // with /* */
vor 20 Jahren
Jouk Jansen
063efce6ee
Committing in .
Update openVMS compile support
Modified Files:
Mesa/progs/demos/descrip.mms
Mesa/src/mesa/shader/slang/descrip.mms
Mesa/src/mesa/tnl/descrip.mms
----------------------------------------------------------------------
vor 20 Jahren
Jon Smirl
bab559b1fa
Remove some debug output
Add #if DEBUG_FRAG in s_nvfragprog.c
vor 20 Jahren
Adam Jackson
8f8e0f0b01
Use the 1.3 names for FogCoord*
vor 20 Jahren
Keith Whitwell
18a74321aa
Invalidate current fastpath on changes to attribute size or offset within
the vertex.
Use existing facilities to check for sse2 and enable when available.
Turn on SSE/SSE2 codegen for t_vertex.c by default when USE_SSE_ASM is
defined. Disable with "MESA_NO_CODEGEN=t".
vor 20 Jahren
Keith Whitwell
c2745ffa49
Cope with the common 3ub and 1ub cases.
Fix a few typos.
Note that sse_movss sets high dwords to zero when reading from memory.
Fix a few related bugs.
vor 20 Jahren
Keith Whitwell
9557401a98
Re-initialize viewport shadows each time.
vor 20 Jahren
Keith Whitwell
67cc1f6ba6
move osmesa demos to their own directory
vor 20 Jahren
Jon Smirl
c70dace694
Fix EGL fbdev palette problem. demo3 can save ppm of screen
vor 20 Jahren
Keith Whitwell
6040d34109
Rename emit functions to reflect instruction set in use (ie
x86,sse,sse2,mmx). Add paths for sse+mmx vs. the initial version
which assumed sse2 was available everywhere.
vor 20 Jahren
Brian Paul
8608978aba
remove the XFree86 ID line
vor 20 Jahren
Michal Krol
02168254a8
intermediate code generator (not finished);
generic back-end interpreter (interprets directly intermediate code)
vor 20 Jahren
Michal Krol
e5ff2b94ff
add static_assert macro
vor 20 Jahren
Michal Krol
216f89318e
fix info log grabbing
vor 20 Jahren
Aapo Tahkola
e3cdbca63f
Ditch unused code and features that arent in subject to get supported any near time.
vor 20 Jahren
Ian Romanick
6bc9ea1df9
In addition to dead-code removal and other clean-up, bump the required DDX
version from 1.0.0 to 1.1.1. 1.1.1 is over a year and a half old at this
point, so it should be pretty widespread. This allows the linecomp_sane
field to be eliminated from mga_screen_private_s.
vor 20 Jahren
Jon Smirl
9a1b5af333
Fix inverted y for egl fbdev, add egl demo3
vor 20 Jahren
Brian Paul
8818eae253
To better exercise pixel packing, replace regular glReadPixels with four
ReadPixels that get the image piece by piece.
vor 20 Jahren
Keith Whitwell
2b2bd08589
Remove old t_vertex.c codegen infrastructure, tie in new code.
Currently disabled, can enable with MESA_EXPERIMENTAL=t.
vor 20 Jahren
Keith Whitwell
dc7fc17396
Fix a few typos, initialize p->identity.
vor 20 Jahren
Keith Whitwell
96582f4f28
Eliminate a couple of swizzles.
vor 20 Jahren
Keith Whitwell
dd4c1dd038
Generates working SSE code for gears under the swrast driver.
vor 20 Jahren
Keith Whitwell
b745bf08cd
Checkpoint commit: Preliminary version of a facility to emit x86/sse code
to implement vertex emit functions for the t_vertex.c mechanism.
vor 20 Jahren
Aapo Tahkola
2f74adc41f
Stick texture LOD back on.
vor 20 Jahren
Aapo Tahkola
e53fc72f67
Polygon mode fixes.
vor 20 Jahren
Jon Smirl
bd565e4bb7
Fix for writing the wrong sysfs variable when blanking
vor 20 Jahren
Jon Smirl
9a3da7ea7b
Implement fbdev swapbuffers()
vor 20 Jahren
Ian Romanick
6e56f905d0
More comments. More dead-code removed. More clean-up.
vor 20 Jahren
Keith Whitwell
2860e5f536
Disable leftover debug statements
vor 20 Jahren
Brian Paul
22652f952f
fix some BCOMP/ACOMP typos (fixes Brad King's vtk failures)
vor 20 Jahren
Brian Paul
ae818ed1da
don't include strings.h
vor 20 Jahren
Brian Paul
198d6d05b0
remove eglQueryDisplayMESA()
vor 20 Jahren
Brian Paul
5a0cb726d1
fix pbuffer sample code
vor 20 Jahren
Brian Paul
d2ab4eb2c2
remove glmode stuff
vor 20 Jahren
Jon Smirl
2ec2e94e2e
Check error return from _eglInitPbufferSurface() correctly
vor 20 Jahren
Jon Smirl
40c1c723fb
Compute stride in the right order
vor 20 Jahren