Commit graph

22853 commits

Author SHA1 Message Date
Brian Paul
4dfa3757c5 mesa: minor comments 2009-03-11 19:34:41 -06:00
Brian Paul
590f6fe050 mesa: remove gl_texture_object::_Function field and associated code
It was only used in one place in swrast.
2009-03-11 19:23:01 -06:00
Brian Paul
7d9cb242fd intel: include main/viewport.h 2009-03-11 19:04:22 -06:00
Corbin Simpson
d375a3bdda r300-gallium: Don't flush textures more than necessary. 2009-03-11 15:23:10 -07:00
Corbin Simpson
f78bd5922d r300-gallium: Fix texture filters. 2009-03-11 15:23:10 -07:00
Corbin Simpson
cec2170632 r300-gallium: r500-fs: More texture fixes. 2009-03-11 15:23:09 -07:00
Corbin Simpson
c4c1774bbb r300-gallium: r500-fs: Add shader dumper and more tex work. 2009-03-11 15:23:09 -07:00
Corbin Simpson
ddf31d0e31 r300-gallium: Fix CS count for texture emit. 2009-03-11 15:23:09 -07:00
Corbin Simpson
6b1596aed3 r300-gallium: r500-fs: Add SWZ. 2009-03-11 15:23:09 -07:00
Corbin Simpson
ddba20b064 r300-gallium: Fix CS count in fb state emit. 2009-03-11 15:23:08 -07:00
Corbin Simpson
d13e4bd1cb r300-gallium: Start swizzles. 2009-03-11 15:23:08 -07:00
Corbin Simpson
8b21250305 r300-gallium: Begin R500 fragment shader assembler.
I love it so much. I also hate it a lot.
2009-03-11 15:23:08 -07:00
Brian Paul
04465bb6df i965: fix lock-ups when GLSL program wrote to gl_FragDepth
It seems the code that set up the FB_WRITE message was incomplete in this
case.  The number of payload registers was wrong and that caused a hang.

It would be good to have a second set of eyes take a look at this...
2009-03-11 13:13:17 -06:00
Jakob Bornecrantz
b6b198ea1b trace: Fixup trace a bit 2009-03-11 14:43:28 +01:00
Alan Hourihane
b6c7db8deb xdemos: On termination with esc close the contexts correctly. 2009-03-11 13:35:27 +00:00
Michal Krol
5146b3f8fc tgsi: Implement RFL, SFL, STR, X2D opcodes. 2009-03-11 13:49:43 +01:00
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