summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-05-08gallivm: Use a minimax polynomial for exp2 in range [0,1] instead [-0.5,5].José Fonseca
The advantage of range[-0.5, 0.5] is that it doesn't require floor (for which intrinsics are only available in SSE4.1). But the EXP opcode pretty much forces us to use floor, and there is a good floor approximation around truncation available anyway. This fixes EXP failures in VShader DCT.
2010-05-08gallivm: Don't hardcode number of args twice.José Fonseca
2010-05-08r300g: follow pipe_rasterizer_state::light_twosideMarek Olšák
2010-05-08r300g: follow pipe_rasterizer_state::point_size_per_vertexMarek Olšák
2010-05-08r300g: move GA_POINT_MINMAX back to rs_stateMarek Olšák
This basically reverts commit 74f94e8fdfe035fa68acdc19e6b0afc2957a4264.
2010-05-08r300g: fix glean/pointSprite using lodbias correctionMarek Olšák
2010-05-08r300g: pass depth texture swizzle to the compiler if compare mode is enabledMarek Olšák
2010-05-08r300g: respect compare mode regardless of sampler typeMarek Olšák
2010-05-08r300/compiler: fake equal/notequal for shadow samplersMarek Olšák
This is actually better than a real implementation, which would be useless due to inaccuracy (I know because I've tried to implement it).
2010-05-08r300/compiler: use perspective division only for TXP in shadow samplersMarek Olšák
2010-05-08r300/compiler: make shadow sampler codegen more readable, add commentsMarek Olšák
2010-05-08r300/compiler: shorten RC_*SWIZZLE* expressionsMarek Olšák
2010-05-08r300/compiler: generalize depth texture mode to support arbitrary swizzlesMarek Olšák
2010-05-08r300/compiler: fix LIT instruction case 0^0 = 1Marek Olšák
2010-05-08r300g: consolidate common render code into one functionMarek Olšák
This reduces redundant code by moving: - CS space reservation - buffer validation - dirty state emission - index bias emission - AOS emission into r300_prepare_for_rendering.
2010-05-08gallivm: The the JIT engine to use our sinf()/cosf() on Windows.José Fonseca
A quick hack to get the right results, as there are many DCT tests which use these opcodes to generate data to test other opcodes.
2010-05-08gallivm: Fix BREAK/CONT translation.José Fonseca
The cont_mask must be restored and exec mask recomputed in order to decide whether to repeat the loop or not. Unlike the continue mask, the break_mask must be preserved across loop iterations. Fixes several VShader DCT cases, and no regressions with glean.
2010-05-08llvmpipe: Cover more formats in unit test.José Fonseca
2010-05-08gallivm: Fix segfaul when inserting allocas in an empty function.José Fonseca
2010-05-08gallivm: Centralize SoA swizzling into a single place.José Fonseca
2010-05-08gallivm: Support predicates.José Fonseca
2010-05-08llvmpipe: Match p_screen.h's function prototype.José Fonseca
2010-05-08llvmpipe: Remove unnecessary header.Vinson Lee
2010-05-08egl: Build drivers in $(TOP)/$(LIB_DIR)/egl.Chia-I Wu
There are enough EGL modules that they deserve a subdirectory, to avoid polluting $(TOP)/$(LIB_DIR).
2010-05-08gallium: Add egl-apis target.Chia-I Wu
The new target installs client API modules to EGL_DRIVER_INSTALL_DIR. They are used by st/egl. The client APIs are built from OpenGL and OpenVG state trackers. For this to work, st/vega is modified to produce a static library, libvega.a, instead. st/es is also not needed any more. It is removed and --with-state-trackers=es is replaced by --enable-gles-overlay. As st/egl now has its own client API modules, this solves the ABI issue between st/egl and client APIs, as long as the client API modules are distributed with st/egl. Plus, this allows st/egl to support OpenGL with non-Gallium libGL.so.
2010-05-08mapi: Add install rules for OpenGL ES.Chia-I Wu
Move the install rules for OpenGL ES from src/mesa/Makefile to mapi.
2010-05-08mapi: Install .pc file for OpenVG.Chia-I Wu
2010-05-08mapi: Update vgapi to build libOpenVG.so.Chia-I Wu
Unlike the one produced by st/vega, this is a dispatch-only library.
2010-05-08mapi: Merge src/gles/.Chia-I Wu
Remove src/gles and have mapi/{es1api,es2api} build libGLESv1_CM.so and libGLESv2.so.
2010-05-08Define OpenGL ES and OpenVG library names.Chia-I Wu
Define <API>_LIB, <API>_LIB_NAME, <API>_LIB_GLOB, and some other variables in the configs. Fix a typo in glesv1_cm.pc.in where an inexistent variable is used.
2010-05-08egl_g3d: Check external modules for client APIs first.Chia-I Wu
dlopen api_<API>.so before dlopening the process itself in case the client APIs are implemented in external modules.
2010-05-08egl: Add _eglSearchPathForEach.Chia-I Wu
The function can be used by a driver to check each search path of EGL.
2010-05-07gallium/draw: additional comments in the clipping codeBrian Paul
2010-05-07mesa: remove driver hooks for GetFloat/Integer/Doublev, etcBrian Paul
Once upon a time some drivers hooked into these for GL_HP_occlusion_test and GL_OES_read_format. They're not being used anymore so get rid of them.
2010-05-07glx: Get GLX_SCREEN first in __glXQueryContextInfo()Kristian Høgsberg
And lookup the GLX screen for the context. Otherwise we'll end up jumping through a NULL-pointer once we try to look up the visual or config for the shared context. https://bugs.freedesktop.org/show_bug.cgi?id=14245
2010-05-07mesa: fpclassify dummy definition is not needed on cygwinJon TURNEY
fpclassify is provided by math.h Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-05-07tgis: fix SOA aliasing for MUL instruction in SSE codegenBrian Paul
Part of a fix for piglit trinity-fp1 test failure.
2010-05-06apple: Move glapi to mapi.Vinson Lee
This was missed in commit 296adbd545b8efd38c9ed508166b2de2764a444b. Fixes darwin build.
2010-05-07mapi/glapi: Don't allocate a page for every function on windows.José Fonseca
2010-05-07mapi: Avoid Data Execution Prevention on windows.José Fonseca
2010-05-07wgl: Add mapi to includes.José Fonseca
2010-05-07mapi: Add x86-64 dispatcher.Chia-I Wu
2010-05-07mapi: Add x86 dispatcher.Chia-I Wu
2010-05-07st/vega: Use vgapi.Chia-I Wu
Rename vgFooBar to vegaFooBar and use vgapi as the dispatcher. This makes sure there is always a current context when the internal functions are called. And eglGetProcAddress is finally supported.
2010-05-07mapi: Add vgapi.Chia-I Wu
vgapi is a dispatcher for OpenVG.
2010-05-07mapi: Add a generic C dispatcher.Chia-I Wu
The idea is to have an API generate a header using mapi_abi.py. The API can then use the header to build a dispatcher.
2010-05-07mapi: Add mapi and share the code with glapi.Chia-I Wu
Specifically, move all or most of glapi/glapi.c to mapi/u_current.c, glapi/glapi_execmem.c to mapi/u_execmem.c, glapi/glthread.[ch] to mapi/u_thread.[ch] and remove their dependencies on core Mesa headers.
2010-05-07glapi: Move to src/mapi/.Chia-I Wu
Move glapi to src/mapi/{glapi,es1api,es2api}.
2010-05-07glapi: Move assembly dispatchers back into glapi/.Chia-I Wu
2010-05-06gallivm: Require SSE2 for draw_llvm/llvmpipe due to LLVM PR6960.Török Edwin
Note that this also requires X86 for llvm, if llvmpipe/draw_llvm works on PPC then the condition should be extended to include && x86. Signed-off-by: Török Edwin <edwintorok@gmail.com> Signed-off-by: José Fonseca <jfonseca@vmware.com>