Mesa (10.2): 22 new commits
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=86b7073739facf2204e6fc7b49c6f6328d83cd5e Author: Robert Bragg rob...@sixbynine.org Date: Sun Jun 8 19:02:41 2014 +0100 meta: save and restore swizzle for _GenerateMipmap This makes sure to use a no-op swizzle while iteratively rendering each level of a mipmap otherwise we may loose components and effectively apply the swizzle twice by the time these levels are sampled. Signed-off-by: Robert Bragg rob...@sixbynine.org Reviewed-by: Chris Forbes chr...@ijw.co.nz Reviewed-by: Ian Romanick ian.d.roman...@intel.com (cherry picked from commit c6f118484c3d45e4ba18c36e5cc0517eb33b39fc) Nominated-by: Kenneth Graunke kenn...@whitecape.org URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=36b8a162367e6b8cbdebb0a312e906c7608bd759 Author: Emil Velikov emil.l.veli...@gmail.com Date: Tue Aug 26 22:11:40 2014 +0100 get-pick-list.sh: Require explicit 10.2 for nominating stable patches A nomination unadorned with a specific version is now interpreted as being aimed at the 10.3 branch, (which was recently opened). Signed-off-by: Emil Velikov emil.l.veli...@gmail.com URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fefeba913b933011c8dcd31e67cd108d66994ddc Author: Carl Worth cwo...@cworth.org Date: Thu Aug 21 09:03:02 2014 -0700 Makefile: Switch from md5sums to sha256sums We switched to these several stable releases ago, (since the MD5 algorithm has been broken for some time), but only now did I get around to fixing this in the Makefile rather than just performing this step manually. CC: 10.2 10.3 mesa-sta...@lists.freedesktop.org (cherry picked from commit 46d03d37bf3a75e86f9f8ab56c6a939d04f23383) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac37c3c66ea46fef116f51cd41b80d46df3275f5 Author: Alex Deucher alexander.deuc...@amd.com Date: Thu Aug 21 11:16:15 2014 -0400 radeonsi: add new SI pci ids Signed-off-by: Alex Deucher alexander.deuc...@amd.com Cc: mesa-sta...@lists.freedesktop.org (cherry picked from commit 153df688349dd6e55fa4c280ed6c8abd02c5f890) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=438346b6c5e8e7964ee8760f4fee7bf1d73c14c8 Author: Alex Deucher alexander.deuc...@amd.com Date: Thu Aug 21 11:13:17 2014 -0400 radeonsi: add new CIK pci ids Signed-off-by: Alex Deucher alexander.deuc...@amd.com Cc: mesa-sta...@lists.freedesktop.org (cherry picked from commit f50b6b489534f8f362953cbe08d37233f1eab669) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d9a4112f294a47f1175f2240e15a9faa1bc5f5e Author: Tom Stellard thomas.stell...@amd.com Date: Tue Aug 19 16:27:38 2014 -0700 r600g/compute: Don't initialize vertex_buffer_state masks to 0x2 cs_vertex_buffer_state.enabled_mask and cs_vertex_buffer_state.dirty_mask are both updated when r600_set_constant_buffer() is called, so we don't need to manually update these values. This fixes a crash with OpenCL programs that have a kernel with no arguments. https://bugs.freedesktop.org/show_bug.cgi?id=82671 CC: 10.2 mesa-sta...@lists.freedesktop.org (cherry picked from commit bf7a60f41d897be4d9804ba7c46633e38501ffe7) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f293bb9664da86d8e8caf02f5466eec4b18cd8a9 Author: Tom Stellard thomas.stell...@amd.com Date: Tue Aug 19 14:04:32 2014 -0700 pipe-loader: Fix memory leak v2 v2: - Change driver_name to char* Reviewed-by: Emil Velikov emil.l.veli...@gmail.com CC: 10.2 mesa-sta...@lists.freedesktop.org (cherry picked from commit 43d954342e02a2bd719e543d567fd6c43b3e5367) Conflicts: src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0931f475fa08fdb5b6ea3521cd3dbebd60952fa9 Author: Tom Stellard thomas.stell...@amd.com Date: Tue Aug 19 13:18:19 2014 -0700 radeon: Add work-around for missing Hainan support in clang 3.6 v2 v2: - Add missing break. https://bugs.freedesktop.org/show_bug.cgi?id=82709 CC: 10.2 mesa-sta...@lists.freedesktop.org (cherry picked from commit 8109664dedee588dc98c9a7c25bd40c0eb56c35f) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6f8d2db2ef9f9d33039ef01206417d6c5a1f01a1 Author: Brian Paul bri...@vmware.com Date: Tue Aug 19 07:51:07 2014 -0600 mesa: fix NULL pointer deref bug in _mesa_drawbuffers() This is a follow-on fix to commit 39b40ad144. Fixes a crash if the user calls glDrawBuffers(0, NULL). Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82814 Cc: 10.2 mesa-sta...@lists.freedesktop.org Reviewed-by: Roland Scheidegger srol...@vmware.com (cherry picked from commit 31ce84a81f7166ded07e9cb41e5dfe212dd8fed1) URL:
Mesa (10.2): 22 new commits
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6388ad51ffc2d179383b7fa38757036973397422 Author: Kenneth Graunke kenn...@whitecape.org Date: Tue Jun 24 16:34:49 2014 -0700 i965: Enable compressed multisample support (CMS) on Broadwell. Everything is in place and appears to be working. Signed-off-by: Kenneth Graunke kenn...@whitecape.org Reviewed-by: Jordan Justen jordan.l.jus...@intel.com (cherry picked from commit 8cf289c3ef2fcaded5a89f9d7a600f60a5e8356e) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ab0ad8f7e9b6203fc9fd074e201a04fa138f3951 Author: Kenneth Graunke kenn...@whitecape.org Date: Tue Jun 24 16:33:56 2014 -0700 i965: Add 2x MSAA support to the MCS allocation function. 2x MSAA also uses 8 bits, just like 4x. More bits are unused. Signed-off-by: Kenneth Graunke kenn...@whitecape.org Reviewed-by: Jordan Justen jordan.l.jus...@intel.com (cherry picked from commit db184d43b0573c00d911ef9e98fbaab26ebd6466) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c386d5c352c71c5632804c81daffd399c0b237f Author: Kenneth Graunke kenn...@whitecape.org Date: Sat May 10 01:59:10 2014 -0700 i965: Hook up the MCS buffers in SURFACE_STATE on Broadwell. MCS buffers are never allocated on Broadwell, so this does nothing for now, but puts the infrastructure in place for when they do exist. Signed-off-by: Kenneth Graunke kenn...@whitecape.org Reviewed-by: Jordan Justen jordan.l.jus...@intel.com Reviewed-by: Ben Widawsky b...@bwidawsk.net (cherry picked from commit a248b2a4ebb27832d6c8a40ce2b10134f8735b93) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e3c0c238736bbfc990bfd275426eb8fd8c259ade Author: Kenneth Graunke kenn...@whitecape.org Date: Fri May 9 22:22:24 2014 -0700 i965: Drop SINT workaround for CMS layout on Broadwell. According to the documentation, we don't need this SINT workaround on Broadwell. (Or at least, it doesn't mention that we need it.) Signed-off-by: Kenneth Graunke kenn...@whitecape.org Reviewed-by: Jordan Justen jordan.l.jus...@intel.com Reviewed-by: Ben Widawsky b...@bwidawsk.net (cherry picked from commit e10311be9f61230de7f06e9fb30834835ba3677d) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a90fbfce4bd50ab85e1a36f3786720d56323b62 Author: Kenneth Graunke kenn...@whitecape.org Date: Sat May 10 01:42:15 2014 -0700 i965: Add plumbing for Broadwell's auxiliary surface support. Broadwell generalizes the MCS fields to allow for multiple kinds of auxiliary surfaces. This patch adds the plumbing to set those values, but doesn't yet hook any up. v2: (by Jordan Justen) Use mt for qpitch; pitch is tiles - 1. v3: Don't forget to subtract 1 from aux_mt-pitch. v4: Drop unnecessary aux_mt-offset (caught by Jordan Justen). Signed-off-by: Kenneth Graunke kenn...@whitecape.org Signed-off-by: Jordan Justen jordan.l.jus...@intel.com Reviewed-by: Ben Widawsky b...@bwidawsk.net (cherry picked from commit fd7718768929ff7fd1460bafc32f7b8be75a3140) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d374cfe0bca9929d451a47c29fce8445a12d5963 Author: Jordan Justen jordan.l.jus...@intel.com Date: Thu Mar 6 09:18:14 2014 -0800 i965: Add auxiliary surface field #defines for Broadwell. Signed-off-by: Jordan Justen jordan.l.jus...@intel.com Signed-off-by: Kenneth Graunke kenn...@whitecape.org Reviewed-by: Ben Widawsky b...@bwidawsk.net (cherry picked from commit a46cb6a971b136f41e24739551f6d36ecc1694c0) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b56908d7db3a691b63e62c41b7ad0a5d4559ee50 Author: Matt Turner matts...@gmail.com Date: Tue May 27 15:26:06 2014 -0700 i965/fs: Set correct number of regs_written for MCS fetches. regs_written is in units of virtual GRFs. Reviewed-by: Chris Forbes chr...@ijw.co.nz Reviewed-by: Kenneth Graunke kenn...@whitecape.org (cherry picked from commit dfd117b8570a69a429e660c069997e78b181ab6d) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c6a6acb6b4412427e3a7e49ec5efc769fe43695b Author: Eric Anholt e...@anholt.net Date: Tue May 6 13:22:10 2014 -0700 i965: Generalize the pixel_x/y workaround for all UW types. This is the only case where a fs_reg in brw_fs_visitor is used during optimization/code generation, and it meant that optimizations had to be careful to not move pixel_x/y's register number without updating it. Additionally, it turns out we had a couple of other UW values that weren't getting this treatment (like gl_SampleID), so this more general fix is probably a good idea (though I wasn't able to replicate problems with either pixel_[xy]'s values or gl_SampleID, even when telling the register allocator to reuse registers immediately) Reviewed-by: Matt Turner
Mesa (10.2): 22 new commits
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bfaee5277a340c4c4e0068cc4e0b73c818bd5385 Merge: 9a8f12a e084f71 Author: Ian Romanick ian.d.roman...@intel.com Date: Fri May 23 17:21:59 2014 -0700 Merge remote-tracking branch 'robclark/freedreno-10.2' into 10.2 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e084f715482c11c7c2b416929ef36f5d81a9f8ff Author: Rob Clark robcl...@freedesktop.org Date: Tue May 20 10:52:56 2014 -0400 freedreno: don't advertise texture arrays for now I think a3xx and later should support (it is part of GLES3), but this isn't needed for the time being and still needs to be reversed. Signed-off-by: Rob Clark robcl...@freedesktop.org URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cdd328639f93d01a25c29ef2848da2b8875e310e Author: Rob Clark robcl...@freedesktop.org Date: Mon May 19 17:56:11 2014 -0400 freedreno/a3xx: shadow sampler support Signed-off-by: Rob Clark robcl...@freedesktop.org URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=64405617370f4b12e6c617d01761daf797350b87 Author: Rob Clark robcl...@freedesktop.org Date: Mon May 19 17:34:54 2014 -0400 freedreno/a3xx/compiler: refactor trans_samp() Split it up into some smaller fxns so it doesn't grow into a huge monster as we add things. Signed-off-by: Rob Clark robcl...@freedesktop.org URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fb4461b7dcfd2a559f09833dbdcc51ea51e83b24 Author: Rob Clark robcl...@freedesktop.org Date: Mon May 19 17:28:31 2014 -0400 freedreno: update generated headers Signed-off-by: Rob Clark robcl...@freedesktop.org URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fec2b45d026310bab4a470fa7f88acf1f8c9a9e2 Author: Rob Clark robcl...@freedesktop.org Date: Sun May 18 15:19:34 2014 -0400 freedreno/a3xx: use util_format_compose_swizzles() Signed-off-by: Rob Clark robcl...@freedesktop.org URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0c813c40ae4e0bb3b39eb6ab8ce078c4a8ef2de Author: Rob Clark robcl...@freedesktop.org Date: Sat May 17 13:49:52 2014 -0400 freedreno/a3xx/compiler: 1D textures Gallium already gives us height==1 for these, so the texture state is already setup correctly to emulate 1D textures as a Nx1 2D texture. We just need to supply the .y coord. Signed-off-by: Rob Clark robcl...@freedesktop.org URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a05c073d797d268a4d23535eef3b7881260d0d11 Author: Rob Clark robcl...@freedesktop.org Date: Sun May 18 08:02:08 2014 -0400 freedreno: fix caps In particular, we want mesa to emulate primitive restart for us. Signed-off-by: Rob Clark robcl...@freedesktop.org URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=031ee21961ecdd2b7e3d67a24f207ad328eb2b43 Author: Rob Clark robcl...@freedesktop.org Date: Sat May 17 13:50:10 2014 -0400 freedreno: fix index buffer offset Signed-off-by: Rob Clark robcl...@freedesktop.org URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b7604eff4c0a38d91aab2b2c4b25c28340ad5c0b Author: Rob Clark robcl...@freedesktop.org Date: Fri May 16 20:29:44 2014 -0400 freedreno/a3xx: add sRBG texture support That was easy. Turns out it is just a matter of setting one bit. Enable sampling from sRGB texture, and therefore enable GL 2.1 :-) Signed-off-by: Rob Clark robcl...@freedesktop.org URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=80da86c650cf2f30b9891b9814f9822a8da33644 Author: Rob Clark robcl...@freedesktop.org Date: Fri May 16 20:07:36 2014 -0400 freedreno: update generated headers Signed-off-by: Rob Clark robcl...@freedesktop.org URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c0ca023dd0a5bcfc0148a9f767a0ffc1b9aadc1 Author: Rob Clark robcl...@freedesktop.org Date: Wed May 14 12:46:42 2014 -0400 freedreno/a3xx: fix write to bogus register The loops for updating the multiple packed fields in SP_VS_OUT[] and SP_VS_VPC_DST[] will zero out one register beyond the last that on required. Which is normally not a problem (and is kinda convenient when looking at cmdstream dumps) unless we have maximum (16) varyings. Fix loop termination condition so that this does not happen. Signed-off-by: Rob Clark robcl...@freedesktop.org URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=516db26e1e2bbccb5b64716e47cdd7b395cf26a5 Author: Rob Clark robcl...@freedesktop.org Date: Wed May 14 11:39:44 2014 -0400 freedreno/a3xx: account for special inputs/outputs We need to size input/output tables big enough for special inputs/ outputs (gl_Position, gl_FrontFacing, etc) which, while they don't count towards the hw limit of 16 attributes or 16 varyings, we do still need to track them all the same. Signed-off-by: Rob Clark