Commit Graph

34448 Commits

Author SHA1 Message Date
Marek Olšák 01e5a73b57 r300g/swtcl: update PSC only once when a shader is changed 2010-05-16 04:10:00 +02:00
Marek Olšák dca9624201 r300g/swtcl: call update_derived_state only once per draw-call 2010-05-16 04:10:00 +02:00
Vinson Lee 7672305da5 st/xlib: Remove unnecessary header. 2010-05-15 18:48:53 -07:00
Vinson Lee e9072dcd31 st/xorg: Remove unnecessary header. 2010-05-15 18:44:58 -07:00
Vinson Lee 1d6a6d96ae mesa: Remove unnecessary header. 2010-05-15 18:41:52 -07:00
Vinson Lee b224264c9d r300g: Move code after declarations.
Fixes SCons build.
2010-05-15 17:44:08 -07:00
Marek Olšák ee6255052c r300g/swtcl: fix provoking vertex 2010-05-16 00:35:51 +02:00
Marek Olšák 87547ac70c r300g/swtcl: fix point sprite texgen (do it in HW) 2010-05-16 00:21:53 +02:00
Marek Olšák 6a0ec833e4 r300g/swtcl: disable converting points/lines to triangles 2010-05-16 00:06:21 +02:00
Marek Olšák 0ab72a5a0a r300/compiler: silence a warning 2010-05-15 23:53:04 +02:00
Marek Olšák f86ac27bf9 r300g: fix psychedelic colors with SWTCL
r300_vertex_shader::outputs was uninitialized.
Also remove the tokens parameter.
2010-05-15 22:55:17 +02:00
Marek Olšák cf5dff1f23 r300g: the vertex_stream_state atom for SWTCL should be static
plus whitespace and comment fixes.
2010-05-15 22:27:27 +02:00
Marek Olšák 04882a2947 r300g: remove unused struct r300_vertex_info 2010-05-15 22:15:56 +02:00
Marek Olšák 95ba021105 r300g: fix emission of some non-CSO atoms at the beginning of CS 2010-05-15 21:22:23 +02:00
Marek Olšák af87ef10dc r300g: remove unused r300_query::active 2010-05-15 19:39:57 +02:00
Marek Olšák 251fae69e5 r300g: fix BO space accounting for occlusion queries 2010-05-15 19:39:57 +02:00
Marek Olšák 00704370e4 r300g: forbid overlapping queries and print error messages 2010-05-15 19:39:11 +02:00
Marek Olšák 16690366e6 r300g: rename a few emit_query functions 2010-05-15 19:38:28 +02:00
Marek Olšák 6c3afad62b r300g: silence warnings 2010-05-15 19:33:39 +02:00
Vinson Lee 6440dcea21 llvmpipe: Remove unnecessary headers. 2010-05-15 08:38:00 -07:00
José Fonseca 55b5806e36 util: Remove unused cruft. 2010-05-15 11:52:03 +01:00
José Fonseca 8a3bcba12c llvmpipe: Use GALLIVM_DEBUG opt where applicable. 2010-05-15 11:48:39 +01:00
José Fonseca e7c0b4de17 draw: Use GALLIVM_DEBUG opt. 2010-05-15 11:43:16 +01:00
José Fonseca 145fd48b37 gallivm: Centralize some of the LLVM debugging options. 2010-05-15 11:42:02 +01:00
José Fonseca 263e038431 gallivm: Temporarily remove function call support
Commits moved to the gallivm-call feature branch for further
experimentation and stabilization.
2010-05-15 11:31:10 +01:00
Zack Rusin af75bb4c98 gallivm: use our util_snprintf 2010-05-15 01:24:00 -04:00
Zack Rusin 7458928370 gallivm: implement function calls 2010-05-15 00:58:57 -04:00
Zack Rusin b93fa7e2e8 vpglsl: add some simple tests with function calls 2010-05-15 00:58:43 -04:00
Eric Anholt 4e84dc8729 i965: Set the correct provoking vertex for clipped first-mode trifans.
Bug #24470: glean clipFlat test.
2010-05-14 15:37:24 -07:00
Brian Paul 18ed479119 gallivm: added some vector length sanity checks 2010-05-14 13:23:41 -06:00
Brian Paul 11b7c4b1ac gallivm: added lp_sizeof_llvm_type() 2010-05-14 13:23:41 -06:00
Brian Paul 9a0ff95425 gallivm: comments, const qualifiers 2010-05-14 13:23:41 -06:00
Brian Paul 85c6799f6e tgsi: clean up in emit_fetch() 2010-05-14 13:23:41 -06:00
Brian Paul 16f8df893c mesa: more info in glUniform error messages 2010-05-14 13:23:41 -06:00
Brian Paul e22e65d223 mesa: silence void * / func * conversion warnings 2010-05-14 13:23:41 -06:00
Brian Paul d1f76b1d85 tgsi: add a dummy function to silence warning 2010-05-14 13:23:41 -06:00
Brian Paul 48d3988b82 mesa: enum bitfields are a gcc-only feature, use GLubyte 2010-05-14 13:23:41 -06:00
Kristian Høgsberg 5dc0f49084 egl: Implement EGL_NOK_texture_from_pixmap
This extension allows a color buffer to be used for both rendering and
texturing.  EGL allows the use of color buffers of pbuffer drawables
for texturing, this extension extends this to allow the use of color
buffers of pixmaps too.
2010-05-14 14:47:54 -04:00
Kristian Høgsberg 554e4fc26a egl: Only allow valid config attributes in _eglParseConfigAttribList()
Passing 0x3030, 0 in the chooser list didn't get caught.
2010-05-14 14:47:54 -04:00
Eric Anholt c1423e34f9 i965: Add program dumping for INTEL_DEBUG=gs. 2010-05-14 11:27:59 -07:00
Eric Anholt 1c25353bc6 i965: Parse the ff_sync URB send opcode on Ironlake disasm. 2010-05-14 11:27:59 -07:00
Eric Anholt f5bd48cf67 i965: Use R16G16B16A16_FLOAT for 3-component half-float.
The RGBX version isn't supported as a vertex input type, but since we
force the last channel's value anyway, this should be fine.  The only
potential risk I see is in the limiter on VBO reads past the end of
the buffer forcing the whole vertex to 0 when the A channel lands past
the end.

Fixes piglit draw-vertices-half-float.
2010-05-14 11:27:59 -07:00
Eric Anholt 36eda76fea i965: Dump out the correct shared function for SEND on Ironlake. 2010-05-14 11:27:59 -07:00
Eric Anholt 562e2d114e i965: Support INTEL_DEBUG=clip to dump the clip program. 2010-05-14 11:27:59 -07:00
Eric Anholt 7554b83a21 intel: Handle arbitrary compressed formats in intel_compressed_num_bytes.
Note that we don't support arbitrary block size for compressed quite
yet -- block height of 4 is hard-coded all over the place.

Bug #27098 (srgb dxt1 producing a bytes per pixel of 0).
2010-05-14 11:27:59 -07:00
Marek Olšák 07ff65925f gallium: remove forward declarations of non-existent objects 2010-05-14 19:00:56 +02:00
Marek Olšák 93c997a914 r300g: do not abort if a constant buffer is too large
What else can we do with misbehaving apps?
2010-05-14 19:00:55 +02:00
Marek Olšák fc11653c2b r300g: add framebuffer state debug logging 2010-05-14 19:00:55 +02:00
Marek Olšák 5a397d8e9f r300g: sort out debug flags 2010-05-14 19:00:55 +02:00
Brian Paul e6a7ee7fbb egl: remove duplicate ARRAY_SIZE() macro declaration 2010-05-14 10:55:19 -06:00