Commit Graph

887 Commits

Author SHA1 Message Date
Nicolas Chauvet
732482a4c1 Add _with_xa when arch is arm and _with_freedreeno
According to the build instructions for freedreeno
https://github.com/freedreno/freedreno/wiki/Git-Trees-%26-Branches#build-instructions
the driver requires the xa state tracker to be enabled
2014-05-05 11:09:06 +02:00
Igor Gnatenko
f341e78569 typo fix in file list 2014-05-05 12:27:03 +04:00
Igor Gnatenko
000ebe36be 10.2-rc1 upstream release
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2014-05-05 12:12:15 +04:00
Igor Gnatenko
fcf27045cb Update to today's snapshot, apply patches for r600 GPU clock
- glsl: Only allow `invariant` on shader in/out between stages. (Chris Forbes)
- mesa: Fix error code generation in glReadPixels() (Anuj Phogat)
- mesa: Add an error condition in glGetFramebufferAttachmentParameteriv() (Anuj Phogat)
- mesa: Add error condition for integer formats in glGetTexImage() (Anuj Phogat)
- mesa: Add helper function _mesa_is_format_integer() (Anuj Phogat)
- i965: Fix component mask and varying_to_slot mapping for gl_ViewportIndex (Anuj Phogat)
- i965: Fix component mask and varying_to_slot mapping for gl_Layer (Anuj Phogat)
- i965: Put an assertion to check valid varying_to_slot[varying] (Anuj Phogat)
- mesa: fix GetStringi error message with correct function name (Benjamin Bellec)
- mesa: Fix error condition for multisample proxy texture targets (Anuj Phogat)
- swrast: Add glBlitFramebuffer to commands affected by conditional rendering (Anuj Phogat)
- st/xa: Cache render target surface (Thomas Hellstrom)
- mesa: fix check for dummy renderbuffer in _mesa_FramebufferRenderbufferEXT() (Samuel Iglesias Gonsalvez)
- mesa: Fix glGetVertexAttribi(GL_VERTEX_ATTRIB_ARRAY_SIZE) (Anuj Phogat)
- r600g: Disable LLVM by default at runtime for graphics (Michel Dänzer)

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2014-04-30 10:20:24 +04:00
Igor Gnatenko
6a418411ac fix buildrequires llvm 3.4-5 to 3.4-6, because 3.4-5 is not available for F20
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2014-04-19 19:16:04 +04:00
Igor Gnatenko
635d534dda Merge branch 'master' into f20 2014-04-19 19:01:53 +04:00
Igor Gnatenko
a70dedee9c 10.1.1 upstream release
- docs: Add the MD5 sums for the 10.1.1 release tar files. (Carl Worth)
- docs: Add release notes for 10.1.1 (Carl Worth)
- Update VERSION to 10.1.1 (Carl Worth)
- i965: Fix buffer overruns in MSAA MCS buffer clearing. (Eric Anholt)
- i965: Avoid dependency hints on math opcodes (Mike Stroyan)
- glsl: Try vectorizing when seeing a repeated assignment to a channel. (Kenneth Graunke)
- glsl: Propagate explicit binding information from the AST all the way to the linker (Ian Romanick)
- linker: Set binding for all elements of UBO array (Ian Romanick)
- linker: Set block bindings based on UniformBlocks rather than UniformStorage (Ian Romanick)
- linker: Clean up "unused parameter" warnings (Ian Romanick)
- glsl: Allow explicit binding on atomics again (Carl Worth)
- linker: Fold set_uniform_binding into call site (Ian Romanick)
- linker: Various trivial clean-ups in set_sampler_binding (Ian Romanick)
- linker: Split set_uniform_binding into separate functions for blocks and samplers (Ian Romanick)
- configure: don't require libudev for gbm or egl drm/wayland (Jonathan Gray)
- configure: cleanup libudev handling (Emil Velikov)
- configure: Use LLVM shared libraries by default (Tom Stellard)
- i965/fs: Don't propagate saturation modifiers if there are source modifiers. (Matt Turner)
- i965/fs: Don't propagate saturate modifiers into partial writes. (Matt Turner)
- i965/fs: Fix off-by-one in saturate propagation. (Matt Turner)
- haiku: Fix build through scons corrections and viewport fixes (Alexander von Gluck IV)
- egl/dri2: use drm macros to construct device name (Jonathan Gray)
- cherry-ignore: Ignore a few patches (Carl Worth)
- r600g: implement edge flags (Marek Olšák)
- r600g: Don't leak bytecode on shader compile failure (Michel Dänzer)
- glx: drop obsolete _XUnlock_Mutex in __glXInitialize error path (Emil Velikov)
- svga: move LIST_INITHEAD(dirty_buffers) earlier in svga_context_create() (Brian Paul)
- i965: Stop advertising GL_MESA_ycbcr_texture. (Kenneth Graunke)
- mesa: add bounds checking to eliminate buffer overrun (Courtney Goeltzenleuchter)
- svga: replace sampler assertion with conditional (Brian Paul)
- i965/vec4: fix record clearing in copy propagation (Chia-I Wu)
- glsl: Fix lack of i2u in lower_ubo_reference. (Kenneth Graunke)
- st/xa: Make sure unused samplers are set to NULL (Thomas Hellstrom)
- st/xa: Bind destination before setting new state (Thomas Hellstrom)
- nouveau: fix firmware check on nvd7/nvd9 (Ilia Mirkin)
- winsys/svga: Fix prime surface references also for guest-backed surfaces (Thomas Hellstrom)
- winsys/svga: Update the vmwgfx_drm.h header to latest version from kernel (Thomas Hellstrom)
- egl/dri2: don't require libudev to build drm/wayland platforms (Jonathan Gray)
- configure.ac: fix the detection of expat with pkg-config (Johannes Nixdorf)
- megadriver_stub.c: don't use _GNU_SOURCE to gate the compat code (Jonathan Gray)
- loader: don't limit the non-udev path to only android (Jonathan Gray)
- loader: use 0 instead of FALSE which isn't defined (Jonathan Gray)
- cso: fix sampler view count in cso_set_sampler_views() (Brian Paul)
- winsys/svga: Replace the query mm buffer pool with a slab pool v3 (Thomas Hellstrom)
- configure: enable dri3 only for linux (Emil Velikov)
- mesa: fix glMultiDrawArrays inside a display list (Brian Paul)
- st/mesa: add null pointer checking in query object functions (Brian Paul)
- mesa: fix unpack_Z32_FLOAT_X24S8() / unpack_Z32_FLOAT() mix-up (Brian Paul)
- st/mesa: fix sampler view handling with shared textures v4 (Christian König)
- draw: Duplicate TGSI tokens in draw_pipe_pstipple module. (José Fonseca)
- st/mesa: recreate sampler view on context change v3 (Christian König)
- nvc0/ir: move sample id to second source arg to fix sampler2DMS (Ilia Mirkin)
- st/mesa: drop the lowering of quad strips to triangle strips (Marek Olšák)
- st/mesa: fix generating mipmaps for cube arrays (Marek Olšák)
- mesa: fix software fallback for generating mipmaps for 3D textures (Marek Olšák)
- mesa: fix software fallback for generating mipmaps for cube arrays (Marek Olšák)
- mesa: allow generating mipmaps for cube arrays (Marek Olšák)
- mesa: fix texture border handling for cube arrays (Marek Olšák)
- c11/threads: don't include assert.h if the assert macro is already defined (Brian Paul)
- nouveau: there may not have been a texture if the fbo was incomplete (Ilia Mirkin)
- nouveau: add forgotten GL_COMPRESSED_INTENSITY to texture format list (Ilia Mirkin)
- mesa/main: condition GL_DEPTH_STENCIL on ARB_depth_texture (Ilia Mirkin)
- loader: add special logic to distinguish nouveau from nouveau_vieux (Ilia Mirkin)
- mesa: mark GL_RGB9_E5 as not color-renderable (Marek Olšák)
- st/mesa: fix per-vertex edge flags and GLSL support (v2) (Marek Olšák)
- i965/fs: Fix register comparisons in saturate propagation. (Kenneth Graunke)
- mesa: return v.value_int64 when the requested type is TYPE_INT64 (Emil Velikov)
- nv50: add missing brackets when handling the samplers array (Emil Velikov)
- r600g,radeonsi: fix MAX_TEXTURE_3D_LEVELS and MAX_TEXTURE_ARRAY_LAYERS limits (Marek Olšák)
- gallium: add endian detection for OpenBSD (Jonathan Gray)
- nv50: adjust blit_3d handling of ms output textures (Ilia Mirkin)
- nouveau: fix fence waiting logic in screen destroy (Ilia Mirkin)
- mesa: fix the format of glEdgeFlagPointer (Marek Olšák)
- r600g: fix blitting the last 2 mipmap levels for Evergreen (Marek Olšák)
- r600g: fix texelFetchOffset GLSL functions (Marek Olšák)
- mesa: Wrap SSE4.1 code in #ifdef __SSE4_1__. (Matt Turner)
- mesa: fix copy & paste bugs in pack_ubyte_SRGB8() (Brian Paul)
- mesa: fix copy & paste bugs in pack_ubyte_SARGB8() (Brian Paul)
- gallium/util: Fix memory leak (Aaron Watry)
- mesa: Allow GL_DEPTH_COMPONENT and GL_DEPTH_STENCIL combinations in glTexImage{123}D() (Anuj Phogat)
- mesa: Set initial internal format of a texture to GL_RGBA (Anuj Phogat)
- st/osmesa: check buffer size when searching for buffers (Brian Paul)
- c11/threads: Don't implement thrd_current on Windows. (José Fonseca)
- mapi/u_thread: Use GetCurrentThreadId (José Fonseca)
- c11/threads: Fix nano to milisecond conversion. (José Fonseca)
- mesa: don't define c99 math functions for MSVC >= 1800 (Hans)
- util: don't define isfinite(), isnan() for MSVC >= 1800 (Hans)
- mesa: don't call ctx->Driver.ClearBufferSubData() if size==0 (Brian Paul)
- softpipe: use 64-bit arithmetic in softpipe_resource_layout() (Brian Paul)

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2014-04-19 18:52:47 +04:00
Adam Jackson
a5a4159bbf Merge branch 'master' into f20 2014-04-16 10:57:14 -04:00
Adam Jackson
79a76ee2a5 i can specfile good 2014-04-16 10:56:42 -04:00
Adam Jackson
4077056057 Merge branch 'master' into f20 2014-04-15 17:32:50 -04:00
Adam Jackson
223fa3afe7 Disable DRI3 in F20, it requires libxcb bits we haven't backported. 2014-04-15 17:32:28 -04:00
Adam Jackson
e0b1553edf Unbreak changelog 2014-04-15 13:38:51 -04:00
Adam Jackson
b2a76586a8 Merge remote-tracking branch 'origin/master' into f20 2014-04-15 13:36:13 -04:00
Adam Jackson
567538d823 Initial ppc64le enablement (no hardware drivers or vdpau yet) 2014-03-26 16:19:20 -04:00
Adam Jackson
0411aeba5e mesa: Don't optimize out glClear if drawbuffer size is 0x0 (fdo #75797) 2014-03-21 11:33:26 -04:00
Dave Airlie
f35b486601 rebuild against backported llvm 3.4-5 for radeonsi GL 3.3 support. 2014-03-19 06:17:01 +00:00
Igor Gnatenko
637fa0fa97 10.0.4 upstream release
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2014-03-12 20:31:56 +04:00
Dave Airlie
9ed1dd10a3 disable r600 llvmcompiler on upstream advice. 2014-03-12 13:17:59 +10:00
Dave Airlie
af7dc30499 disable r600 llvm compiler (upstream advice) 2014-03-12 13:16:28 +10:00
Igor Gnatenko
618ff6d6f0 Merge mesa 10.0.3 into f20
commit '2f9ccd59140af45592bace9f563a2ff2e375668a'

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>

Conflicts:
	.gitignore
	0001-swrast-gallium-classic-add-MESA_copy_sub_buffer-supp.patch
	mesa.spec
	sources
2014-03-10 09:32:44 +04:00
Igor Gnatenko
2b2a62db01 10.1 upstream release
- mesa: Bump version to 10.1 (final) (Ian Romanick)
- glx/dri2: fix build failure on HURD (Julien Cristau)
- i965: Validate (and resolve) all the bound textures. (Chris Forbes)
- i965: Widen sampler key bitfields for 32 samplers (Chris Forbes)

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2014-03-05 12:33:52 +04:00
Igor Gnatenko
eb1af9860e fix date
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2014-03-01 22:55:04 +04:00
Igor Gnatenko
6747a404d7 10.1-rc3
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2014-03-01 21:15:05 +04:00
Igor Gnatenko
9f0930c9e9 really 10.1-rc2
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2014-02-25 14:05:22 +04:00
Igor Gnatenko
f1234e2531 10.1-rc2
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2014-02-22 15:18:16 +04:00
Adel Gadllah
67f57debb5 Really commit the source file ... 2014-02-08 13:41:42 +01:00
Adel Gadllah
99aa6aab8c Upload the new tarball 2014-02-08 13:36:19 +01:00
Adel Gadllah
da2b0d83ac Upload the new tarball 2014-02-08 13:35:59 +01:00
Adel Gadllah
44f8001c58 Upload the new tarball 2014-02-08 13:34:41 +01:00
Adel Gadllah
ed62f571be mesa 10.1 rc1 2014-02-08 13:28:02 +01:00
Igor Gnatenko
2f9ccd5914 10.0.3 upstream release
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2014-02-06 14:45:51 +01:00
Kyle McMartin
f8fdf35359 fix radeonsi_dri.so 2014-02-04 11:57:11 -05:00
Kyle McMartin
397d2d52e4 fix a stupid mistake in my previous commit 2014-02-02 16:25:35 -05:00
Kyle McMartin
ffb5ced72c fix up building drivers on AArch64, enable LLVM there and some more fixes
- Eliminate some F17 cruft from the spec, since we don't support it anymore.
- Conditionalize with_radeonsi on with_llvm instead of ppc,s390 && >F-17.
- Conditionalize libvdpau_radeonsi.so.1* on with_radeonsi instead of simply
  with_llvm to fix a build failure on AArch64.
2014-02-02 16:15:35 -05:00
Igor Gnatenko
5278992051 typo: fix macros
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2014-01-19 00:19:31 +04:00
Igor Gnatenko
6aae606725 enable OpenCL, r600-llvm
Enable OpenCL (RHBZ #887628)
Enable r600 llvm compiler (RHBZ #1055098)

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2014-01-19 00:06:01 +04:00
Dave Airlie
b6c637d800 rebuild for llvm 3.4 2014-01-14 17:31:54 +10:00
Igor Gnatenko
d49e48377a sanitize tarball
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2014-01-10 00:35:49 +04:00
Igor Gnatenko
21d6a6267f 10.0.2 upstream release
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2014-01-10 00:21:04 +04:00
Igor Gnatenko
ecc7e7cfe0 10.0.1 upstream release
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2013-12-20 23:22:55 +04:00
Igor Gnatenko
e5f518e346 9.2.5 upstream release
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2013-12-20 23:15:00 +04:00
Peter Robinson
5c9d064fb9 - use with_wayland for all wayland conditionals (instead of rhel)
- don't build aarch64 with llvm support for now
- fix aarch64 builds
2013-12-18 20:04:13 +00:00
Dave Airlie
6b27774940 don't build aarch64 with hardware for now 2013-12-17 11:13:00 +10:00
Dave Airlie
9f3eec83cf backport the GLX_MESA_copy_sub_buffer from upstream for cogl 2013-12-13 15:11:06 +10:00
Dave Airlie
ddf49f2d51 add software driver copy_sub_buffer support from upstream 2013-12-13 14:36:15 +10:00
Igor Gnatenko
08bc8bfdeb add sources
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2013-12-05 10:38:53 +04:00
Igor Gnatenko
037ad6c04b 10.0 upstream release
v1: dropped libdricore.so* (dropped by upstream)
    updated libxatracker.so.1 to libxatracker.so.2 (updated by upstream)
    updated patches and tools:
    make-git-snapshot updated for 10.0 branch
    sanitize-tarball updated for new functions
    nv-50 build fix updated for new file location
    dropped no-useless-vdpau, because not needed for new mesa stack

v2: Added msm_dri.so (added by upstream)

v3: Fix sanitize for vl_level_supported()
    Reported-and-tested-by: Kirill Rusinov <carasin.berlogue@mail.ru>

v4: Add reference to spec
    Drop old patch nv50

Tested-by: Kirill Rusinov <carasin.berlogue@mail.ru>
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1036361
2013-12-05 10:35:54 +04:00
Igor Gnatenko
f5c756cfd1 Revert "Mesa 10.0 release branch git snapshot"
This reverts commit fee912ca11.

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2013-12-05 10:24:55 +04:00
Dave Airlie
fee912ca11 Mesa 10.0 release branch git snapshot 2013-12-05 05:39:11 +00:00
Igor Gnatenko
66a1561bbc Merge branch 'master' into f20
Conflicts:
	.gitignore
	mesa.spec
	sources
2013-11-28 14:25:37 +04:00