Mesa (master): 44 new commits
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f631a6ae8c951fc448618c1770f95ad93cac812b Author: Brian PaulDate: Tue Jan 16 21:58:58 2018 -0700 glsl: remove unneeded extern "C" {} bracketing around Mesa includes The two headers already have the right extern "C" annotations. Reviewed-by: Nicolai Hähnle URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7421e34dd69dfb8911e99b6004f8806707c323d1 Author: Brian Paul Date: Tue Jan 16 21:53:29 2018 -0700 mesa: move gl_external_samplers() to program.[ch] The function is only called from a couple places. It doesn't make sense to have it in mtypes.h Reviewed-by: Nicolai Hähnle URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6dc8896726b8fdfb69705dbe298e074a21cd05cf Author: Brian Paul Date: Tue Jan 16 21:57:57 2018 -0700 st/mesa: include util/bitscan.h in st_glsl_to_tgsi_temprename.cpp And use "" instead of <> for including Mesa headers, as we do elsewhere. Reviewed-by: Nicolai Hähnle URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=741d42347880835e34ee6214b637f0c00731b2ae Author: Brian Paul Date: Tue Jan 16 21:52:22 2018 -0700 glsl: include util/bitscan.h in serialize.cpp Instead of relying on indirect inclusion of the header. Reviewed-by: Nicolai Hähnle URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2f141462002290eb770b9d75995efd799aac48a0 Author: Brian Paul Date: Tue Jan 16 21:49:09 2018 -0700 util: include string.h in u_dynarray.h To get memset() prototype. Reviewed-by: Nicolai Hähnle URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=02c0734adcb76fd7c0541d961b2c83196150ba2a Author: Brian Paul Date: Tue Jan 16 21:44:43 2018 -0700 mesa: remove unneeded #includes of main/compiler.h Reviewed-by: Nicolai Hähnle URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7845397183aeb60c67b81facacc0b3f8d3cbe2d8 Author: Brian Paul Date: Tue Jan 16 21:44:17 2018 -0700 st/mesa: remove unneeded #includes of main/compiler.h Reviewed-by: Nicolai Hähnle URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bafa33befd86c911fa2b5321a50da08a1963d28a Author: Brian Paul Date: Tue Jan 16 22:14:20 2018 -0700 st/mesa: include main/compiler.h in st_cb_queryobj.c To get CPU_TO_LE32() macro. Reviewed-by: Nicolai Hähnle URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7de0262f8fa24adad8ad88f1deca8afa1373c5c3 Author: Brian Paul Date: Tue Jan 16 22:13:41 2018 -0700 mesa: include util/macros.h in format_fallback.c To get definition of unreachable() macro. Reviewed-by: Nicolai Hähnle URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=484ac243f6ffd488bc359e87927f408682bd23ab Author: Brian Paul Date: Tue Jan 16 22:12:49 2018 -0700 mesa: include compiler.h in disk_cache.c Instead of indirect inclusion to get CPU_TO_LE32() macro. Reviewed-by: Nicolai Hähnle URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ad00a7899396dc56abb4f813487bb19100551348 Author: Brian Paul Date: Tue Jan 16 08:40:36 2018 -0700 mesa/program: change validate_inputs() local var 'inputs' to GLbitfield64 Both state->prog->info.inputs_read and state->InputsBound are GLbitfield64 so it seems that the OR of those values should be of the same type. I'm not sure this fixes any actual issues though. Reviewed-by: Nicolai Hähnle Reviewed-by: Roland Scheidegger URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8306de4ac82685ff83626b56089e3c6c2d04d70 Author: Brian Paul Date: Tue Jan 16 20:22:56 2018 -0700 vbo: reindent vbo_attrib.h to use 3 spaces Reviewed-by: Ian Romanick Reviewed-by: Roland Scheidegger Reviewed-by: Emil Velikov URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef01d911ee2482d1dffa757db71512b8d2e17a4c Author: Brian Paul Date: Tue Jan 16 14:46:54 2018 -0700 vbo: whitespace, formatting fixes in vbo_exec_api.c Reviewed-by: Ian Romanick Reviewed-by: Roland Scheidegger Reviewed-by: Emil Velikov URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=18f4241b89b9f9869c89a291e0ab1d54e6e74fbf
Mesa (master): 44 new commits
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=698c391521561a1f0e4ff2570e35417be9968eaa Author: Francisco Jerez curroje...@riseup.net Date: Wed Jun 3 18:17:50 2015 +0300 i965/fs: Drop fs_inst::force_uncompressed. This is now unused. Saves a whole bit of memory per instruction. Reviewed-by: Matt Turner matts...@gmail.com URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=44928b799adbbf2671c482431b3b7a390118725c Author: Francisco Jerez curroje...@riseup.net Date: Mon Jun 8 19:32:18 2015 +0300 i965/fs: Remove dead IR construction code from the visitor. Reviewed-by: Matt Turner matts...@gmail.com URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=51948085a2e5d97dbf2cd3c255a5873d509773eb Author: Francisco Jerez curroje...@riseup.net Date: Wed Jun 3 18:16:30 2015 +0300 i965/fs: Migrate test_fs_cmod_propagation to the IR builder. v2: Use set_predicate/condmod. Use fs_builder::OPCODE instead of ::emit. Reviewed-by: Matt Turner matts...@gmail.com URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=76c8142d0af45ab9907ebc9cfd2855fa753735b6 Author: Francisco Jerez curroje...@riseup.net Date: Wed Jun 3 18:15:22 2015 +0300 i965/fs: Migrate test_fs_saturate_propagation to the IR builder. v2: Use set_saturate. Use fs_builder::OPCODE instead of ::emit. Reviewed-by: Matt Turner matts...@gmail.com URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf83a1a219af8bf82c3c721888bbe0dfc3eced34 Author: Francisco Jerez curroje...@riseup.net Date: Wed Jun 3 21:02:57 2015 +0300 i965/fs: Migrate translation of NIR texturing instructions to the IR builder. v2: Don't remove assignments of base_ir just yet. Reviewed-by: Matt Turner matts...@gmail.com URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=979fe2ffee3956186017fe6c115aed53fc87ad3d Author: Francisco Jerez curroje...@riseup.net Date: Wed Jun 3 21:01:32 2015 +0300 i965/fs: Migrate translation of NIR intrinsics to the IR builder. v2: Use fs_builder::SEL instead of ::emit. Use set_condmod(). Reviewed-by: Matt Turner matts...@gmail.com URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe88c7ae38c72ea09ced69fb12ff00f58bdf1d6e Author: Francisco Jerez curroje...@riseup.net Date: Wed Jun 3 20:59:26 2015 +0300 i965/fs: Migrate translation of NIR ALU instructions to the IR builder. Reviewed-by: Matt Turner matts...@gmail.com URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3632c28bde071950dc57e42eb62a65fb838c8bdc Author: Francisco Jerez curroje...@riseup.net Date: Wed Jun 3 20:57:12 2015 +0300 i965/fs: Migrate translation of NIR control flow to the IR builder. Reviewed-by: Matt Turner matts...@gmail.com URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9976731485abb68eb3b5ae6f11a7838977b95b5b Author: Francisco Jerez curroje...@riseup.net Date: Wed Jun 3 21:17:36 2015 +0300 i965/fs: Migrate NIR variable handling to the IR builder. Reviewed-by: Matt Turner matts...@gmail.com URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=09733f220ac9921ce7d8c3524bc5327d8203c446 Author: Francisco Jerez curroje...@riseup.net Date: Wed Jun 3 21:12:49 2015 +0300 i965/fs: Migrate NIR emit_percomp() to the IR builder. Reviewed-by: Matt Turner matts...@gmail.com URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d5cb2e513794f6c26259665bc93cf507e86ae3b8 Author: Francisco Jerez curroje...@riseup.net Date: Wed Jun 3 21:08:43 2015 +0300 i965/fs: Migrate CS terminate message to the IR builder. Reviewed-by: Matt Turner matts...@gmail.com URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e522f12f03bcb0edb1384adff894918bf8d6d1b6 Author: Francisco Jerez curroje...@riseup.net Date: Wed Jun 3 22:43:00 2015 +0300 i965/fs: Migrate VS output writes to the IR builder. Reviewed-by: Matt Turner matts...@gmail.com URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e32c16c47f7a3cf25e2b4d2f3b97d0f8f89669c0 Author: Francisco Jerez curroje...@riseup.net Date: Wed Jun 3 21:07:52 2015 +0300 i965/fs: Migrate FS framebuffer writes to the IR builder. The explicit call to fs_builder::group() in emit_single_fb_write() is required by the builder (otherwise the assertion in fs_builder::emit() would fail) because the subsequent LOAD_PAYLOAD and FB_WRITE instructions are in some cases emitted with a non-native execution width. The previous code would always use the channel enables for the first quarter, which is dubious but probably worked in practice because FB writes are never emitted inside non-uniform control flow and we don't pass the kill-pixel mask via predication in the cases where we have to fall-back to SIMD8 writes. Reviewed-by: Matt Turner matts...@gmail.com URL:
Mesa (master): 44 new commits
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=17abefa12be1d5e7d436bfbb082c3eba19adf26c Author: Tiziano Bacocco tizb...@gmail.com Date: Fri Jan 30 13:51:44 2015 +0100 st/nine: Implement dummy vbo behaviour when vs is missing inputs Use a dummy vertex buffer object when vs inputs have no corresponding entries in the vertex declaration. This dummy buffer will give to the shader float4(0,0,0,0). This fixes several artifacts on some games. Signed-off-by: Axel Davy axel.d...@ens.fr Signed-off-by: Tiziano Bacocco tizb...@gmail.com URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=90585cbc9aef27904efc86dbfbd8743d27a6f599 Author: Axel Davy axel.d...@ens.fr Date: Sat Jan 24 17:58:28 2015 +0100 gallium/targets/d3dadapter9: Free card device The drm fd wasn't released, causing a crash for wine tests on nouveau, which seems to have a bug when a lot of device descriptors are open. Reviewed-by: Tiziano Bacocco tizb...@gmail.com Signed-off-by: Axel Davy axel.d...@ens.fr URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b3a9d5c9f54a0c1b1e95cc61214fd69c6777680 Author: Axel Davy axel.d...@ens.fr Date: Sun Jan 11 17:51:59 2015 +0100 gallium/targets/d3dadapter9: Release the pipe_screen at destruction. We weren't releasing hal and ref, causing some issues (threads not released, etc) Reviewed-by: Tiziano Bacocco tizb...@gmail.com Signed-off-by: Axel Davy axel.d...@ens.fr URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f50614910c40366d94964fe2c5da5772aff2f96 Author: Axel Davy axel.d...@ens.fr Date: Sat Jan 10 18:49:16 2015 +0100 gallium/targets/d3dadapter9: Fix device detection for render-nodes When on a render node the unique ioctl doesn't work. This patch drops the code to detect the device, which relied on an ioctl, and replaces it by the mesa loader function. The mesa loader function is more complete and won't fail for render-nodes. Alternatively we could also have used the pipe cap to determine the vendor and device id from the driver. Reviewed-by: Tiziano Bacocco tizb...@gmail.com Signed-off-by: Axel Davy axel.d...@ens.fr URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c54d154e86cd93caed527824166f468a6c24c70 Author: Axel Davy axel.d...@ens.fr Date: Sat Jan 24 12:02:04 2015 +0100 st/nine: Dummy sampler should have a=1 Reviewed-by: Tiziano Bacocco tizb...@gmail.com Signed-off-by: Axel Davy axel.d...@ens.fr URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ac74e604bbce3b24565a9c277dc8f8fe9826e97 Author: Axel Davy axel.d...@ens.fr Date: Fri Jan 23 23:20:17 2015 +0100 st/nine: Fix update_framebuffer binding cbufs the pixel shader wouldn't render to Reviewed-by: Tiziano Bacocco tizb...@gmail.com Signed-off-by: Axel Davy axel.d...@ens.fr URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee606b47800021d74732bf5155a1d7d68822fa02 Author: Axel Davy axel.d...@ens.fr Date: Fri Jan 23 23:51:32 2015 +0100 st/nine: Clear: better behave if rt_mask is different to the one of the framebuffer bound Reviewed-by: Tiziano Bacocco tizb...@gmail.com Signed-off-by: Axel Davy axel.d...@ens.fr URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8d48f6f7181fa6cc7c4ff5b1c0e8883d6f8ce6d Author: Axel Davy axel.d...@ens.fr Date: Wed Jan 21 08:59:05 2015 +0100 st/nine: Fix multisampling support detection Reviewed-by: Tiziano Bacocco tizb...@gmail.com Signed-off-by: Axel Davy axel.d...@ens.fr URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a1d369e804623663e78002c0101d668bd3d42762 Author: Tiziano Bacocco tizb...@gmail.com Date: Wed Jan 21 00:41:11 2015 +0100 st/nine: Fix enabled lights in stateblocks Reviewed-by: Axel Davy axel.d...@ens.fr Signed-off-by: Tiziano Bacocco tizb...@gmail.com URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1543defc5ea8a17cf5558bb6468031f9c29b9a15 Author: Axel Davy axel.d...@ens.fr Date: Mon Jan 19 17:13:57 2015 +0100 st/nine: Fix depth stencil formats bindings flags. Reviewed-by: Tiziano Bacocco tizb...@gmail.com Signed-off-by: Axel Davy axel.d...@ens.fr URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=49214a3dfc4f5173e22846d92c5dd0c2b24e3638 Author: Axel Davy axel.d...@ens.fr Date: Mon Jan 19 16:20:35 2015 +0100 st/nine: Fix gpu memory leak in swapchain Reviewed-by: Tiziano Bacocco tizb...@gmail.com Signed-off-by: Axel Davy axel.d...@ens.fr URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d538007734bb37a7f2aa865abaa225aa13799484 Author: Axel Davy axel.d...@ens.fr Date: Mon Jan 19 16:09:07 2015 +0100 st/nine: SetResourceResize should track nr_samples too Reviewed-by: Tiziano Bacocco tizb...@gmail.com Signed-off-by: Axel Davy axel.d...@ens.fr URL:
Mesa (master): 44 new commits
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=13895abd86fcf2f5c059873c48a3d304f7f5b0d5 Author: Emil Velikov emil.l.veli...@gmail.com Date: Thu Aug 29 05:25:00 2013 -0600 gallium-egl: use standard variable types over EGLBoolean/EGLint The inferface/prototype in native_wayland_bufmgr.h uses boolean/int, as well as the rest of the file. Convert to improve consistency and to prevent gcc compiler warnings due to type miss-match. Signed-off-by: Emil Velikov emil.l.veli...@gmail.com Reviewed-by: Brian Paul bri...@vmware.com URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=379deaf5c65c03b78714f225954bce5a16c22905 Author: Brian Paul bri...@vmware.com Date: Thu Sep 12 17:31:28 2013 -0600 gallium: remove old bind_*_sampler_states() functions The new bind_sampler_states() function takes a shader argument to specify the shader stage. URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=55e81b06e75e1a16af6cf8de0cae1f5f188fbdf8 Author: Brian Paul bri...@vmware.com Date: Thu Sep 12 17:31:08 2013 -0600 gallium/docs: update bind_sampler_states() documentation URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e2fbf26572dd6e3112cb5e4c5a1014da99c85d3 Author: Brian Paul bri...@vmware.com Date: Thu Sep 12 17:30:50 2013 -0600 cso: make sure all sampler states are set/cleared URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d7a9714d2f6cdceb9e9e6f6b43004008b56c8d2 Author: Brian Paul bri...@vmware.com Date: Thu Sep 12 16:11:03 2013 -0600 freedreno: use new bind_sampler_states() function URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=88b17a15f3ce50d4c373908c16b08881916cdabd Author: Brian Paul bri...@vmware.com Date: Thu Sep 12 16:10:06 2013 -0600 svga: don't hook in old bind_fragment_sampler_states() functions URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=27c054edf0ae92c8c498830e7c7510fa94f5dcfd Author: Brian Paul bri...@vmware.com Date: Thu Sep 12 15:45:52 2013 -0600 radeon: don't use old bind_vertex/fragment_sampler_states() hooks URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e8d3eb08d6dd9660e2bf86119c36a941ef74d94 Author: Brian Paul bri...@vmware.com Date: Thu Sep 12 15:41:39 2013 -0600 i915g: remove old bind_vertex/fragment_sampler_states() hooks URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=edd9af675c4a30841940a9493848dad4797bf833 Author: Brian Paul bri...@vmware.com Date: Thu Sep 12 15:38:06 2013 -0600 noop: remove old bind_*_sampler_states() functions URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f233ee0cd6ba296d38f4f4dccdef67929cf8739a Author: Brian Paul bri...@vmware.com Date: Thu Sep 12 15:36:51 2013 -0600 galahad: remove old bind_*_sampler_states() functions URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0520d5bf6fb8dec8434d6b68dd014227a1bdaa3 Author: Brian Paul bri...@vmware.com Date: Thu Sep 12 15:34:02 2013 -0600 vl: remove old bind_fragment_sampler_states() calls URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3925e521d65e43da90dd8ee3e3fc239602d0ab9b Author: Brian Paul bri...@vmware.com Date: Thu Sep 12 15:33:44 2013 -0600 util: remove old bind_fragment_sampler_states() calls from blitter code URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9fa6722a68c94589a5b74baa7ae79d314b60b20c Author: Brian Paul bri...@vmware.com Date: Thu Sep 12 15:25:08 2013 -0600 draw: remove use of old bind_fragment_sampler_states() URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7478236da95953c3d491567505048933fc7a2b3c Author: Brian Paul bri...@vmware.com Date: Thu Sep 12 18:14:02 2013 -0600 nouveau: remove old bind_*_sampler_states() functions URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1446600d1a878450b08310d2728b01ad04e9e8cd Author: Brian Paul bri...@vmware.com Date: Thu Sep 12 15:24:22 2013 -0600 cso: remove use of old bind_*_sampler_states() functions URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bcf7508a7d2127028a6ec7d2c43d52603ddcb730 Author: Brian Paul bri...@vmware.com Date: Thu Sep 12 15:19:46 2013 -0600 rbug: remove old bind_*_sampler_states() functions URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=22480c5b5b23d1626d56b6bedd2e68b29ed23bf0 Author: Brian Paul bri...@vmware.com Date: Thu Sep 12 15:18:59 2013 -0600 identity: remove old bind_*_sampler_states() functions URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dd4816e3fd949ae8b431b370288ee1aa2dd0bf0c Author: Brian Paul bri...@vmware.com Date: Thu Sep 12 15:18:16 2013 -0600 trace: remove old bind_*_sampler_states() functions URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5807105ad784e9527385b923c23a188a4563bda8 Author: Brian Paul bri...@vmware.com Date: Thu Sep 12 15:17:27 2013 -0600 ilo: don't hook up old bind_*_sampler_states() functions URL: