| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
In particular, don't use the clamped lod to compute level + 1, or
lod in [-1, 0] range will actually interpolate with level 1.
This makes Mipfilter DCT pass 100%.
|
|
|
|
|
|
| |
Also start axing the code duplication for scalar case. The olution is to
treat the scalar case specially in a few innermost functions, and leave
outer functions untouched.
|
|
|
|
|
|
| |
It's quite a pain to remember the details after a while, and it is quite
likely we'll want to use this again, either for different polynomial
orders or different functions, so commit it here.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
This basically reverts commit 74f94e8fdfe035fa68acdc19e6b0afc2957a4264.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This is actually better than a real implementation, which would be useless
due to inaccuracy (I know because I've tried to implement it).
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This reduces redundant code by moving:
- CS space reservation
- buffer validation
- dirty state emission
- index bias emission
- AOS emission
into r300_prepare_for_rendering.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
There are enough EGL modules that they deserve a subdirectory, to avoid
polluting $(TOP)/$(LIB_DIR).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Move the install rules for OpenGL ES from src/mesa/Makefile to mapi.
|
| |
|
|
|
|
| |
Unlike the one produced by st/vega, this is a dispatch-only library.
|
|
|
|
|
| |
Remove src/gles and have mapi/{es1api,es2api} build libGLESv1_CM.so and
libGLESv2.so.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
dlopen api_<API>.so before dlopening the process itself in case the
client APIs are implemented in external modules.
|
|
|
|
| |
The function can be used by a driver to check each search path of EGL.
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
fpclassify is provided by math.h
Signed-off-by: Jon TURNEY <[email protected]>
Signed-off-by: Brian Paul <[email protected]>
|
|
|
|
| |
Part of a fix for piglit trinity-fp1 test failure.
|
|
|
|
|
| |
This was missed in commit 296adbd545b8efd38c9ed508166b2de2764a444b.
Fixes darwin build.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
vgapi is a dispatcher for OpenVG.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|