| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
Makefile
src/mesa/main/version.h
src/mesa/shader/slang/slang_preprocess.c
src/mesa/state_tracker/st_cb_bufferobjects.c
|
| |
| |
| |
| |
| | |
In st_bufferobj_map_range(), set obj->Offset consistently with its
usage elsewhere.
|
| |
| |
| |
| | |
(cherry picked from master, commit ef8caec29ae73bb2bbeb48f0578d839ef29348cd)
|
| | |
|
| |
| |
| |
| | |
(cherry picked from master, commit 19a54d9f1055c366fd77026dd67007a8d5921f58)
|
| |
| |
| |
| |
| |
| | |
It's legal for ARB_vertex_program programs to not write to result.position.
The results are undefined in that case. This assertion was causing us to
abort/exit though.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The recent increase ST_MAX_SHADER_TOKENS to 8K causes stack overflows on
windows.
Failure to allocate is not being propagated to the caller. This is not
a regression since the previous _mesa_malloc result wasn't being
checked as well. Unfortunately it is not easy to fix, as the callers of
these functions do not have failure propagation mechanism either, and
so on. So leaving a just fixme note for now.
|
| | |
|
| |
| |
| |
| | |
Also, MAX_NV_VERTEX_PROGRAM_PARAMS should be 96, not 128 (or 256).
|
| |
| |
| |
| |
| |
| | |
We were adding references to the input arrays, but failing to drop
them on destruction. This could lead to a 64kb buffer being leaked
each context destruction.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1) Pass the correct format when calling update_array in
_mesa_VertexAttribPointerARB.
2) glVertexAttribPointerNV accepts GL_BGRA format too.
3) raise INVALID_VALUE error when format is BGRA and normalized is
false in glVertexAttribPointerARB
(cherry picked from commit 4adb190a162c5ed0684a8616331344caadba4010)
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
autoconf had been designating the 8 bit libOSMesa as the default
standalone osmesa, but the Makefile expected it to be linked to libGL.
Fix up the osmesa Makefile so that it allows any of the combinations of
standalone and channel width to be built.
Fixes bug #21980.
(cherry picked from commit 7441dcd90b01df8351026af8bbb50e11bb86071a)
|
| | |
|
| |
| |
| |
| |
| |
| | |
The early Z stuff is supposed to be unsafe without some more work in the
enable/disable path (in particular, how do we want to get it disabled on
the way out to the X Server?), but at the moment is 6% in OA.
|
| |
| |
| |
| | |
intel_miptree_pitch_align does this later on.
|
| |
| |
| |
| |
| | |
Y tiling is why the 965 check was there, but I wanted to experiment with Y
on pre-965 as well.
|
| |
| |
| |
| | |
Thanks to Shuang He for catching this.
|
| |
| |
| |
| | |
Fixes the render-to-texture test in progs/tests/getteximage.c
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Can be used to enable/disable extensions as reported by
glGetString(GL_EXTENSIONS).
If a name is preceeded by '-' it's disabled. Otherwise, the named
extension is enabled.
Intended for debug/test purposes.
|
| |
| |
| |
| |
| |
| |
| |
| | |
1) Pass the correct format when calling update_array in
_mesa_VertexAttribPointerARB.
2) glVertexAttribPointerNV accepts GL_BGRA format too.
3) raise INVALID_VALUE error when format is BGRA and normalized is
false in glVertexAttribPointerARB
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
autoconf had been designating the 8 bit libOSMesa as the default
standalone osmesa, but the Makefile expected it to be linked to libGL.
Fix up the osmesa Makefile so that it allows any of the combinations of
standalone and channel width to be built.
Fixes bug #21980.
|
| | |
|
|\|
| |
| |
| |
| |
| | |
Conflicts:
src/mesa/main/context.c
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This prevents the width / height from being clipped to the window size before
the texture is allocated. This matches intelCopyTexImage1D.
This should fix bug #21227
Signed-off-by: Ian Romanick <[email protected]>
(cherry picked from commit 129f311673c99eb912d659023e50bc5f0ef53249)
|
| |
| |
| |
| | |
Need a flush here even though the original finish was overkill.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is about a 30% performance win in OA with high settings on my GM45,
and experiments with 915GM indicate that it'll be around a 20% win there.
Currently, 915-class hardware is seriously hurt by the fact that we use
fence regs to control the tiling even for 3D instructions that could live
without them, so we spend a bunch of time waiting on previous rendering in
order to pull fences off. Thus, the texture_tiling driconf option defaults
off there for now.
|
| |
| |
| |
| |
| | |
We're on the way to telling the kernel about when we need fence regs on our
objects or not, and this will cut the number of places needing them.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
It's possible for mis-behaving vertex programs to produce vertex data
with very large/NaN values. This doesn't get handled reliably by the
clipper code so we may try to rasterize triangles that extend beyond
the viewport/window. Always clip spans to avoid invalid memory accesses
later.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|