Keith Whitwell
dd7e5a4980
draw: add streamlined paths for fetching linear verts
il y a 17 ans
Michal Krol
266c5f5ccb
mesa: Fix compiler warnings on Windows.
il y a 17 ans
Stephane Marchesin
a6ff215777
Gallivm: add slt. glxgears should be running, except it isn't.
il y a 17 ans
Stephane Marchesin
4ae161e940
Gallivm: port to llvm 2.4.
il y a 17 ans
Stephane Marchesin
7379d0ef8f
Gallivm: fix off-by-one.
il y a 17 ans
Stephane Marchesin
6dacc942e1
Gallivm: need to link with libstdc++ for llvm.
il y a 17 ans
Stephane Marchesin
a0a06cbc5b
Gallivm: more instructions.
il y a 17 ans
Stephane Marchesin
ab74b8e354
Gallivm: make it compile again, add some opcodes.
il y a 17 ans
Brian Paul
8fd329d048
mesa: fix temp register allocation problems.
Complex texcombine modes were running out of registers (>32 registers for 8 tex units).
il y a 17 ans
Brian Paul
7944efffff
egl: check for null ptr/name
il y a 17 ans
Brian Paul
cce2ec2754
egl: remove space after -L flag
il y a 17 ans
Brian Paul
13a8c18d3d
gallium: rename tgsi_translate_mesa_program() to st_translate_mesa_program()
il y a 17 ans
Brian Paul
1ef90b3f9a
mesa: add some braces
il y a 17 ans
Brian Paul
092748990f
mesa: fix/simplify initialization of vertex/fragment program limits
Defaults for program length, num ALU instructions, num indirections, etc.
basically indicate no limit for software rendering. Driver should override
as needed.
il y a 17 ans
Brian Paul
3f99f501db
mesa: increase MAX_INSTRUCTIONS
il y a 17 ans
Brian Paul
006fb63818
mesa: fix swizzle failure, fix typo
il y a 17 ans
Brian Paul
1ca512c643
mesa: fix default buffer object access value
il y a 17 ans
Michal Krol
8701e5f702
mesa: Fix compiler error.
il y a 17 ans
Brian Paul
0576e837f1
mesa: Fix arb parse constants
il y a 17 ans
Jakob Bornecrantz
866a2c3ccb
mesa: Update ignores a bit
il y a 17 ans
Brian Paul
a9004cc79c
destroy window on exit
il y a 17 ans
Brian Paul
8d249ca620
gallium: if we run out of memory in st_TexImage, flush and try again.
If the driver buffers a scene flushing should release old textures and
make space for new ones. Fixes problem with texdown.c test.
il y a 17 ans
Jakob Bornecrantz
0b8e19ffc5
tgsi: Build tgsi_text with make
il y a 17 ans
José Fonseca
eb5c288df4
util: A few more memory debugging checks.
il y a 17 ans
José Fonseca
451888ee8f
util: Add missing p_debug.h include.
il y a 17 ans
Brian Paul
f68d2a0feb
gallium: fix surface object memory leak in cso module
il y a 17 ans
Jakob Bornecrantz
5e1ef85dc4
tgsi: Make tgsi dumps look more like mesa shader dumps.
il y a 17 ans
Jakob Bornecrantz
fa7529335c
progs/fp: Add a bit of local variable testing to fp-tri
il y a 17 ans
José Fonseca
1672e8e059
pipebuffer: New callback to flush all temporary-held buffers.
Used mostly to aid debugging memory issues or to clean up resources when
the drivers are long lived.
il y a 17 ans
Brian Paul
a06d38a74e
gallium: fix wide point / point coord semantic info (generic, not fog)
il y a 17 ans
Brian Paul
4ee8d1ad67
gallium: fix fog vs. pointcoord attribute handling in mesa->TGSI conversion
il y a 17 ans
Brian Paul
d7a7b0a10d
mesa: new gl_fragment_program fields indicating use of fog, front-facing, point coord
il y a 17 ans
Brian Paul
3b3d34d637
egl: print multisample info
il y a 17 ans
Brian Paul
1a820f52f6
gallium: clean-up/fix msaa override in state tracker
il y a 17 ans
Brian Paul
e6a120fefe
gallium: fix tgsi sanity checker with respect to END.
Subroutine code may be found after the END instruction so it's not always
the last instruction.
At least check for presence of exactly one END instruction though.
il y a 17 ans
Brian Paul
133693ebe8
mesa: update program->NumAddressRegs field in _slang_update_inputs_outputs()
il y a 17 ans
Brian Paul
095ca0acd8
gallium: include prog_print.h to silence warning
il y a 17 ans
Brian Paul
66682651b6
gallium: need to finish, not flush, in st_copy_texsubimage()
il y a 17 ans
Brian Paul
63b915d743
gallium: new assertion on surface->texture
il y a 17 ans
Jakob Bornecrantz
ec8398d62f
tgsi: Add a ugly fix for CONSTANT problems
il y a 17 ans
Jakob Bornecrantz
f8a5cb8cb2
tgsi: More debug printing on sanity check error
il y a 17 ans
Brian Paul
f10e7f0d28
gallium: fix lack of surface reference counting in cso_set/save/restore_framebuffer()
Fixes asst problems with FBO / render to texture.
il y a 17 ans
Brian Paul
0d20c88f62
mesa: fix bug in previous changes to _slang_resolve_attributes()
il y a 17 ans
Brian Paul
e53296c928
mesa: rework GLSL vertex attribute binding
Calls to glBindAttribLocation() should not take effect until the next time
that glLinkProgram() is called.
gl_shader_program::Attributes now just contains user-defined bindings.
gl_shader_program::VertexProgram->Attributes contains the actual/final bindings.
il y a 17 ans
Brian Paul
37607aeaf8
gallium: fix glTexImage(width=height=depth=0) case
Free old teximage/level data, then stop.
il y a 17 ans
Brian Paul
39cb5b9f73
mesa: fix display list regression (check if save->prim_count > 0 in vbo_save_EndList())
il y a 17 ans
Brian Paul
8cdab20c9a
gallium: fix info entries for KIL, KILP
KIL takes 1 src register. KILP uses no registers (uses cond codes).
il y a 17 ans
Brian Paul
ea9568dfbe
mesa: fix bug in get_uniform_rows_cols(): sometimes returned too many rows
il y a 17 ans
Brian Paul
753635f733
gallium: move _vbo_DestroyContext() call
Call it before freeing core Mesa state to avoid references to freed buffer objects.
il y a 17 ans
Brian Paul
4992806ae5
mesa: protect against double-free in _vbo_DestroyContext()
il y a 17 ans