Oliver McFadden
65fae19383
Revert "r300: Perform the locking closer to the DRM texture upload call."
This reverts commit 93881edb46 .
il y a 18 ans
Roland Scheidegger
b78aec5767
bring over recent radeonMakeCurrent fixes for r300 to radeon/r200
il y a 18 ans
Oliver McFadden
6bae7d40f7
r300: Removed the name argument to ALLOC_STATE; do the name via the macro.
il y a 18 ans
Oliver McFadden
5f1f1f5704
r300: Renamed r300DoEmitState to r300EmitAtoms.
il y a 18 ans
Oliver McFadden
93881edb46
r300: Perform the locking closer to the DRM texture upload call.
This might help if with attaching GDB if the driver gets into a -EAGAIN loop.
il y a 18 ans
Oliver McFadden
56b99ace19
r300: Removed unused FORCE_32BITS_ELTS define.
il y a 18 ans
Oliver McFadden
3aad47679e
r300: Removed the unused CPT macro.
il y a 18 ans
Oliver McFadden
dac5303692
r300: Moved r300PackFloat24 near r300PackFloat32.
il y a 18 ans
Oliver McFadden
64b03f33ee
r300: Added insert_at_tail to the ALLOC_STATE macro.
il y a 18 ans
Oliver McFadden
b8b0dd1e20
Revert "r300: Merged radeon_span.c."
This reverts commit 0aa998b2ab .
il y a 18 ans
Oliver McFadden
93f9e61f43
r300: Corrected another error; regexp replaced something it shouldn't have.
il y a 18 ans
Oliver McFadden
f405fbb36d
r300: Corrected some macro errors from the previous commit.
il y a 18 ans
Oliver McFadden
5a09ea01e0
r300: Reduced the diff on radeon_lock.[ch].
il y a 18 ans
Oliver McFadden
98d25a5a28
r300: Initial work on merging radeon_lock.[ch].
il y a 18 ans
Oliver McFadden
0aa998b2ab
r300: Merged radeon_span.c.
il y a 18 ans
Oliver McFadden
b6087270a0
r300: Cleaned up function names in r300_texstate.c.
il y a 18 ans
Oliver McFadden
3f709f16ef
r300: Enable hardware 3D texture support. Fixes the stex3d demo.
il y a 18 ans
Oliver McFadden
67363327e5
r300: Corrected a small error from 37cbf38c344012f9d6e938937dac3697b73721a8.
il y a 18 ans
Oliver McFadden
bcaf8fc7b1
r300: Cleaned up the blend factor function.
il y a 18 ans
Oliver McFadden
ef29d6af6c
r300: Removed the r300BindProgram function; mesa default does better checking.
il y a 18 ans
Oliver McFadden
6a69bb5864
r300: Removed deprecated/disabled VBO code from r300_mem.c
Also removed a couple of unused fields from the r300_memory_manager structure.
il y a 18 ans
Oliver McFadden
cbd29adbc8
r300: Indented r300_mem.c; I forgot this because it used to be radeon_mm.c.
il y a 18 ans
Oliver McFadden
c729e67321
r300: Use __FUNCTION__ not __func__.
Just for consistency; most of the code already uses __FUNCTION__.
il y a 18 ans
Oliver McFadden
5b23d36613
r300: Assert if the primitive type is unknown; this can't really happen.
il y a 18 ans
Oliver McFadden
a87390504f
r300: Moved some code around in r300_render.c and general clean up.
il y a 18 ans
Brian
cc358d861d
user-declared uniform structs not supported yet (see bug 10908)
il y a 18 ans
Brian
749e093e33
don't ignore return value of _slang_codegen_global_variable()
il y a 18 ans
Brian
eab6e16522
remove some unneeded code in init_machine()
il y a 18 ans
Oliver McFadden
1b39be3790
r300: Removed some checking in r300NumVerts that is not needed.
According to Aapo Tahkola the OpenGL specification defines the behaviour when
there are not enough vertices for the primitive type, thus DRI drivers do not
need to perform verification on the number of vertices per primitive.
il y a 18 ans
Oliver McFadden
69ff5a3dbc
r300: Function naming correction in r300_texmem.c.
il y a 18 ans
Oliver McFadden
01ec508c7f
r300: Cleaned up function names in r300_state.c.
il y a 18 ans
Oliver McFadden
d4e3b0b2c2
r300: Cleaned up function naming in r300_emit.c.
il y a 18 ans
Oliver McFadden
b63c70666f
r300: Renamed r300_maos.c to r300_emit.c; it contains mostly emit code now.
il y a 18 ans
Brian
c33c00764c
Remove unused FB_* tokens, re-indent code.
il y a 18 ans
Brian
6c342ad859
When feeding back texcoords, don't divide by W. See bug 10913.
il y a 18 ans
Patrick Baggett
86e4f52f3c
Fix some bugs related to loop counters and conditional branching.
il y a 18 ans
Brian
f0707c789a
more indentation fixes, remove 'register' keywords
il y a 18 ans
Brian
aed53ba525
re-indent some code
il y a 18 ans
Brian
3dec7c57b0
document exp(), mod() fixes
il y a 18 ans
Brian
544e441f53
regenerated
il y a 18 ans
Brian
fa546c367d
Implement exp() in terms of __asm float_power. Fix typo in mod(vec4) function.
exp() was using __asm float_exp (OPCODE_EXP) but that computes base two, not e.
See bug 10907.
il y a 18 ans
Ian Romanick
64a6a50155
Fix reversed enable logic in enable_texture
Fix bug inserted in commit c9e723e501 .
Discovered by Oliver McFadden (z3ro).
il y a 18 ans
Oliver McFadden
c103453d4f
r300: Added TODO comment regarding texture tiling; I'm not sure about this.
il y a 18 ans
Oliver McFadden
d7e3d1dc42
r300: Corrected a compile error introduced by one of the previous commits.
il y a 18 ans
Oliver McFadden
02e44e41c8
r300: Removed obsolete start_index16_packet/start_index32_packet.
It's all in r300_render.c now.
il y a 18 ans
Oliver McFadden
eed67a6e3e
r300: Moved some more emit code into r300_render.c.
il y a 18 ans
Oliver McFadden
e856edb279
r300: Moved some more of the emit code into r300_render.c.
il y a 18 ans
Brian
58239d2ae3
document tex sampler bug fix, code changes
il y a 18 ans
Brian
2f6a0840c4
Replace `pkg-config --cflags libdrm` with LIBDRM_CFLAGS, remove disabled lines, remove obsolete comments.
il y a 18 ans
Ian Romanick
c9e723e501
Convert "bit" parameters to GLbitfield. Fix cut-and-paste bug in _mesa_IsEnabled
These changes are based on patch review comments from Brian Paul, Alan
Hourihane, and vehemens.
il y a 18 ans