| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Daniel Vetter <[email protected]>
|
|
|
|
|
|
| |
In llvm-2.9 Target->createMCInstPrinter() takes different arguments
Signed-off-by: Tobias Droste <[email protected]>
|
|
|
|
|
|
|
| |
Specifically, this ensures things like the front buffer actually exist. This
fixes piglt fbo/fbo-sys-blit and fd.o bug 35483.
Signed-off-by: Henri Verbeet <[email protected]>
|
|
|
|
| |
Signed-off-by: Henri Verbeet <[email protected]>
|
|
|
|
| |
Signed-off-by: Henri Verbeet <[email protected]>
|
|
|
|
| |
Signed-off-by: Henri Verbeet <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
GLSL 1.30 states clearly that only float and int are allowed, while the
GLSL ES specification's issues section states that sampler types may
take precision qualifiers.
Fixes compilation failures in 3DMarkMobileES 2.0 and GLBenchmark 2.0.
NOTE: This is a candidate for stable release branches.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Civilization 4's shaders make heavy use of gl_Color and don't use
perspective interpolation. This resulted in rivers, units, trees, and
so on being rendered almost entirely white. This is a regression
compared to the old fragment shader backend.
Found by inspection (comparing the old and new FS backend code).
References: https://bugs.freedesktop.org/show_bug.cgi?id=32949
NOTE: This is a candidate for the 7.10 branch.
|
|
|
|
|
|
| |
src/egl/main/egltypedefs.h needs the path for EGL/egl.h
Reported by jlind on irc.
|
| |
|
|
|
|
|
| |
We know what we can support in egl_dri2.c so just enable the extensions
there.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since GLSL IR allows multiple ir_variables to share the same name, we
need to generate unique names when printing the IR. Previously, we
always used %s@%p, appending the ir_variable's memory address.
While this worked, it had two drawbacks:
- When there aren't duplicates, the extra "@0x669a3e88" is useless
and makes the code harder to read.
- Real duplicates were hard to tell apart:
channel_expressions@0x6699e3c8 vs. channel_expressions@0x6699ddd8
We now append @2, @3, @4, and so on, but only where necessary to
distinguish duplicates. Since we only do this at print time, any
performance impact is irrelevant.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
|
|
|
|
|
| |
In llvm-2.9, the header file llvm/System/Host.h has been moved to
llvm/Support/Host.h.
|
|
|
|
|
|
| |
While making some other changes in this area I was finding it annoying
each of these functions took mostly the same set of parameters in
differing orders.
|
|
|
|
|
|
| |
'i' is already used for the outer loop. This caused some problems
while doing other work in this area. No bug exists here... until you
want to use the outer loop counter in the inner loop.
|
|
|
|
| |
NOTE: This is a candidate for the stable branches.
|
| |
|
| |
|
|
|
|
|
| |
At least MSVC sees a distinction between foo() and foo(void) and warns
about it.
|
| |
|
|
|
|
|
|
|
|
|
| |
We were using typecasts because the functions pointers are polymorphic
in the second argument type, which.
Surprisingly the wrong calling convention didn't cause crashes on Windows,
but it was causing certain registers to be trashed in MSVC optimized
builds, when processing callists in the ClearView RC Flight Simulator.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Piglit:
- fbo-alphatest-nocolor
NOTE: This is a candidate for the stable branches.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
I think the code ends up a lot more legible this way, though we've
still got the overloads in the fs_inst as well (even though there's
only one caller left currently).
|
|
|
|
|
|
|
| |
If set to year X, only report extensions up to that year. This is a
work-around for games that try to copy the extensions string to a fixed
size buffer and overflow. If a game was released in year X, setting
MESA_EXTENSION_MAX_YEAR to that year will likely fix the problem.
|
|
|
|
| |
Fixes minor sub-pixel positioning error in some apps.
|
|
|
|
| |
Signed-off-by: Iain Hibbert <[email protected]>
|
|
|
|
|
| |
Silences warnings about RADEON_TILING_SURFACE being redefined.
Only compile tested, not run tested.
|
| |
|
| |
|
|
|
|
| |
Thanks to Brian Paul for diagnosing the issue.
|
|
|
|
|
|
| |
glGet(GL_NORMAL_ARRAY) giving potentially wrong results.
Most of glGet(GL_XXX_ARRAY_BUFFER_BINDING) giving totally bogus results.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
merge instruction groups
Signed-off-by: Henri Verbeet <[email protected]>
|
|
|
|
| |
this is a port of the r300 winsys code to do the same thing.
|
| |
|
|
|
|
|
|
|
| |
Move this to the winsys, given it is not a virtual device limitation,
but a limitation specific to certain winsyses.
Also update debug message.
|
|
|
|
|
|
|
| |
These files are no longer considered shared as the X code is a lot simpler
without sharing them.
Signed-off-by: Dave Airlie <[email protected]>
|
| |
|
| |
|
| |
|
| |
|
| |
|