summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* radeonsi: add more cases for copying unsupported formats to resource_copy_regionMarek Olšák2013-05-101-0/+12
| | | | | | | | | | | | Ported from r600g commit: 8891b2f9c91b2f6c8625184c23a10b8e55875dc0 Reviewed-by: Michel Dänzer <[email protected]> Reviewed-by: Christian König <[email protected]> NOTE: This is a candidate for the 9.1 branch. (cherry picked from commit ff01e0db0e45b47b6012e7c28f331a4a8e518df9)
* glsl: Fix array indexing when constant folding built-in functions.Paul Berry2013-05-101-1/+1
| | | | | | | | | | | | | | | | | | | | Mesa constant-folds built-in functions by using a miniature GLSL interpreter (see ir_function_signature::constant_expression_evaluate_expression_list()). This interpreter had a bug in its handling of array indexing, which caused expressions like "m[i][j]" (where m is a matrix) to be handled incorrectly. Specifically, it incorrectly treated j as indexing into the whole matrix (rather than indexing just into the vector m[i]); as a result the offset computed for m[i] was lost and m[i][j] was treated as m[j][0]. Fixes piglit tests inverse-mat[234].{vert,frag}. NOTE: This is a candidate for the 9.1 and 9.0 branches. Reviewed-by: Ian Romanick <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=57436 (cherry picked from commit 7d4f1e6467a1b28ea6b0453ef9cd0254b3d57c19)
* radeonsi: Handle arbitrary 2-byte formats in resource_copy_regionMichel Dänzer2013-05-101-0/+6
| | | | | | | | | | | | Fixes mplayer -vo vdpau OSD. NOTE: This is a candidate for the 9.1 branch. Reported-by: Igor Vagulin <[email protected]> Reviewed-by: Christian König <[email protected]> Tested-by: Christian König <[email protected]> (cherry picked from commit c6efb4870b7c735e4dc1907dfdfd1be3159dc451)
* nvc0: Fix fd leak in nvc0_create_decoderMaarten Lankhorst2013-05-101-2/+2
| | | | | | | NOTE: This is a candidate for the 9.0 and 9.1 branches. Signed-off-by: Maarten Lankhorst <[email protected]> (cherry picked from commit 6d20c646d600518a67f6fb93ea0c71d03e65d74a)
* GLSL: fix lower_jumps to report progress properlyAras Pranckevicius2013-05-101-1/+3
| | | | | | | | | | A fix for lower_jumps progress reporting, very much like similar in c1e591eed. NOTE: This is a candidate for stable branches. Reviewed-by: Ian Romanick <[email protected]> (cherry picked from commit b2eee0869fde2d0ade19005524147c035ad764ea)
* i965/fs: Clean up the setup of gen4 simd16 message destinations.Eric Anholt2013-05-101-5/+4
| | | | | | | | I think this makes it much more obvious what's going on here. NOTE: This is a candidate for the 9.1 branch. Reviewed-by: Kenneth Graunke <[email protected]> (cherry picked from commit 8edc7cbe645b650bcb4e7fa190c9322c289ec177)
* i965/fs: Do CSE on gen7's varying-index pull constant loads.Eric Anholt2013-05-101-10/+33
| | | | | | | | | | | | | This is our first CSE on a regs_written() > 1 instruction, so it takes a bit of extra fixup. Reduces the number of loads on kwin's Lanczos shader from 12 to 2. v2: Fix compiler warning (false positive on possibly-uninitialized variable) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=61554 Reviewed-by: Kenneth Graunke <[email protected]> (v1) NOTE: This is a candidate for the 9.1 branch. (cherry picked from commit 9f43b8492818bab47ef9cc489b91c2618446a3e9)
* i965/fs: Avoid inappropriate optimization with regs_written > 1.Eric Anholt2013-05-101-0/+6
| | | | | | | | | Right now we don't have anything with regs_written() > 1 and !inst->mlen, but that's about to change. NOTE: This is a candidate for the 9.1 branch. Reviewed-by: Kenneth Graunke <[email protected]> (cherry picked from commit bc0e1591f64b8b3f2693fceaaa8bba9198e26171)
* i965: Make the constant surface interface take a normal byte size.Eric Anholt2013-05-105-23/+17
| | | | | | | | | | This puts the rounding-up logic into the function itself instead of all the callers having to manage it. Also drop an "unused" comment in gen4, as the stride *is* used for texbos (and will be for uniforms soon). NOTE: This is a candidate for the 9.1 branch. Reviewed-by: Kenneth Graunke <[email protected]> (cherry picked from commit 2f41a601455e6e0366e28b6b84871842cb4bd341)
* i965/fs: Move varying uniform offset compuation into the helper func.Eric Anholt2013-05-103-11/+13
| | | | | | | | | I'm going to want to change the math for gen7 using sampler LD instructions in a way that gets CSE to occur like we'd hope. NOTE: This is a candidate for the 9.1 branch. Reviewed-by: Kenneth Graunke <[email protected]> (cherry picked from commit 8c694dfe6478ce9355c866ae70db45e49e499de3)
* i965/fs: Remove creation of a MOV instruction that's never used.Eric Anholt2013-05-101-1/+0
| | | | | | | | | We weren't inserting it into the list, so it did nothing. This line was replaced by the MOV/MUL block above. NOTE: This is a candidate for the 9.1 branch. Reviewed-by: Kenneth Graunke <[email protected]> (cherry picked from commit 59e858861caad2649f4c282eb277a7fc6202ab65)
* ACTIVE_UNIFORM_MAX_LENGTH should include 3 extra characters for arrays.Haixia Shi2013-05-101-2/+4
| | | | | | | | | | | | | | | | | | If the active uniform is an array, then the length of the uniform name should include the three extra characters for the "[0]" suffix, which is required by the GL 4.2 spec to be appended to the uniform name in glGetActiveUniform(). This avoids the situation where the output buffer does not have enough space to hold the "[0]" suffix, resulting in an incomplete array specification like "foobar[0". NOTE: This is a candidate for the 9.1 branch. Change-Id: I41e87ba347a7169eec8c575596cc3416adbe0728 Signed-off-by: Haixia Shi <[email protected]> Reviewed-by: Stéphane Marchesin <[email protected]> Reviewed-by: Ian Romanick <[email protected]> (cherry picked from commit bc0cc2944ff13549df8276b856acc79254c5db07)
* mesa: remove platform checks around __builtin_ffs, __builtin_ffsllBrian Paul2013-05-101-6/+0
| | | | | | | | | | | | Use the __builtin_ffs, __builtin_ffsll functions whenever we have GCC, not just for specific platforms. Fixes Solaris build. Note: This is a candidate for the stable branches. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=62868 Signed-off-by: Brian Paul <[email protected]> Reviewed-by: Jose Fonseca <[email protected]> (cherry picked from commit 95df2b28831147b3e7ce2a3b6257bf60c46b4ab4)
* mesa: Note that patch 0967c36 shouldn't actually get picked to the 9.1 branchIan Romanick2013-05-101-0/+3
| | | | | | | The code didn't apply cleanly due to a number of refactors, so a different solution was needed. Signed-off-by: Ian Romanick <[email protected]>
* i965/fs: Don't try to use bogus interpolation modes pre-Gen6.Chris Forbes2013-05-081-9/+17
| | | | | | | | | | | | | | | | | | | | Interpolation modes other than perspective-barycentric-pixel-center (and their associated coefficients in the WM payload) only exist in Gen6 and later. Unfortunately, if a varying was declared as `centroid`, we would blindly read the nonexistant values, and so produce all manner of bad behavior -- texture swimming, snow, etc. Fixes rendering in Counter-Strike Source and Team Fortress 2 on Ironlake. Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Paul Berry <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Jordan Justen <[email protected]> Tested-by: Jordan Justen <[email protected]> (cherry picked from commit 79f786f9367e0071916e1d3c25bfff00d114339c)
* docs: Add 9.1.2 release md5sumsIan Romanick2013-04-301-1/+3
| | | | Signed-off-by: Ian Romanick <[email protected]>
* docs: 9.1.2 release notesmesa-9.1.2Ian Romanick2013-04-301-0/+235
| | | | Signed-off-by: Ian Romanick <[email protected]>
* mesa: Bump version to 9.1.2Ian Romanick2013-04-303-4/+4
| | | | Signed-off-by: Ian Romanick <[email protected]>
* i965/vs: Fix Gen4/5 VUE map inconsistency with gl_ClipVertexChris Forbes2013-04-301-3/+5
| | | | | | | | | | | | | | | | | | | | | | | This is roughly a backport of Eric's commit 0967c362. We avoided assigning a slot in the VUE map for gl_ClipVertex, but left the bit set in outputs_written, producing horrible confusion further down the pipe. Mostly fixes rendering in source games, and probably in Freespace 2 SCP. No Piglit regressions on Ironlake. Signed-off-by: Chris Forbes <[email protected]> V2: Mask out the bit, not its index. Strangely, the game still worked with that wrong, but rendering of pretty much anything else was completely trashed. Reviewed-by: Paul Berry <[email protected]> Reviewed-by: Jordan Justen <[email protected]> Tested-by: Jordan Justen <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
* linux: Don't emit a .note.ABI-tag section anymore (#26663)Adam Jackson2013-04-274-52/+0
| | | | | | | | | | | | We don't support pre-2.6 kernels anyway - the install docs say 2.6.28 for DRI - and apparently this confuses ld.so's sorting when multiple libGLs are installed. Just remove it. Note: this is a candidate for the stable branches. Acked-by: Kenneth Graunke <[email protected]> Signed-off-by: Adam Jackson <[email protected]> (cherry picked from commit 904b03824b4c5cc24649aa69dd1a557ddfd5dda3)
* r600g: disable hyperz by default on 9.1Alex Deucher2013-04-221-1/+1
| | | | | | | | | There are too many cases were we end up with lockups. Once we sort out the remaining issues on master, they can be backported and hyperz can be re-enabled on 9.1 Reviewed-by: Michel Dänzer <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
* r300g: Fix bug in OMOD optimizationTom Stellard2013-04-121-1/+3
| | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=60503 NOTE: This is a candidate for the stable branches. (cherry picked from commit c6a86fb5639977f37a1403012669cdee86bbd89f)
* i965: Avoid segfault in gen6_upload_stateCarl Worth2013-04-101-1/+1
| | | | | | | | | | | | | | | | | This fixes a bug introduced in commit 258453716f001eab1288d99765213 and triggered whenever "rb" is NULL. Fixes at least one cause bug #59445: [SNB/IVB/HSW Bisected]Oglc draw-buffers2(advanced.blending.none) segfault https://bugs.freedesktop.org/show_bug.cgi?id=59445 (Though segfaults are still possible in that test case, but they have been present since before commit 258453716f which is what's being fixed here.) Reviewed-by: Eric Anholt <[email protected]> [[email protected]: fixes Anomaly Warzone Earth crash at title screen] Tested-by: Jordan Justen <[email protected]>
* mesa: Note that patch dbf94d1 should't actually get picked to the 9.1 branchIan Romanick2013-04-081-0/+3
| | | | Signed-off-by: Ian Romanick <[email protected]>
* glsl: Add missing bool case in glsl_type::get_scalar_typeIan Romanick2013-04-081-0/+2
| | | | | | | | | | | | | Since the case was missing bec4->get_scalar_type() would return bvec4, but vec4->get_scalar_type() would return float. NOTE: This is a candidate for stable branches. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Jordan Justen <[email protected]> (cherry picked from commit c770faea0a308ffb858c0125c9e680c6e477efee)
* r600g: Use virtual address for PIPE_QUERY_SO* in r600_emit_query_endMartin Andersson2013-04-081-2/+3
| | | | | | | | | | | | | Virtual address is used for PIPE_QUERY_SO* queries in r600_emit_query_begin, but not in r600_emit_query_end. This will trigger a GPU fault when one of those queries is made and virtual address is enabled. Note: this is a candidate for the 9.1 branch Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit 92855bcc95207252045314b658eb10c6305020bc)
* mesa: Disable validate_ir_tree() on release builds.Eric Anholt2013-04-082-2/+6
| | | | | | | | | | Since half of ir_validate uses asserts() (the other using printf() then abort()), there's not much use to calling it in a release build. Cuts 6.3% of the startup time of TF2. NOTE: This is a candidate for the stable branches. Reviewed-by: Kenneth Graunke <[email protected]> (cherry picked from commit 712bac1f4130cb2ea75c53698cc6428d93b26ed3)
* mesa: handle HALF_FLOAT like FLOAT in get_tex_rgbaMarek Olšák2013-04-081-0/+1
| | | | | | | | NOTE: This is a candidate for the stable branches. Reviewed-by: Brian Paul <[email protected]> Tested-by: Brian Paul <[email protected]> (cherry picked from commit b2a4573c14b04f11525dfd33971863ee3e00f995)
* mesa: Implement TEXTURE_IMMUTABLE_LEVELS for ES 3.0.Matt Turner2013-04-053-0/+14
| | | | | | | | NOTE: This is a candidate for the 9.1 branch. Fixes piglit's texture-immutable-levels test. Reported-by: Marek Olšák <[email protected]> Reviewed-by: Brian Paul <[email protected]> (cherry picked from commit 12dc4be8a66c92ce04637abc54ed85ac7ff9aa13)
* glx: Build with VISIBILITY_CFLAGS in automakeAdam Jackson2013-04-051-0/+1
| | | | | | | Note: This is a candidate for the stable branches. Signed-off-by: Adam Jackson <[email protected]> (cherry picked from commit 38aa8ec937a1c9972b65dc448cc50f3763fa2d3b)
* radeonsi: Emit pixel shader state even when only the vertex shader changedMichel Dänzer2013-04-051-0/+5
| | | | | | | | | Fixes random failures with piglit glsl-max-varyings. NOTE: This is a candidate for the 9.1 branch. Reviewed-by: Christian König <[email protected]> (cherry picked from commit 032e5548b3d4b5efa52359218725cb8e31b622ad)
* i965: Don't use texture swizzling to force alpha to 1.0 if unnecessary.Kenneth Graunke2013-04-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 33599433c7 began setting the texture swizzle mode to XYZ1 for RED, RG, and RGB textures in order to force alpha to 1.0 in case we actually stored the texture as RGBA. This had a unforseen performance implication: the shader precompile assumes that the texture swizzle mode will be XYZW for non-shadow sampler types. By setting it to XYZ1, this means every shader used with a RED, RG, or RGB texture has to be recompiled. This is a very common case. Unfortunately, there's no way to improve the precompile, since RGBA textures still need XYZW, and there's no way to know by looking at the shader source what texture formats might be used. However, we only need to smash alpha to 1.0 if the texture's memory format actually has alpha bits. If not, the sampler already returns 1.0 for us without any special swizzling. XRGB8888, for example, is a very common case where this occurs. This partially fixes a performance regression since commit 33599433c7. More work is required to fully fix it in all cases. This at least helps Warsow. NOTE: This is a candidate for the 9.1 branch. Reviewed-by: Carl Worth <[email protected]> Signed-off-by: Kenneth Graunke <[email protected]> (cherry picked from commit d86efc075ed84a8c45bfb71cee56dcd18858f727)
* radeon/llvm: Do not link against libgallium when building statically.Maarten Lankhorst2013-04-051-1/+4
| | | | | | | | NOTE: This is a candidate for the 9.1 branch. Tested-by: Vincent Lejeune <[email protected]> Signed-off-by: Maarten Lankhorst <[email protected]> (cherry picked from commit 7c3d8301afed46cf932bf23431085de490a1f83a)
* gallium/egl: fix out-of-tree buildAndreas Boll2013-04-051-1/+1
| | | | | | | | | | | Taken from downstream: http://anonscm.debian.org/gitweb/?p=pkg-xorg/lib/mesa.git;a=blob;f=debian/patches/15-fix-oot-build.diff;h=7040999a22d3937d0578cfd85ee2c71d7dc614bb;hb=refs/heads/ubuntu%2B1 NOTE: This is a candidate for the 9.1 branch. Acked-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]> (cherry picked from commit 182895c4e691e9e783278f1448772e855ade7b33)
* osmesa: fix out-of-tree buildAndreas Boll2013-04-051-0/+1
| | | | | | | | | | | | | Taken from downstream: http://anonscm.debian.org/gitweb/?p=pkg-xorg/lib/mesa.git;a=blob;f=debian/patches/14-fix-osmesa-build.diff;h=00581d0e1833c5492d9050e1bf3d5e658cad782e;hb=refs/heads/ubuntu%2B1 v2: Move the added line immediately after -I$(top_srcdir)/src/mapi NOTE: This is a candidate for the 9.1 and 9.0 branches. Acked-by: Kenneth Graunke <[email protected]> (v1) Reviewed-by: Matt Turner <[email protected]> (cherry picked from commit 92e6260c1960f78692417433206c38170ec1a625)
* build: Enable x86 assembler on Hurd.Andreas Boll2013-04-051-0/+3
| | | | | | | | | | | | | | | Taken from downstream: http://anonscm.debian.org/gitweb/?p=pkg-xorg/lib/mesa.git;a=blob;f=debian/patches/10-hurd-configure-tweaks.diff;h=984e17df1b8afdf8e4b36bee96aa5ab6a5691021;hb=refs/heads/ubuntu%2B1 Thanks to Pino Toscano. v2: Don't bother with x86_64. AFAICT GNU/Hurd doesn't support it so far. NOTE: This is a candidate for stable branches. Acked-by: Kenneth Graunke <[email protected]> (v1) Acked-by: Matt Turner <[email protected]> (cherry picked from commit 06fff296e98b054fb54cfa32f72331f10f0bb629)
* mesa: use ieee fp on s390 and m68kAndreas Boll2013-04-051-1/+2
| | | | | | | | | | | | | | | Taken from downstream: http://anonscm.debian.org/gitweb/?p=pkg-xorg/lib/mesa.git;a=blob;f=debian/patches/02_use-ieee-fp-on-s390-and-m68k.patch;h=d3d6c1d7fec3c72ecf320706167deb61c52636c3;hb=refs/heads/ubuntu%2B1 Fixes Debian bug #349437. Patch written by David Nusinow. NOTE: This is a candidate for stable branches. Acked-by: Kenneth Graunke <[email protected]> Acked-by: Matt Turner <[email protected]> (cherry picked from commit 7962f28c439948853dbdf2be04914e004a77c1d7)
* gallivm: fix return opcode handling in main function of a shaderRoland Scheidegger2013-04-052-3/+18
| | | | | | | | | | | | | | | | | | | | If we're in some conditional or loop we must not return, or the code after the condition is never executed. (v2): And, we also can't just continue as nothing happened, since the mask update code would later check if we actually have a mask, so we need to remember that there was a return in main where we didn't exit (to illustrate this, a ret in a if clause would cause a mask update which is still ok as we're in a conditional, but after the endif the mask update code would drop the mask hence bringing execution back to pixels which should have their execution mask set to zero by the ret). Thanks to Christoph Bumiller for figuring this out. This fixes https://bugs.freedesktop.org/show_bug.cgi?id=62357. Note: This is a candidate for the stable branches. Reviewed-by: Jose Fonseca <[email protected]> (cherry picked from commit 5af7b45986d1b56c568ebe9c3a40d48853e2e9ff)
* radeon/llvm: Link against libgallium.la to fix an undefined symbolAndreas Boll2013-04-051-0/+1
| | | | | | | | | | | | | | Ported from downstream: http://anonscm.debian.org/gitweb/?p=pkg-xorg/lib/mesa.git;a=blob;f=debian/patches/119-libllvmradeon-link.patch;h=ee47f8a07dbf33c32f8b57faed923680ed6648fb;hb=refs/heads/ubuntu%2B1 Fixes a regression introduced with f70c3853513637fa6ed38e75f73d472a9fa61213 NOTE: This is a candidate for the 9.1 branch. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=62434 Signed-off-by: Maarten Lankhorst <[email protected]> (cherry picked from commit 36320bfa54b758b34df732250365b91ff1ab858c)
* gallium/build: Fix visibility CFLAGS in automakeMaarten Lankhorst2013-04-056-4/+15
| | | | | | | | | | | | v2: Andreas Boll <[email protected]> - Fix formatting - use one CFLAG per line NOTE: This is a candidate for the 9.1 branch. Signed-off-by: Maarten Lankhorst <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59238 Reviewed-by: Andreas Boll <[email protected]> (cherry picked from commit f70c3853513637fa6ed38e75f73d472a9fa61213)
* i965: Apply depthstencil alignment workaround when doing fast clears.Paul Berry2013-04-051-1/+5
| | | | | | | | | | | | | | | | | | | | | | | Fast depth clears have the same depth/stencil alignment requirements as other drawing operations. Therefore, we need to call brw_workaround_depthstencil_alignment() from both the clear and drawing paths. Without this fix, we get image corruption if the following conditions hold: (a) the first ever drawing operation to a depth miplevel (or the first drawing operation after having used the texture for sampling) is a clear, (b) the depth miplevel has a size that is eligible for fast depth clears, and (c) the depth miplevel has an offset within the miptree that isn't 8x8 aligned. Fixes piglit "depthstencil-render-miplevels" tests with size 273. NOTE: This is a candidate for stable branches Reviewed-by: Chad Versace <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]> (cherry picked from commit c5d5827951fb321a58cc781b4e386551035ebf1a)
* i965: Make INTEL_DEBUG=shader_time use the RAW surface format.Kenneth Graunke2013-04-052-3/+3
| | | | | | | | | | | | | | | Untyped Atomic Operation messages are illegal for non-RAW formats. The IVB hardware proceeds happily (after all, who cares what the format of the surface is if you're doing untyped ops on it?), but later hardware apparently doesn't. The simulator for gen7 does complain, though. v2: Rebase against updates to previous patches. (by anholt) NOTE: This is a candidate for the 9.1 branch. Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Paul Berry <[email protected]> Signed-off-by: Kenneth Graunke <[email protected]> (cherry picked from commit 91df4d746bd50b328b9f4b55126c95c046087a4d)
* i965: Specialize SURFACE_STATE creation for shader time.Kenneth Graunke2013-04-054-8/+45
| | | | | | | | | | | | | | | | | | | This is basically a copy and paste of gen7_create_constant_surface, but with the parameters filled in to offer a simpler interface. It will diverge shortly. I didn't bother adding it to the vtable for now since shader time is only exposed on Gen7+. v2: Replace tabs in the new code (by anholt) Add back dropped memset() and add a comment about HSW channel selects. NOTE: This is a candidate for the 9.1 branch. Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Paul Berry <[email protected]> Signed-off-by: Kenneth Graunke <[email protected]> (cherry picked from commit 125b34cffbd377a3b27967b37767692796542250)
* i965: Fix INTEL_DEBUG=shader_time for Haswell.Kenneth Graunke2013-04-052-4/+12
| | | | | | | | | | | | | | | | Haswell's "Data Cache" data port is a single unit, but split into two SFIDs to allow for more message types without adding more bits in the message descriptor. Untyped Atomic Operations are now message 0010 in the second data cache data port, rather than 6 in the first. v2: Use the #defines from the previous commit. (by anholt) NOTE: This is a candidate for the 9.1 branch. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]> (v1) (cherry picked from commit f27a220cadd1326e6293a2c3fb945b7765a85da4)
* i965: Add definitions for gen7+ data cache messages.Eric Anholt2013-04-051-0/+37
| | | | | | | | | | | We were sparsely using some of these message types, but I'll just fill them all in now. It will be used for fixing shader_time on HSW. v2: Add missing MEDIA_BLOCK_READ. NOTE: This is a candidate for the 9.1 branch. Reviewed-by: Kenneth Graunke <[email protected]> (cherry picked from commit a2d08f170ab0d4ac7ba8d4c74db3a410f6cafa19)
* mesa: Fix FB blitting in case of zero size src or dst rectAnuj Phogat2013-04-051-1/+3
| | | | | | | | | | | | | | | | Framebuffer blitting operation should be skipped if any of the dimensions (width/height) of src/dst rect is zero. V2: Move the dimension check after error checking in _mesa_BlitFramebuffer. Fixes: fbblit(negative.nullblit.zeroSize) in Intel oglconform https://bugs.freedesktop.org/show_bug.cgi?id=59495 Note: Candidate for all the stable branches. Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Paul Berry <[email protected]> (cherry picked from commit d78dcdf103271c539ff246651236e71f7a9c10fd)
* include: Fix build with VS 11 (i.e, 2012).José Fonseca2013-04-051-0/+42
| | | | | | | NOTE: Candidate for the stable branches. Reviewed-by: Brian Paul <[email protected]> (cherry picked from commit 57cd1d1454653f778837eec0ee5d4060bc59c5ba)
* mesa: Add previously picked commit to .cherry-ignoreIan Romanick2013-04-051-0/+3
| | | | Signed-off-by: Ian Romanick <[email protected]>
* mesa,gallium,egl,mapi: One definition of C99 inline/__func__ to rule them all.José Fonseca2013-04-056-180/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a squash-commit of the two commits listed below. The first introduced a 'make check' failure, and the second fixed it. mesa,gallium,egl,mapi: One definition of C99 inline/__func__ to rule them all. We were in four already... NOTE: Candidate for the stable branches. Reviewed-by: Brian Paul <[email protected]> (cherry picked from commit 70fe7c6d3e1c7534f6598c4616bebf672f42668b) And: tests: Add $(top_srcdir)/include to AM_CPPFLAGS. Fixes this build error with make check. CC collision.o In file included from ../../../../../src/mesa/main/hash_table.h:34:0, from collision.c:31: ../../../../../src/mesa/main/compiler.h:51:53: fatal error: c99_compat.h: No such file or directory Signed-off-by: Vinson Lee <[email protected]> (cherry picked from commit a6bb7a94957468453c436e3860ee2dd47575c461)
* autotools: Add missing top-level include dir.José Fonseca2013-04-051-0/+1
| | | | | | Fixes autotools build failure. Not sure if there are more, as I have difficulties in building the full tree. (cherry picked from commit 7bff1cc3f635dc80f3ccb218af847513c53a51b5)