Oliver McFadden
42a04ada10
r300: Renamed the Mesa opcode translation functions.
17 years ago
Oliver McFadden
2ac2911554
r300: Renamed the destination-and-opcode/source macros to more appropriate names.
17 years ago
Brian
d3ebaa41f5
implement glGet/BindAttribLocationARB() for display lists
More such shader functions are needed...
17 years ago
Xiang, Haihao
0e34dcc6df
intel: fix the issue "VBO: Cannot allocate memory for a BO" on
965 after merging intel_context.c from i915 and i965. fix bug# 15152.
17 years ago
Brian
816fbeaa81
add GL_READ_FRAMEBUFFER_BINDING_EXT case, regenerate get.c file
17 years ago
Alex Deucher
b469e9e93c
R300: fix typo r300 fog reg
Noticed by pzad on IRC
17 years ago
Oliver McFadden
74aee365e3
r300: Merged the constant zero/one source macros.
17 years ago
Oliver McFadden
c75ffff84a
r300: Merged the Vector and Math Engine opcode macros.
17 years ago
Brian
dc6fab90b4
use ctx->Driver.DeleteProgram() in a few more places
17 years ago
Brian
731dec1bd5
delete default programs with ctx->Driver.DeleteProgram()
17 years ago
Michal Wajdeczko
c60b5dfde8
[965] Avoid emitting dead code for DPx/math instructions.
The pass1 optimization stage clears out writemasks and registers, but the
instructions themselves are still being processed at this stage, and could
have resulted in them still being emitted.
17 years ago
Michal Wajdeczko
bb419970ef
[965] Improve pinterp performance by delaying reads of just-written regs.
17 years ago
Michal Wajdeczko
6c1a98e97a
[965] Fix negating of unsigned value in emit_wpos_xy.
17 years ago
Michal Wajdeczko
5f10438f2d
[965] Add MVP code for position invariant vertex programs.
This fixes the arbvptorus demo.
17 years ago
Michal Wajdeczko
31fe7cf5e3
[win32] Use native aligned memory allocation functions.
17 years ago
Michal Wajdeczko
aa8a7ef823
[965] Shuffle state flags to match the order we initialize them in.
17 years ago
Michal Wajdeczko
9f6e8e89c8
intel: Use _mesa_ffs wrapper, and fix a use-after-free with INTEL_DEBUG=buf.
17 years ago
Brian
d933be6baf
Refactor PBO validate/map code.
We always need to do PBO validation, so do that in core Mesa before calling driver routine.
17 years ago
Brian
3c9862d337
include varray.h to silence warning
17 years ago
Brian
a429a25cd5
add a number of PBO validate/map/unmap functions
Helper functions for (some) drivers, including swrast.
17 years ago
Brian
85ea7ff25c
Fix some PBO breakage.
In _mesa_Bitmap, can't early return if bitmap ptr is NULL, it may be an offset
into a PBO. Similarly for _mesa_GetTexImage.
17 years ago
Zou Nan hai
7936c614ab
[i965] multiple rendering target fix
17 years ago
Zou Nan hai
7233eabaf0
[i915] GL_DEPTH_TEXTURE_MODE fix
17 years ago
Xiang, Haihao
bff94a91c6
mesa: The span array is only populated in single-pixel
point drawing function.
17 years ago
Eric Anholt
7183ccaa9d
[965] Initialize region surface key structure padding.
Fixes valgrind warnings, and potential performance loss from cache misses.
17 years ago
Eric Anholt
7d5f713fa5
[intel] Fix an uninitialized variable access in PRESUMED_OFFSET clearing.
It was harmless, as the only time we need to clear PRESUMED_OFFSET, the
variable had been initialized already.
17 years ago
Brian
e03dd83209
fix IEEE_ONE definition for ICC compiler (bug 15134)
17 years ago
Alex Deucher
65c4ced1cc
Radeon 9500 (0x4144) only has one pipe
confirmed by Reid Linnemann <lreid@cs.okstate.edu>
17 years ago
Brian
b5292b4d99
x86_init_func_size() returns int to indicate success/fail (bug 15119)
17 years ago
Brian
29054676a0
s/x86_init_func/x86_init_func_size (fixes bug 15119)
17 years ago
Zou Nan hai
947312e464
[i915] arb point sprite only support in i965
17 years ago
Zou Nan hai
c62f504eb6
[i915] fix fragment.position
17 years ago
Eric Anholt
b790b24ff9
[i915] Bug #13634: Fix bugs in 945 cube mipmap layout.
The most egregious, and the one the bug report and failure in the cubemap
demo were about was introduced with intel_mipmap_pitch_align(), where a
"* 2" for the pitch calculation was lost. The base size < 32 case also
failed to align, which may have caused problems with render to texture.
Another bug would have broken 2x2/1x1 base mipmap levels by placing the
data where the hardware wouldn't look for it.
Other bugs remain with the layout of the small mipmap faces (hardware looks
for them in X,Y,Z,-X,-Y,-Z order along the bottom row, but we lay them out
X,-X,Y,-Y,Z,-Z).
17 years ago
Eric Anholt
c2814f2a3f
[i915] Add comments about how cube texture layout works.
17 years ago
Eric Anholt
45adf29ed0
[i915] Move miptree layout code into separate functions per target.
Also clean up some other miscellaneous formatting nits while I'm at it.
17 years ago
Eric Anholt
e5f50f2fa3
[intel] Clarify miptree layout by using byte offsets to images.
17 years ago
Eric Anholt
363d878519
[945] Remove conditional in 945 3D mipmap layout checking for cube layout.
17 years ago
Alan Hourihane
a3b5ae783e
set outputs_safe to 0 as it's possible for the code generation
to slip over the allocated memory for the vb.
pull in sse fixes from gallium-0.1
17 years ago
Zou Nan hai
f7cfc51b05
Revert "[i965] make stipple pattern continue across GL_LINE_LOOP and GL_LINE_STRIP"
There is no information in GS to determinate when to reset line stipple count, still fallback to software
This reverts commit 5a0314b431
.
17 years ago
Xiang, Haihao
ae2c31ed66
glx: Add isDirect back to __GLXcontextRec. It is needed
to check whether oldGC is used for direct rendering in
function MakeContextCurrent. However it is possible
oldGC->driContext is already freed. fix bug #14926 .
17 years ago
Zou Nan hai
5a0314b431
[i965] make stipple pattern continue across GL_LINE_LOOP and GL_LINE_STRIP
17 years ago
Dave Airlie
48efb769e9
r300: add new rs690 pci id
17 years ago
Andrzej Trznadel
3105bc1d88
[965] Fix fp temp reg release code to not usually release all temps.
Also, use wrapped ffs() instead of native.
17 years ago
Andrzej Trznadel
e9809a36aa
Fix compat implementation of ffs() to return 1-based bit numbers.
17 years ago
Markus Amsler
f2b914298f
only set InputsRead bit if input is really used
17 years ago
Markus Amsler
d787850ae6
mesa: Add vertex.attrib 0-15 to arb_input_attrib_string.
17 years ago
Markus Amsler
c48212fe58
r300: Simplify r300VAPInputRoute1.
17 years ago
Markus Amsler
f0c8863dbb
r300: Simplify r300VAPInputRoute0, check for valid input.
17 years ago
Zou Nan hai
8d5231a358
[i965] round pointsize to nearest int according to spec
17 years ago
Xiang, Haihao
4a556bcb17
intel: fix the error in commit 7ed1fd5d8438e55fe24091844cdfccb0881306bc
17 years ago