Michal Krol
9ffe66760c
tgsi: Begin documenting NV_fragment_program instruction set operations.
2009-03-11 12:52:20 +01:00
Michal Krol
ae7ae570ef
tgsi: Implement RCC opcode.
2009-03-11 12:11:50 +01:00
Michal Krol
94cf8ea3b6
tgsi: Document NV_vertex_program1_1 instruction set operations.
2009-03-11 12:11:48 +01:00
Brian Paul
ddf7d8fe01
i965: more code clean-ups, comments
2009-03-10 18:27:48 -06:00
Brian Paul
76ff6d40f4
i965: minor code clean-ups, comments
2009-03-10 18:27:48 -06:00
Brian Paul
9c781de015
i965: use new cast wrappers
2009-03-10 18:27:48 -06:00
Brian Paul
294a473f7a
i965: added cast wrappers, comments
2009-03-10 18:27:48 -06:00
Brian Paul
13177f03fc
i965: asst. code clean-ups, comments
2009-03-10 18:27:48 -06:00
Brian Paul
6bed5caf88
i965: fix typos in comments
2009-03-10 18:27:48 -06:00
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).
2009-03-10 18:25:38 -06:00
Brian Paul
b78463cbad
glsl: some clean-ups, remove old assertions, add new assertions
2009-03-10 18:25:38 -06:00
Brian Paul
0522624c83
glsl: remove stray/unneeded totalSize assignment
2009-03-10 18:25:38 -06:00
Brian Paul
3c1ce2d649
mesa: fix dumb sizeof() vs. strlen() mix-up
2009-03-10 10:16:47 -06:00
Brian Paul
8dff9f349f
glsl: fix typo: s/vec4_tex1d_proj/vec4_tex_1d_proj/
...
This regression came from commit c0b59420ee
.
2009-03-10 09:05:55 -06:00
Keith Whitwell
a58065d4e2
progs/tests: compile with SCons and glew
...
Also get mingw cross-compilation of these tests working
2009-03-10 13:11:23 +00:00
Keith Whitwell
225de01f83
trivial: add a logic op test
2009-03-10 12:06:27 +00:00
Keith Whitwell
646f518e78
vpglsl: add simple mov.glsl
2009-03-10 12:06:27 +00:00
Michal Krol
38afa29340
tgsi: Untabify.
2009-03-10 10:27:29 +01:00
Michal Krol
ca066f05cd
tgsi: Implement CLAMP opcode.
2009-03-10 10:27:27 +01:00
Michal Krol
fb88908f5c
tgsi: Consider INDEX, NEGATE, MULTIPLYMATRIX opcodes for removal.
2009-03-10 10:27:24 +01:00
Michal Krol
56603044e9
tgsi: ARL and FLOOR opcodes have the same implementation.
2009-03-10 10:27:21 +01:00
Michal Krol
2f8c4efe24
tgsi: ARL is a vector instruction.
2009-03-10 10:27:18 +01:00
Michal Krol
bbf84cca57
tgsi: Note that LOG and EXP are approximations.
2009-03-10 10:27:15 +01:00
Michal Krol
5d0f69e33d
tgsi: Document EXT_vertex_shader instruction set operations.
2009-03-10 10:27:13 +01:00
Corbin Simpson
42fc3d3fa9
radeon-gallium: Unbreak non-RADEON_SOFTPIPE.
...
Hehe, sleep may be necessary now.
2009-03-10 02:08:59 -07:00
Corbin Simpson
d559796d6f
r300-gallium: Initial, broken, query setup.
...
Not going to bother unbreaking it here until it's unbroken elsewhere.
2009-03-10 01:54:24 -07:00
Corbin Simpson
fdfde00cd8
radeon-gallium: Unbreak RADEON_SOFTPIPE.
...
And there was much rejoicing.
2009-03-10 01:52:02 -07:00
Corbin Simpson
8dbe4f0c35
r300-gallium: Unbreak fallback in surface_fill.
2009-03-10 00:57:32 -07:00
Corbin Simpson
b7219853af
r300-gallium: Fix a handful of compiler warnings.
...
Missing INLINE, missing declarations, extraneous definitions. The usual.
2009-03-10 00:36:08 -07:00
Corbin Simpson
9d9e0815be
r300-gallium: First stab at texture support.
2009-03-10 00:27:13 -07:00
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.
2009-03-10 00:10:24 -07:00
Brian Paul
22bac2a1a0
xmesa: set back-buffer's drawable field
...
Fixes back-buffer rendering when MESA_BACK_BUFFER=pixmap
2009-03-09 16:27:56 -06:00
Keith Whitwell
ce0ac9006a
vpglsl: build with scons and glew
2009-03-09 18:51:14 +00:00
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.
2009-03-09 11:49:57 -06:00
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.
2009-03-09 11:49:57 -06:00
Michel Dänzer
2b6235c9f7
scons: Also link in additional LLVM components.
...
They don't seem necessary here, but they shouldn't hurt either...
2009-03-09 17:46:49 +01:00
Kamalneet Singh
37fdfe89dd
linux-llvm config: Linking with required llvm libs
2009-03-09 17:42:59 +01:00
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.
2009-03-09 17:39:14 +01:00
Brian Paul
886ceb556e
st: silence warning
2009-03-09 09:42:26 -06:00
Brian Paul
62ef614eb3
st: remove unused DrawPixels code
2009-03-09 09:42:26 -06:00
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.
2009-03-09 09:42:26 -06:00
Brian Paul
9457d9ff44
mesa: reorder register file enums
2009-03-09 09:42:26 -06:00
Keith Whitwell
48b1fe12b1
trivial: add tri-stipple to SConscript
2009-03-09 15:20:12 +00:00
Keith Whitwell
fe60dbc536
st: also check for a8 texture support in bitmap code
2009-03-09 15:20:11 +00:00
Roland Scheidegger
1ebc92b0d0
fix typo in fragment pipe alu define, should fix dot3_rgb tex combine
2009-03-09 15:53:41 +01:00
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.
2009-03-09 14:40:34 +00:00
Keith Whitwell
fb8a9875f6
fp: enable a second texture unit and add a kil test for it
2009-03-09 14:08:52 +00:00
Michel Dänzer
317687cd94
Fix up another instance of _mesa_unreference_framebuffer().
2009-03-09 13:30:17 +01:00
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 >
2009-03-09 12:18:51 +00:00
Michel Dänzer
a2aedf95d8
gallium: Fix p_refcnt.h for C++ compilers.
2009-03-09 12:58:16 +01:00