Re: [Mesa-dev] [PATCH 01/32] i965/surface_state: Use the minified depth for number of image layers

2017-07-20 Thread Pohjolainen, Topi
I already pushed an equivalent fix (which you actually reviewed). On Wed, Jul 19, 2017 at 02:01:27PM -0700, Jason Ekstrand wrote: > Otherwise, if the image is 3D, then we may end up with a number of > layers that is too high for LOD > 0. > --- > src/mesa/drivers/dri/i965/brw_wm_surface_state.c

Re: [Mesa-dev] [PATCH 07/32] i965/miptree: Make layer_range_length return locical layers

2017-07-20 Thread Pohjolainen, Topi
This still leaves create_aux_state_map() using physical number of layers for the actual allocation. I toyed a little with this hoping to put it in front my i965-to-isl work. In the end it looks to me that moving away from physical is easier/cleaner once the conversion to isl is done. This

[Mesa-dev] [Bug 101843] Latest mesa git fails to compile in mesa/main/marshal.c

2017-07-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101843 --- Comment #3 from Grigori Goronzy --- Are you sure this isn't an issue with the build infrastructure going out of sync with changes in the source code? Please try to delete the build directory and reconfigure and rebuild

Re: [Mesa-dev] [PATCH 2/2] egl: add linux-dmabuf-unstable-v1-protocol.c to "nodist"

2017-07-20 Thread Daniel Stone
On 19 July 2017 at 23:44, Andres Gomez wrote: > This fixes `make distcheck` > >> make[3]: *** No rule to make target >> 'drivers/dri2/linux-dmabuf-unstable-v1-protocol.c', needed by 'distdir'. >> Stop. >> make[3]: Entering directory '/home/local/mesa/src/egl' >> make[3]:

Re: [Mesa-dev] [EGL android: accquire fence implementation] i965: Queue the buffer with a sync fence for Android OS (v4)

2017-07-20 Thread Tomasz Figa
Hi Zhongmin, Thanks for the new patch. Personally I think it looks much better now. Still, there are some remaining comments. Also, I'd advise waiting few days before posting new version, so that peo On Thu, Jul 20, 2017 at 4:10 PM, Zhongmin Wu wrote: > Before we queued

Re: [Mesa-dev] [PATCH] Revert "i965: Call intel_prepare_render() from intel_update_state()"

2017-07-20 Thread Tapani Pälli
Works for Android-IA: Tested-by: Tapani Pälli On 07/20/2017 09:00 AM, Kenneth Graunke wrote: This reverts commit b7153c3e9f9d2d430b0338313587a00e531e4800. The point of that commit was to ensure intel_prepare_render() occurred before color resolves on the current

[Mesa-dev] [EGL android: accquire fence implementation] i965: Queue the buffer with a sync fence for Android OS (v4)

2017-07-20 Thread Zhongmin Wu
Before we queued the buffer with a invalid fence (-1), it will make some benchmarks failed to test such as flatland. Now we get the out fence during the flushing buffer and then pass it to SurfaceFlinger in eglSwapbuffer function. v2: a) Also implement the fence in cancelBuffer. b) The last

Re: [Mesa-dev] [PATCH 2/2] android: fix spirv_info generation

2017-07-20 Thread Tapani Pälli
On 07/19/2017 05:01 PM, Rob Herring wrote: On Wed, Jul 19, 2017 at 8:56 AM, Emil Velikov wrote: On 19 July 2017 at 14:14, Tapani Pälli wrote: On 07/19/2017 03:29 PM, Emil Velikov wrote: On 19 July 2017 at 08:12, Tapani Pälli

[Mesa-dev] [PATCH] Revert "i965: Call intel_prepare_render() from intel_update_state()"

2017-07-20 Thread Kenneth Graunke
This reverts commit b7153c3e9f9d2d430b0338313587a00e531e4800. The point of that commit was to ensure intel_prepare_render() occurred before color resolves on the current framebuffer. In 0673bbfd9ba16be8 (i965: Move surface resolves back to draw/dispatch time), Jason moved

<    1   2