Commit Graph

34357 Commits

Author SHA1 Message Date
Jakob Bornecrantz 2ebe0277d4 scons: Add -fvisibility=hidden to CFLAGS for gcc builds 2010-05-12 22:49:32 +01:00
Jakob Bornecrantz 0f9b496916 graw: Make functions public 2010-05-12 22:47:15 +01:00
Jakob Bornecrantz 9f7f711020 rbug: No need to have rbug as a input 2010-05-12 21:12:31 +01:00
José Fonseca 07d741926b gallivm: Ensure PIPE_OS_xxx are defined. 2010-05-12 20:48:27 +01:00
José Fonseca a09e46c724 gallivm: Use a more compact approach for lp_build_broadcast_scalar().
It produces exactly the same machine code, but it cuts 5% of the
number of instructions generated for a typical shader.

Also, preserve the scalar when length is 1.
2010-05-12 20:40:31 +01:00
José Fonseca 648c9d5247 llvmpipe: Dump fs key's stencil state. 2010-05-12 20:40:14 +01:00
José Fonseca 994e45de49 util: Add function to dump PIPE_STENCIL_OP_xxx 2010-05-12 20:40:07 +01:00
José Fonseca 5326e1846d llvmpipe: Enable mem2reg pass even with LP_DEBUG=nopt.
Otherwise things start crashing.
2010-05-12 20:18:32 +01:00
Jakob Bornecrantz 53cbb81576 rbug: Add to all targets that link against trace
Also added calls to the create function in target helpers and in
tr_drm.c the latter being a hack and should be replaced with the
wrap screen target helper. But at least this way we don't regress.
2010-05-12 20:15:23 +01:00
Jakob Bornecrantz 5494332128 trace: Remove rbug from trace 2010-05-12 20:15:23 +01:00
Jakob Bornecrantz 395e9449ca rbug: Use container of macro 2010-05-12 20:15:23 +01:00
Jakob Bornecrantz f6946c9214 rbug: Fix draw blocking 2010-05-12 20:15:23 +01:00
Jakob Bornecrantz 73684216ba rbug: Fix sampler views and surfaces in context info 2010-05-12 20:15:23 +01:00
Jakob Bornecrantz 21b668e11e rbug: Fix shaders 2010-05-12 20:15:23 +01:00
Jakob Bornecrantz 2c3fb4ecce rbug: Break out of trace 2010-05-12 20:15:23 +01:00
Brian Paul 92b1908db8 gallivm: additional comments 2010-05-12 12:43:09 -06:00
Brian Paul c722029f3a llvmpipe: s/bool/boolean/ in test progs 2010-05-12 12:43:09 -06:00
Brian Paul f81ec062c2 gallivm: s/bool/boolean 2010-05-12 12:43:09 -06:00
Brian Paul 5b876241a0 gallivm: rename vars, update comments, etc 2010-05-12 12:43:09 -06:00
Kristian Høgsberg 880acbe177 egl_dri2: Zero out driver struct
Otherwise testing ->Probe for non-NULL and calling it goes boom.
2010-05-12 14:34:55 -04:00
Corbin Simpson 5f161261c7 r300g: Correct viewport setup for SW TCL.
glxgears now renders in the right place on-screen, although it is still
rather...psychedelic.
2010-05-12 10:16:19 -07:00
Corbin Simpson 3bb1724f37 r300g: Add VBO dumper for SW TCL.
Commented out, not easily enabled. *Very* noisy.
2010-05-12 10:16:19 -07:00
Corbin Simpson 505bea8355 r300g: Immediate mode won't work with SW TCL right now.
This could be done later of course. SW TCL should have a much different
threshold because it's much more worth it.
2010-05-12 10:16:19 -07:00
Corbin Simpson c037c376fb r300g: Fix indentation. 2010-05-12 10:16:19 -07:00
Brian Paul fcf532ce6f gallivm: comment out LLVMUnionTypeKind case 2010-05-12 10:54:45 -06:00
Brian Paul 1cd31459af gallivm: rename texel result param
Be clear that this parameter returns four texel channel results.
2010-05-12 10:38:00 -06:00
Brian Paul 0a0d176163 gallivm: add a few comments 2010-05-12 10:38:00 -06:00
Brian Paul 3f6dc8e79d gallivm/llvmpipe: add const qualifiers 2010-05-12 10:38:00 -06:00
Brian Paul 3dcb25364f gallivm: added lp_typekind_name() util function 2010-05-12 10:37:59 -06:00
Brian Paul 6080e567f0 tgsi: also count instructions in tgsi_scan_shader() 2010-05-12 10:37:59 -06:00
José Fonseca cf9baf68cb llvmpipe: Handle PIPE_CAP_GUARD_*.
Without asserting.
2010-05-12 17:25:17 +01:00
José Fonseca 4c4f98c6fc llvmpipe: Use RAST_WHOLE/EDGE_TEST in more places. 2010-05-12 17:24:34 +01:00
José Fonseca 10fdbb9298 llvmpipe: Move the opaque flag computation into the variant. 2010-05-12 17:12:59 +01:00
José Fonseca 686215d9e5 svga: Advertise shader limits. 2010-05-12 14:11:28 +01:00
José Fonseca a1b3ca6a14 llvmpipe: Advertise (gallivm's) shader limits. 2010-05-12 14:11:28 +01:00
José Fonseca 7b5931b313 softpipe: Adverstise (tgsi_exec's) shader limits. 2010-05-12 14:11:28 +01:00
José Fonseca 6ac93e469a mesa/st: Expose pipe driver's shader limits. 2010-05-12 14:11:28 +01:00
José Fonseca bfc702d1e7 gallium: Add new fine grained PIPE_CAP_xx for shader limits.
PIPE_CAP_GLSL and PIPE_CAP_SM3 not removed yet, as opcode support is not
yet covered.
2010-05-12 14:11:28 +01:00
José Fonseca e1238b5cad gallium: Make PIPE_CAP_xxx enums. 2010-05-12 14:11:28 +01:00
Chia-I Wu 084eadac88 st/egl: Link egl-apis to LLVM when enabled.
This is required when a client API (i.e. OpenGL) uses the draw module.
2010-05-12 15:48:11 +08:00
Chia-I Wu d9f38e1a71 st/mesa: Do not use draw module in OpenGL ES build.
This removes references to symbols in draw module for OpenGL ES build.
As OpenGL ES does not support feedback/selection mode, draw module is
used in pathes that will never be reached.  However, if the symbols are
referenced, it will bloat the final shared libraries unnecessarily.
This is serious when LLVM is enabled.
2010-05-12 15:46:28 +08:00
Chia-I Wu 87cc2da16e mesa/es: Merge back to core mesa.
With the omit list gone, there are not too many differences in building
core mesa and ES overlay.  Remove the mesa/es and build both of them in
src/mesa/Makefile.
2010-05-12 15:03:42 +08:00
Chia-I Wu 8d5c83c467 mesa/es: Remove omit list.
vbo/vbo_save* are the last members on the omit list.  Test FEATURE_dlist
in the sources and remove the omit list.
2010-05-12 13:50:29 +08:00
Chia-I Wu eb5100accc mesa: Make FEATURE_ATI_fragment_shader more modular.
This allows atifragshader.h to be used without knowing if
FEATURE_ATI_fragment_shader is enabled.  As a result, atifragshader.c is
removed from the omit list in ES overlay.
2010-05-12 13:46:53 +08:00
Chia-I Wu 82c6c31f55 mesa/es: Remove sources.mak.
All ES overlay sources have been merged into core Mesa.  Not much is
left in sources.mak so merge it into Makefile.
2010-05-12 13:08:09 +08:00
Chia-I Wu cc289e2221 mesa/es: Update sources.mak and fix the build.
Remove sources that are feature-aware from the omit list.  x86 -O0 build
is ~12KiB smaller afther making those sources feature-aware.

Also, remove get.c from the omit list as get_es[12].c have been merged
to it.
2010-05-12 12:30:22 +08:00
Chia-I Wu 1975208919 st/mesa: Make st_cb_drawtex.h FEATURE_OES_draw_texture aware.
This change allows st_cb_drawtex.h to be used without knowing if
FEATURE_OES_draw_texture is enabled.
2010-05-12 12:12:58 +08:00
Chia-I Wu 278bca0db9 mesa: Add dummy _mesa_lookup_query_object to queryobj.h.
This allows condrender.c to be compiled without FEATURE_queryobj.
2010-05-12 12:12:58 +08:00
Chia-I Wu e76e17d569 st/mesa: Make st_cb_blit.h FEATURE_EXT_framebuffer_blit aware.
This change allows st_cb_blit.h to be used without knowing if
FEATURE_EXT_framebuffer_blit is enabled.
2010-05-12 12:12:58 +08:00
Chia-I Wu 16775f4951 st/mesa: Make st_cb_queryobj.h FEATURE_queryobj aware.
This change allows st_cb_queryobj.h to be used without knowing if
FEATURE_queryobj is enabled.
2010-05-12 12:12:57 +08:00