Brian
767cac1494
Add a few missing GL 2.0 entrypoints, regenerate related files.
Specifically:
glVertexAttrib4bv
glVertexAttrib4iv
glVertexAttrib4ubv
glVertexAttrib4uiv
glVertexAttrib4usv
18 lat temu
zhang
37aca21129
a variety of fixes for MingW
18 lat temu
Brian
b0b02507b4
remove t_save_api.c and some other obsolete files, may be more
18 lat temu
Brian
2233d4c1ee
remove obsolete t_save_api.c
18 lat temu
Brian
3b10f50efb
use larger point/sprite size
18 lat temu
Brian
1a55e97c9c
increase MAX_POINT_SIZE to 60
18 lat temu
Brian
3156854c25
XXX comment about point clamping
18 lat temu
Brian
369d6654d4
added comment, remove dead code
18 lat temu
Oliver McFadden
e92903e24c
r300: Initial work on merging the real and generated vertex program functions.
18 lat temu
Oliver McFadden
43e601206d
r300: Should use inst_count not 0 for R300_PVS_CNTL_3_PROGRAM_UNKNOWN_SHIFT.
18 lat temu
Oliver McFadden
62b83638a5
r300: The vpi, vpp, and vps counts are already initialized; don't do it twice.
18 lat temu
Oliver McFadden
b41ef55061
r300: Clean up the vertex program state code slightly; still needs lots of work.
18 lat temu
Oliver McFadden
252fc61e48
r300: Vertex program position end bits are known.
Possibly performance may improve by setting it to the last instruction that
writes result.position, rather than the last instruction in the vertex program.
18 lat temu
Oliver McFadden
27c8488526
r300: Removed unused vap_param structure.
18 lat temu
Oliver McFadden
804d3a8f6e
r300: Cleaned up long lines in the vertex functions.
18 lat temu
Oliver McFadden
909091b7dc
r300: Setup the default state for polygon offset point/line.
I believe there are still bugs with all polygon offset types. The point and line
types may need to be handled specially, too.
This shouldn't break anything because it just enabled the occlusion control bits
for polygon offset.
18 lat temu
Oliver McFadden
bf334d852d
r300: Cleaned up the r300SetupVertexShader function.
18 lat temu
Oliver McFadden
204f9e3fdb
r300: Cleaned up the r300SetupPixelShader function.
18 lat temu
Oliver McFadden
381b86329e
r300: Trivial clean up in radeon_lock.h.
18 lat temu
Dave Airlie
5eb2015a96
r300: 2288 is a tcl only reg
18 lat temu
Eric Anholt
1a413b4d77
Use -pthread instead of -lpthread on FreeBSD.
18 lat temu
Brian
1d52b6aaf4
fix bug rendering points with fragment program (see #11330)
18 lat temu
Brian
1bf5076569
Fix feedback color bug #11332. In feedback mode, produce float colors.
18 lat temu
Dave Airlie
0f7f6e4e95
clean up cache flush emission into one place
makes gears work with swtcl
18 lat temu
Brian
6a3ed5eb96
Random state-change / primitive rendering. Good for hammering on a driver...
18 lat temu
Brian
578559822e
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
18 lat temu
Brian
93becd8a18
fix rgba pointer bug hit on zoomed+fogged glDrawPixels
18 lat temu
Brian
4d528e5454
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
18 lat temu
Oliver McFadden
ed5ed6fe2f
r300: Corrected a bug in r300LineWidth.
Thanks to Panagiotis Papadakos for reporting it.
18 lat temu
Brian
171dcdfa27
Another round of fixing attribute interpolation for glDraw/CopyPixels.
Need to turn off FRAG_BIT_COL0 in swrast->_ActiveAttribMask when doing
glRead/CopyPixels to prevent the user's colors from getting overwritten
when a fragment program is active.
This was happening in the DRI drivers when MaintainTexEnv program was
used (the texenv fragment program was enabled when _swrast_DrawPixels was
called).
This still isn't an ideal solution, but fixes things for now.
18 lat temu
Brian
fe11b2c04b
rename _swrast_update_fragment_attribs()
18 lat temu
Dave Airlie
41d28d97f5
clean up color0 code
18 lat temu
Dave Airlie
36235e5ff1
add a mem use for current dma buffer
18 lat temu
Dave Airlie
faab84cfa6
fix unfilled tris/quads
18 lat temu
Dave Airlie
d3ef71166d
ensure cmd buffer space
18 lat temu
Dave Airlie
d1be4ab80f
fix up vertex emission before state change
18 lat temu
Dave Airlie
025efae411
fix secondary color, fog is off for now
18 lat temu
Dave Airlie
6d8a4312ed
fix projtex
18 lat temu
Dave Airlie
ad8abf7147
fix quad-clip
18 lat temu
Dave Airlie
08fb0bad72
bring over vertex engine setup code from r300_Render and fix up
now have gears going.. + a few other trivial textured demoes
18 lat temu
Brian
f9c17ec58a
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
18 lat temu
Brian
a4af3e5ab3
Effectively disable _TexEnvProgram before calling _swrast_DrawPixels().
It's OK to use _TexEnvProgram regardless of the texture state, but if fog
is also enabled, the fragment program is lacking the actual fog computation
so fogging doesn't appear.
Fixing this might involve a new _MaintainFogProgram field and related code.
For now, just disable the _TexEnvProgram and let swrast handle everything.
18 lat temu
Brian
b9080dd549
fix glDrawPixels + fragment program problem
18 lat temu
Brian
c1cb541233
copy wpos attrib info into zoomed span (fixes fog perspective correction problem)
18 lat temu
Dave Airlie
d7777f4598
fixup some bits of tcl path
18 lat temu
Dave Airlie
2a6082b531
swtcl: gears works
18 lat temu
Brian
bd8eeb7ed0
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
18 lat temu
Dave Airlie
4a841b969a
more commits to fix things and stuff - still not doing anything except crashin
18 lat temu
Dave Airlie
492bc67df1
swtcl add debug and fix offset
18 lat temu
Dave Airlie
780ae9f17d
cleaned up reduced prim
18 lat temu