summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* main/base_tex_format: Properly handle STENCIL_INDEX1/4/16Jason Ekstrand2015-03-071-0/+3
| | | | | | | | | This takes "fbo-stencil blit GL_STENCIL_INDEX1/4/16" from crash to pass on BDW. Cc: 10.5 <[email protected]> Reviewed-by: Matt Turner <[email protected]> (cherry picked from commit c4925d7f3b66d63fbdd7b7607cd809db1e58bee9)
* meta/TexSubImage: Stash everything other than PIXEL_TRANSFER/store in meta_beginJason Ekstrand2015-03-071-4/+4
| | | | | | | | | | | | Previously, there were bugs where if the app set a scissor it could affect the area of the texture that was downloaded. There was also potential that the framebuffer SRGB state could affect downloads. This ensures that those will get saved/restored and can't affect the texture download. Cc: 10.5 <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89292 Reviewed-by: Neil Roberts <[email protected]> (cherry picked from commit b1ab02d9c0cc11ba8ef4efaba9452d644b6a0811)
* i965: Consider scratch writes to have side effects.Matt Turner2015-03-071-0/+1
| | | | | | | | | We could do better by tracking scratch reads and writes. Cc: 10.5 <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88793 Reviewed-by: Jason Ekstrand <[email protected]> (cherry picked from commit da20bf068ef0f816968d9bc4dfea81facf0fd680)
* mesa: Correct backwards NULL check.Matt Turner2015-03-071-1/+1
| | | | | | | Cc: "10.4, 10.5" <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Ian Romanick <[email protected]> (cherry picked from commit 491d42135ad0e5670756216154f2ba9fc79d4ba7)
* mesa: Free memory allocated for luminance in readpixels.Matt Turner2015-03-071-0/+1
| | | | | | | Cc: "10.4, 10.5" <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Iago Toral Quiroga <[email protected]> (cherry picked from commit 87109acbed9c9b52f33d58ca06d9048d0ac7a215)
* mesa: Indent break statements and add a missing one.Matt Turner2015-03-071-5/+6
| | | | | | | | | Always indenting break statements makes spotting missing ones easier. Cc: "10.4, 10.5" <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Iago Toral Quiroga <[email protected]> (cherry picked from commit 2b2fa1865248c6e3b7baec81c4f92774759b201f)
* i965/gs: Check newly-generated GS-out VUE map against correct stageChris Forbes2015-03-071-1/+1
| | | | | | | | | | | | | | | | Previously, we compared our new GS-out VUE map to the existing *VS*-out VUE map, which is bogus. This would mostly manifest as redundant dirty flagging where the GS is in use but the VS and GS output layouts differ; but there is a scary case where we would fail to flag a GS-out layout change if it happened to match the VS-out layout. Signed-off-by: Chris Forbes <[email protected]> Cc: "10.5, 10.4" <[email protected]> Reviewed-by: Matt Turner <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88885 (cherry picked from commit b51ff50a767cc78d678ed3d2c25995f5c4194fea)
* i965/vec4: Fix implementation of i2b.Matt Turner2015-03-071-1/+1
| | | | | | | | | I broke this in commit 2881b123d. I must have misread i2b as b2i. Cc: 10.5 <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88246 Reviewed-by: Ian Romanick <[email protected]> (cherry picked from commit 43ef2657a08f850c5756f28520f2cbe506807f24)
* i965/fs/nir: Use emit_math for nir_op_fpowIan Romanick2015-03-071-1/+1
| | | | | | | | | | It appears that all the other instructions that need it already use it. This one just got missed. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Cc: "10.5" <[email protected]> (cherry picked from commit b8a1637119249c1d5e76c27d0053360bbb7f4e77)
* docs: Add sha256 sums for the 10.5.0 releaseEmil Velikov2015-03-061-2/+3
| | | | Signed-off-by: Emil Velikov <[email protected]>
* docs: Update 10.5.0 release notesmesa-10.5.0Emil Velikov2015-03-061-2/+145
| | | | Signed-off-by: Emil Velikov <[email protected]>
* Bump version to 10.5.0 (final)Emil Velikov2015-03-061-1/+1
| | | | Signed-off-by: Emil Velikov <[email protected]>
* xmlpool: make sure we ship options.hEmil Velikov2015-03-021-1/+1
| | | | | | | | | | | The header is included in ../xmlpool.h. With the latter of which used directly in a number of places in mesa. Note that we can also add it (alongside t_option.h) to noinst_HEADERS, but neither solution fixes the issue that brough us here - namely: Do not regenerate the headers, if it already exists. Cc: "10.5" <[email protected]> Signed-off-by: Emil Velikov <[email protected]>
* mapi: fix shared-glapi dependency trackingEmil Velikov2015-03-021-1/+1
| | | | | | | | | I.e. add shared-glapi/glapi_mapi_tmp.h to the SOURCES list. Otherwise there will be no knowledge that the file is required by others for the build. Thus autotools won't pick it up for the distribution tarball. Cc: "10.5" <[email protected]> Signed-off-by: Emil Velikov <[email protected]>
* mesa: drop Makefile from get_hash.h dependency listEmil Velikov2015-03-021-1/+1
| | | | | | | | Not required. Additionally this had the side effect of generating the file, despite it's existence. Cc: "10.5" <[email protected]> Signed-off-by: Emil Velikov <[email protected]>
* mesa: fix dependency tracking of generated sourcesEmil Velikov2015-03-021-0/+2
| | | | | | | | | | Some of the files generated were not in the SOURCES variable, thus although generated prior to compilation the dependency tracking was incomplete. The latter of which resulted in the files missing from the distribution tarball. Cc: "10.5" <[email protected]> Signed-off-by: Emil Velikov <[email protected]>
* mesa: rename format_info.c to format_info.hEmil Velikov2015-03-024-6/+6
| | | | | | | | | | The file is auto-generated, and #included by formats.c. Let's rename it to reflect the latter. This will also help up fix the dependency tracking by adding it to the _SOURCES variable, without the side effect of it being compiled (twice). Cc: "10.4, 10.5" <[email protected]> Signed-off-by: Emil Velikov <[email protected]>
* mesa/main: update .gitignoreEmil Velikov2015-03-021-3/+1
| | | | | | Drop the no longer present get_es{1,2}.c from the list. Signed-off-by: Emil Velikov <[email protected]>
* Increment version to 10.5.0-rc3mesa-10.5.0-rc3Emil Velikov2015-02-281-1/+1
| | | | Signed-off-by: Emil Velikov <[email protected]>
* auxilary/os: correct sysctl use in os_get_total_physical_memory()Jonathan Gray2015-02-271-2/+2
| | | | | | | | | | | | | | The length argument passed to sysctl was the size of the pointer not the type. The result of this is sysctl calls would fail on 32 bit BSD/Mac OS X. Additionally the wrong pointer was passed as an argument to store the result of the sysctl call. Cc: "10.4, 10.5" <[email protected]> Signed-off-by: Jonathan Gray <[email protected]> Reviewed-by: Emil Velikov <[email protected]> (cherry picked from commit 7983a3d2e06b0bc16c1a16bddccc7f14fe1f132c)
* r600g/sb: treat undefined values like constantsDave Airlie2015-02-271-2/+2
| | | | | | | | | | | | | When we schedule an instructions with undefined value, we eventually will use 0, which is a constant, however sb wasn't taking this into account and creating ops with illegal scalar swizzles. this replaces my fix for op3 in t slots. Reviewed-by: Glenn Kennard <[email protected]> Signed-off-by: Dave Airlie <[email protected]> (cherry picked from commit e8e4437ed0660b3f1d1912f53d997cf5e25f486d)
* i965/skl: Implement WaDisable1DDepthStencilNeil Roberts2015-02-271-0/+12
| | | | | | | | | | | | | Skylake+ doesn't support setting a depth buffer to a 1D surface but it does allow pretending it's a 2D texture with a height of 1 instead. This fixes the GL_DEPTH_COMPONENT_* tests of the copyteximage piglit test (and also seems to avoid a subsequent GPU hang). Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89037 Reviewed-by: Kenneth Graunke <[email protected]> (cherry picked from commit 5b29b2922afe2b8167a589fc2896a071fc85b693) Nominated-by: Ian Romanick <[email protected]>
* pipe-loader: Fix build with dri drivers enabled, and vl state trackers disabledTom Stellard2015-02-271-1/+5
| | | | | | | | | | | | | | | | | | Configure arguments: ./configure --disable-dri3 --disable-xvmc --enable-opencl --with-gallium-drivers=r300,r600,radeonsi --with-egl-platforms=drm Build error: make[3]: *** No rule to make target `../../../../src/gallium/auxiliary/libgalliumvlwinsys.la', needed by `pipe_r300.la'. Stop. Cc: "10.5" <[email protected]> Reviewed-by: Emil Velikov <[email protected]> (cherry picked from commit ed07255149d7cffac07615e946289b3d683faa4b)
* glsl: Rewrite and fix min/max to saturate optimization.Matt Turner2015-02-271-29/+46
| | | | | | | | | | | | | | | | | | | | | | | There were some bugs, and the code was really difficult to follow. We would optimize min(max(x, b), 1.0) into max(sat(x), b) but not pay attention to the order of min/max and also do max(min(x, b), 1.0) into max(sat(x), b) Corrects four shaders from Champions of Regnum that do min(max(x, 1), 10) and corrects rendering of Mass Effect under VMware Workstation. Cc: "10.4 10.5" <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89180 Reviewed-by: Abdiel Janulgue <[email protected]> Reviewed-by: Ian Romanick <[email protected]> (cherry picked from commit cb25087c7bd5f1ad2515647278b32d3f07803f77)
* glx: Fix returned values of GLX_RENDERER_PREFERRED_PROFILE_MESAAndreas Boll2015-02-271-6/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | If the renderer supports the core profile the query returned incorrectly 0x8 as value, because it was using (1U << __DRI_API_OPENGL_CORE) for the returned value. The same happened with the compatibility profile. It returned 0x1 (1U << __DRI_API_OPENGL) instead of 0x2. Internal DRI defines: dri_interface.h: #define __DRI_API_OPENGL 0 dri_interface.h: #define __DRI_API_OPENGL_CORE 3 Those two bits are supposed for internal usage only and should be translated to GLX_CONTEXT_CORE_PROFILE_BIT_ARB (0x1) for a preferred core context profile and GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB (0x2) for a preferred compatibility context profile. This patch implements the above translation in the glx module. v2: Fix the incorrect behavior in the glx module Cc: "10.3 10.4 10.5" <[email protected]> Signed-off-by: Andreas Boll <[email protected]> Reviewed-by: Ian Romanick <[email protected]> (cherry picked from commit 6d164f65c5a794164d07bc66c1f8f87280514e8c)
* common: Fix PBOs for 1D_ARRAY.Laura Ekstrand2015-02-271-26/+36
| | | | | | | | | | | | Corrects the way that _mesa_meta_pbo_TexSubImage and _mesa_meta_pbo_GetTexSubImage handle 1D_ARRAY textures. Fixes a failure in the Piglit arb_direct_state_access/gettextureimage-targets test. Reviewed-by: Jason Ekstrand <[email protected]> Tested-by: Laura Ekstrand <[email protected]> Cc: "10.4, 10.5" <[email protected]> (cherry picked from commit 546aba143d13ba3f993ead4cc30b2404abfc0202)
* common: Correct PBO 2D_ARRAY handling.Laura Ekstrand2015-02-271-9/+17
| | | | | | | | | | | | | | | | | | | | Changes PBO uploads and downloads to use a tall (height * depth) 2D texture for blitting. This fixes the bug where 2D_ARRAY, 3D, and CUBE_MAP_ARRAY textures are not properly uploaded and downloaded. Removes the option to use a 2D ARRAY texture for the PBO during upload and download. This option didn't work because the miptree couldn't be set up reliably. v2: Review from Jason Ekstrand and Neil Roberts: -Delete the depth parameter from create_texture_for_pbo -Abandon the option to create a 2D ARRAY texture in create_texture_for_pbo Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Cc: "10.4, 10.5" <[email protected]> (cherry picked from commit ccc5ce6f72c1ec86be4dfcef96c0b51fba0faa6d)
* common: Correct texture init for meta pbo uploads and downloads.Laura Ekstrand2015-02-271-1/+4
| | | | | | | | | | | | | | | | | | This moves the line setting immutability for the texture to after _mesa_initialize_texture_object so that the initializer function will not cancel it out. Moreover, because of the ARB_texture_view extension, immutable textures must have NumLayers > 0, or depth will equal (0-1)=0xFFFFFFFF during SURFACE_STATE setup, which triggers assertions. v2: Review from Kenneth Graunke: - Include more explanation in the commit message. - Make texture setup bug fixes into a separate patch. Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Cc: "10.4, 10.5" <[email protected]> (cherry picked from commit 06084652fefe49c3d6bf1b476ff74ff602fdc22a)
* st/omx/dec/h264: fix picture out-of-order with poc type 0 v2Leo Liu2015-02-271-0/+5
| | | | | | | | | | | | | poc counter should be reset with IDR frame, otherwise there would be a re-order issue with frames before and after IDR v2: add commit message Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Christian König <[email protected]> Cc: "10.4 10.5" <[email protected]> (cherry picked from commit 9c7b343bc0a6aa6065055cbc1c0a891ccc445984)
* Increment version to 10.5.0-rc2mesa-10.5.0-rc2Emil Velikov2015-02-241-1/+1
| | | | Signed-off-by: Emil Velikov <[email protected]>
* install-lib-links: remove the .install-lib-links fileEmil Velikov2015-02-241-0/+1
| | | | | | | | | | | | | | With earlier commit (install-lib-links: don't depend on .libs directory) we moved the location of the file from .libs/ to the current dir. Although we did not attribute that in the former case autotools was doing us a favour and removing the file. Explicitly remove the file at clean-local time, otherwise we'll end up with dangling files. Cc: "10.3 10.4 10.5" <[email protected]> Cc: Matt Turner <[email protected]> Cc: Lucas Stach <[email protected]> Signed-off-by: Emil Velikov <[email protected]> (cherry picked from commit fece147be53880ac8e8e5e2863f91cdd01d98b5c)
* mesa: Fix error validating args for TexSubImage3DEduardo Lima Mitev2015-02-241-2/+2
| | | | | | | | | | | | | | The zoffset and depth values were not being considered when calling error_check_subtexture_dimensions(). Fixes 2 dEQP tests: * dEQP-GLES3.functional.negative_api.texture.texsubimage3d_neg_offset * dEQP-GLES3.functional.negative_api.texture.texsubimage3d_invalid_offset Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Cc: "10.4 10.5" <[email protected]> (cherry picked from commit 2aa71e9485a5a062b1bd2dd8bdc081a8fa4c873d)
* egl, wayland: RGB565 format support on Back-bufferVivek Kasireddy2015-02-241-3/+38
| | | | | | | | | | | | | | | | | | | | | | | In current code, color format is always hardcoded to __DRI_IMAGE_FORMAT_ARGB8888 when buffer or DRI image is allocated in function calls, get_back_bo and dri2_get_buffers, regardless of current target's color format. This problem may leads to incorrect render pitch calculation, which eventually ends up with wrong offset of pixels in the frame buffer when the image is in different color format from dri surf's, especially with different bpp. (e.g. RGB565-16bpp) Attached code patch simply adds RGB565 and XRGB8888 cases to two functions noted above to resolve the issue. v2: added a case of XRGB8888, format and bpp selection is done via switch-case (not "if-else" anymore) Signed-off-by: Vivek Kasireddy <[email protected]> Signed-off-by: Dongwon Kim <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]> Cc: "10.5" <[email protected]> (cherry picked from commit 1e96eece300bbd2dd621a4941a4418222bb4c8e5)
* i965: Link test programs with gtest before pthreads.Matt Turner2015-02-241-10/+10
| | | | | | Cc: "10.5" <[email protected]> Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=540962 (cherry picked from commit 0b6d43e329d194b01ab5cd554617f79a13f6669a)
* radeonsi: fix point spritesMarek Olšák2015-02-241-1/+1
| | | | | | | | | | | | | | | | Broken by a27b74819ad375e8c0bc88e13f42c951d2b5cd6a. This fix is critical and should be ported to stable ASAP. Cc: 10.5 10.4 <[email protected]> (cherry picked from commit 7820a11e3dea2aca8e2b9b4ed9faf94ff5696990) Squashed with commit radeonsi: fix a warning caused by previous commit Cc: 10.5 10.4 <[email protected]> (cherry picked from commit 050bf75c8bbaa7cad537aabaf8612129edfee3a4)
* vbo: fix an unitialized-variable warningMarek Olšák2015-02-241-0/+1
| | | | | | | | It looks like a bug to me. Cc: 10.5 10.4 10.3 <[email protected]> Reviewed-by: Brian Paul <[email protected]> (cherry picked from commit 0feb0b73731cebd1513dd7f4e6cdf6de81edb802)
* radeonsi: don't use SQC_CACHES to flush ICACHE and KCACHE on SIMarek Olšák2015-02-241-18/+11
| | | | | | | | | | | | | | | | This reverts 73c2b0d18c51459697d8ec194ecfc4438c98c139. It doesn't seem to be reliable. It's probably missing a wait packet or something, because it's just a register write and doesn't wait for anything. SURFACE_SYNC at least seems to wait until the flush is done. Just guessing. Let's not complicate things and revert this. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88561 Cc: 10.5 <[email protected]> Reviewed-by: Alex Deucher <[email protected]> (cherry picked from commit 7692704b144b2aa9a57767a43212ceb5aad6638a)
* i965/vec4: Add and use byte-MOV instruction for unpack 4x8.Matt Turner2015-02-244-2/+21
| | | | | | | | | | Previously we were using a B/UB source in an Align16 instruction, which is illegal. It for some reason works on all platforms, except Broadwell. Cc: "10.5" <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=86811 Reviewed-by: Ian Romanick <[email protected]> (cherry picked from commit e0137fd6f720e4977466b1760ac02a72c5abceb8)
* i965/fs: Consider MOV.SAT to interfere if it has a source modifier.Matt Turner2015-02-242-4/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The saturate propagation pass recognizes that the second instruction below does not interfere with an attempt to propagate the saturate modifier from instruction 3 to 1. 1: add(8) dst0 src0 src1 2: mov.sat(8) dst1 dst0 3: mov.sat(8) dst2 dst0 Unfortunately, we did not consider the case of instruction 2 having a source modifier on dst0. Take for instance: 1: add(8) dst0 src0 src1 2: mov.sat(8) dst1 -dst0 3: mov.sat(8) dst2 dst0 Consider such an instruction to interfere. Increase instruction counts in Anomaly 2, which could be a bug fix depending on the values the first instruction produces. instructions in affected programs: 53228 -> 53934 (1.33%) HURT: 360 Cc: <[email protected]> Reviewed-by: Ian Romanick <[email protected]> (cherry picked from commit 7f8dd91d166e49d7da98f90d6428dc2705fb96d0)
* i965/fs: Use fs_inst::overwrites_reg() in saturate propagation.Matt Turner2015-02-242-4/+44
| | | | | | | | This is safer and matches the conditional_mod propagation pass. Cc: <[email protected]> Reviewed-by: Ian Romanick <[email protected]> (cherry picked from commit 871ad3f08bc34e16fdd728e9a4821b9a83e509f0)
* i965/fs: Add unit tests for saturate propagation pass.Matt Turner2015-02-242-0/+362
| | | | | | Cc: <[email protected]> Reviewed-by: Ian Romanick <[email protected]> (cherry picked from commit bf3389ec49a158e0b66db8e038d801eacabd20f1)
* st/mesa: fix sampler view reference counting bug in glDraw/CopyPixelsBrian Paul2015-02-241-6/+9
| | | | | | | | | | | | Use pipe_sampler_view_reference() instead of ordinary assignment. Also add a new sanity check assertion. Fixes piglit gl-1.0-drawpixels-color-index test crash. But note that the test still fails. Cc: "10.4, 10.5" <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]> (cherry picked from commit 62a8883f32f8a4c8c7d85390d4b17986e4018edf)
* swrast: fix multiple color buffer writingBrian Paul2015-02-241-11/+14
| | | | | | | | | | | If a fragment program wrote to more than one color buffer, the first fragment color got replicated to all dest buffers. This fixes 5 piglit FBO tests, including fbo-drawbuffers-arbfp. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45348 Cc: "10.4, 10.5" <[email protected]> Reviewed-by: Eric Anholt <[email protected]> (cherry picked from commit 89c96afe3c0acf8f2fccaf02da02945afe8ba5f3)
* install-lib-links: don't depend on .libs directoryLucas Stach2015-02-241-2/+2
| | | | | | | | | | | | | | This snippet can be included in Makefiles that may, depending on the project configuration, not actually build any installable libraries. In that case we don't have anything to depend on and this part of the makefile may be executed before the .libs directory is created, so do not depend on it being there. Cc: "10.3 10.4 10.5" <[email protected]> Reviewed-by: Matt Turner <[email protected]> Signed-off-by: Lucas Stach <[email protected]> (cherry picked from commit 5c1aac17adffeef9bb6171d83cc7ddd94c61c5f2)
* auxiliary/vl: honour the DRI2PROTO_CFLAGSEmil Velikov2015-02-241-0/+1
| | | | | | | | | Otherwise for non-default installations the build will fail to find the headers and error out. Cc: "10.5" <[email protected]> Signed-off-by: Emil Velikov <[email protected]> (cherry picked from commit 8a71fd8d49c6a086f9b7697bca3b1f3ae035121a)
* auxiliary/vl: Build vl_winsys_dri.c only when needed.Emil Velikov2015-02-242-1/+13
| | | | | | | | | | | | | With commit c39dbfdd0f7(auxiliary/vl: bring back the VL code for the dri targets) we did not fully consider users of dri-swrast alone. Thus we ended up trying to compile the dri2 specific code on platform which lack it - Cygwin for example. Cc: "10.5" <[email protected]> Reported-by: Jon TURNEY <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Jon TURNEY <[email protected]> (cherry picked from commit dd7b6670a29ff3ed48ba44a9fecd1890363d914f)
* automake: Use AM_DISTCHECK_CONFIGURE_FLAGSEmil Velikov2015-02-241-1/+1
| | | | | | | | | | | Currently we use DISTCHECK_CONFIGURE_FLAGS, which is reserved for the user. As with other variables, one should use the AM_ variable within the makefile. Cc: "10.5" <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Matt Turner <[email protected]> (cherry picked from commit 3018c4a56aab2ac1d8d5b228e6cbf13eea68b790)
* Revert "radeon/llvm: enable unsafe math for graphics shaders"Michel Dänzer2015-02-241-4/+0
| | | | | | | | | | | | This reverts commit 0e9cdedd2e3943bdb7f3543a3508b883b167e427. It caused the grass to disappear in The Talos Principle. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89069 Cc: "10.5 10.4" <[email protected]> Reviewed-by: Tom Stellard <[email protected]> Reviewed-by: Marek Olšák <[email protected]> (cherry picked from commit 4db985a5fa9ea985616a726b1770727309502d81)
* i965: Prefer Meta over the BLT for BlitFramebuffer.Kenneth Graunke2015-02-241-7/+7
| | | | | | | | | | | | | | | | | | There's some debate about whether we should use Meta or BLORP, but either should run circles around the BLT engine. In particular, this means that Gen8+ will use the 3D engine for blits, like we do on Gen6-7. Improves performance in "copypixrate -blit -back" (from Mesa demos) by 232.037% +/- 3.15795% (n=10) on Broadwell GT3e. v2: Rebase on Laura's changes. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]> Cc: "10.5" <[email protected]> (cherry picked from commit d523fefa756eef9c7a2c0d91cf4c2df10b89ed2a)
* Make _mesa_swizzle_and_convert argument types in .c match those in .hAlan Coopersmith2015-02-241-2/+2
| | | | | | | | | | | Caused Solaris Studio compilers to fail to build with errors about incompatible function redefinitions. Signed-off-by: Alan Coopersmith <[email protected]> Cc: "10.5" <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Brian Paul <[email protected]> (cherry picked from commit b7ce7c00e35ceb3518d932359ed52cacd6679acb)