Brian Paul
6bed5caf88
i965: fix typos in comments
17 years ago
Brian Paul
d861d589a8
glsl: remove _slang_attach_storage() function
This was used to handle both variable declarations and references to variables.
Instead, just do storage allocation and assignment for declarations and
references, respectively.
This is a step toward better var/uniform allocation (only allocate storage
for vars/uniforms that are actually referenced by the code).
17 years ago
Brian Paul
b78463cbad
glsl: some clean-ups, remove old assertions, add new assertions
17 years ago
Brian Paul
0522624c83
glsl: remove stray/unneeded totalSize assignment
17 years ago
Brian Paul
3c1ce2d649
mesa: fix dumb sizeof() vs. strlen() mix-up
17 years ago
Brian Paul
8dff9f349f
glsl: fix typo: s/vec4_tex1d_proj/vec4_tex_1d_proj/
This regression came from commit c0b59420ee .
17 years ago
Keith Whitwell
a58065d4e2
progs/tests: compile with SCons and glew
Also get mingw cross-compilation of these tests working
17 years ago
Keith Whitwell
225de01f83
trivial: add a logic op test
17 years ago
Keith Whitwell
646f518e78
vpglsl: add simple mov.glsl
17 years ago
Michal Krol
38afa29340
tgsi: Untabify.
17 years ago
Michal Krol
ca066f05cd
tgsi: Implement CLAMP opcode.
17 years ago
Michal Krol
fb88908f5c
tgsi: Consider INDEX, NEGATE, MULTIPLYMATRIX opcodes for removal.
17 years ago
Michal Krol
56603044e9
tgsi: ARL and FLOOR opcodes have the same implementation.
17 years ago
Michal Krol
2f8c4efe24
tgsi: ARL is a vector instruction.
17 years ago
Michal Krol
bbf84cca57
tgsi: Note that LOG and EXP are approximations.
17 years ago
Michal Krol
5d0f69e33d
tgsi: Document EXT_vertex_shader instruction set operations.
17 years ago
Corbin Simpson
42fc3d3fa9
radeon-gallium: Unbreak non-RADEON_SOFTPIPE.
Hehe, sleep may be necessary now.
17 years ago
Corbin Simpson
d559796d6f
r300-gallium: Initial, broken, query setup.
Not going to bother unbreaking it here until it's unbroken elsewhere.
17 years ago
Corbin Simpson
fdfde00cd8
radeon-gallium: Unbreak RADEON_SOFTPIPE.
And there was much rejoicing.
17 years ago
Corbin Simpson
8dbe4f0c35
r300-gallium: Unbreak fallback in surface_fill.
17 years ago
Corbin Simpson
b7219853af
r300-gallium: Fix a handful of compiler warnings.
Missing INLINE, missing declarations, extraneous definitions. The usual.
17 years ago
Corbin Simpson
9d9e0815be
r300-gallium: First stab at texture support.
17 years ago
Corbin Simpson
c9da0283e7
r300-gallium: Moar fixes in the register file.
Sorry, but it's confusing when format0 in r300_reg != format0 in the docs.
17 years ago
Brian Paul
22bac2a1a0
xmesa: set back-buffer's drawable field
Fixes back-buffer rendering when MESA_BACK_BUFFER=pixmap
17 years ago
Keith Whitwell
ce0ac9006a
vpglsl: build with scons and glew
17 years ago
Brian Paul
0e28e1a72f
demos: in progs/demos/cubemap.c press c/f to cycle through clamp/filter modes
Also generate a mipmap for the default checker images.
17 years ago
Brian Paul
6f915b10d5
i965: fix cube map lock-up / corruption
If we're using anything but GL_NEAREST sampling of a cube map, we need to
use the BRW_TEXCOORDMODE_CUBE texcoord wrap mode. Before this, the GPU
would either lock up or subsequent texture filtering would be corrupted.
17 years ago
Michel Dänzer
2b6235c9f7
scons: Also link in additional LLVM components.
They don't seem necessary here, but they shouldn't hurt either...
17 years ago
Kamalneet Singh
37fdfe89dd
linux-llvm config: Linking with required llvm libs
17 years ago
Michel Dänzer
a6f768f029
scons: Also define USE_XSHM for the glx/xlib state tracker build.
Fixes an inconsisten definition of struct xmesa_buffer between there and
winsys/xlib, resulting in a crash in XPutImage.
17 years ago
Brian Paul
886ceb556e
st: silence warning
17 years ago
Brian Paul
62ef614eb3
st: remove unused DrawPixels code
17 years ago
Brian Paul
44af5a953f
st: use pointer_to_offset() cast wrapper to convert pointers to uint
Silences warnings with 64-bit builds. See comments for details.
17 years ago
Brian Paul
9457d9ff44
mesa: reorder register file enums
17 years ago
Keith Whitwell
48b1fe12b1
trivial: add tri-stipple to SConscript
17 years ago
Keith Whitwell
fe60dbc536
st: also check for a8 texture support in bitmap code
17 years ago
Roland Scheidegger
1ebc92b0d0
fix typo in fragment pipe alu define, should fix dot3_rgb tex combine
17 years ago
Keith Whitwell
ef5fd0b66a
vbo: yet tighter still usage of FLUSH_NEED_CURRENT
Previous change broke redbook/polys and probably others. I'm fairly
sure that drivers like r300 don't need to touch
ctx->Driver.NeedVertices, but this code is incredibly fragile and I'm
not confident about removing it from there. Hopefully this gets
things working again.
17 years ago
Keith Whitwell
fb8a9875f6
fp: enable a second texture unit and add a kil test for it
17 years ago
Michel Dänzer
317687cd94
Fix up another instance of _mesa_unreference_framebuffer().
17 years ago
Keith Whitwell
0756dc876c
vbo: stricter checks on Driver.NeedFlush
This variable is being used in the r300 driver to trigger a flush under
circumstances unrelated to the use in the vbo module. Tighten up the
checks in vbo so as to avoid conflict with r300.
Reported by Maciej Cencora <m.cencora@gmail.com>
17 years ago
Michel Dänzer
a2aedf95d8
gallium: Fix p_refcnt.h for C++ compilers.
17 years ago
Michal Krol
9438ffda50
tgsi: Implement CND, CND0 opcodes.
17 years ago
Michal Krol
5ee3c79959
tgsi: Remove redundant micro_ge() -- use micro_le().
17 years ago
Michal Krol
0d727fa0f0
tgsi: Document ATI_fragment_shader instruction set operations.
17 years ago
Corbin Simpson
40ca02a045
r300-gallium: Unbreak trivial/point.
Oops, forgot to remove that.
Edit: And trivial/line and trivial/tri.
17 years ago
Michal Krol
8766677ac4
tgsi: Document NV_vertex_program instruction set operations.
17 years ago
Corbin Simpson
2305642b2e
r300-gallium: Correct vertex format setup, cleanup regs and debugging.
trivial/point no longer hardlocks.
17 years ago
Corbin Simpson
46de433d27
r300-gallium: Clean up RS.
Wow, there were buggies by the boatload in there.
17 years ago
Corbin Simpson
8262974625
r300-gallium: Move a few registers.
These shouldn't be written if not on TCL HW.
17 years ago