Mesa (master): 33 new commits

2020-08-28 Thread GitLab Mirror
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7fbded8b5821a47c26245b181446f972f920a96e
Author: Alyssa Rosenzweig 
Date:   Wed Aug 26 17:14:57 2020 -0400

pan/decode: Drop prefix braces

Signed-off-by: Alyssa Rosenzweig 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb261a801876e35536fcedaeac1fb82da0e3cc7a
Author: Alyssa Rosenzweig 
Date:   Wed Aug 26 17:10:37 2020 -0400

panfrost: Remove mali_vertex_tiler_postfix

Now XMLified everywhere.

Signed-off-by: Alyssa Rosenzweig 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=760289174b8166ceef7e328b8007745f27ca7d77
Author: Alyssa Rosenzweig 
Date:   Wed Aug 26 17:05:41 2020 -0400

pan/decode: Use unpack for vertex_tiler_postfix_pre

Garbage collect some old incorrect/misleading comments and the braces
while we're at it.

Signed-off-by: Alyssa Rosenzweig 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2425bac8fee69db464adfe24a0fcb38737f28b4f
Author: Alyssa Rosenzweig 
Date:   Wed Aug 26 16:56:51 2020 -0400

pan/decode: Use generation for vertex_tiler_postfix

Signed-off-by: Alyssa Rosenzweig 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=80049069265fe6457eba24949fc48e67c2a3d087
Author: Alyssa Rosenzweig 
Date:   Wed Aug 26 16:52:53 2020 -0400

pan/decode: Fix awkward syntax

Signed-off-by: Alyssa Rosenzweig 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c088a3b5542a24ee0725007594f4afde7cf99b04
Author: Alyssa Rosenzweig 
Date:   Wed Aug 26 16:52:23 2020 -0400

pan/decode: Print shader-db even for compute

Stated rationale is silly.

Signed-off-by: Alyssa Rosenzweig 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6855228726151410aed520c2a4042a7a36076e51
Author: Alyssa Rosenzweig 
Date:   Wed Aug 26 16:50:16 2020 -0400

pan/decode: Drop mali_vertex_tiler_postfix arg

Signed-off-by: Alyssa Rosenzweig 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=38ae08856546ce1f23f4ab100a74c4a57728c114
Author: Alyssa Rosenzweig 
Date:   Wed Aug 26 16:44:51 2020 -0400

pan/decode: Drop scratchpad size dump

It fails if the scratchpad isn't actually mapped from pandecode's
perspective, and isn't useful information to us at this point.

Signed-off-by: Alyssa Rosenzweig 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c92be29a477a2262349f484d4a511dce435726b3
Author: Alyssa Rosenzweig 
Date:   Wed Aug 26 16:48:13 2020 -0400

panfrost: Use nir_builder_init_simple_shader for blits

Signed-off-by: Alyssa Rosenzweig 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4467e792c5169de628c049cf87bc0756fab6ec0c
Author: Alyssa Rosenzweig 
Date:   Wed Aug 26 13:21:06 2020 -0400

panfrost: Inline bifrost_tiler_only

Pointless abstraction now that fused jobs are dropped.

Signed-off-by: Alyssa Rosenzweig 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c1f44bab74f06a379b6d668dce01f0044ca642c
Author: Alyssa Rosenzweig 
Date:   Wed Aug 26 13:10:53 2020 -0400

panfrost: Drop bifrost_payload_fused

Fused jobs are broken for various reasons almost everywhere. Drop the
reference - if for some reason somebody wants this later, it's preserved
in git.

Signed-off-by: Alyssa Rosenzweig 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=02e768e6a96e1a0aad6d1cbb002bfb883078ad40
Author: Alyssa Rosenzweig 
Date:   Wed Aug 26 13:04:17 2020 -0400

panfrost: XMLify invocations

Not so bad :)

Signed-off-by: Alyssa Rosenzweig 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0225ed4d72ce2e8aba3b2d05d4360d6a18c6a1d0
Author: Alyssa Rosenzweig 
Date:   Wed Aug 26 12:45:38 2020 -0400

panfrost: Add invocation XML

Signed-off-by: Alyssa Rosenzweig 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b60d567edd6fe2149440a0365e3d9b7f899c7057
Author: Al

Mesa (master): 33 new commits

2020-04-03 Thread GitLab Mirror
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1d293096d0a223ea903125db7756b31aedab451a
Author: Daniel Schürmann 
Date:   Thu Feb 27 17:52:21 2020 +0100

aco: use MUBUF to load subdword SSBO

Reviewed-by: Rhys Perry 
Reviewed-By: Timur Kristóf 
Tested-by: Marge Bot 

Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8cfddc9165545eb2d973557840354f40a2fa
Author: Daniel Schürmann 
Date:   Fri Feb 14 17:53:11 2020 +0100

aco: implement 8bit/16bit store_ssbo

Currently without alignment check, so that
we can only use the _byte and _short versions
and multi-component stores are split.

Reviewed-by: Rhys Perry 
Reviewed-By: Timur Kristóf 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3df0a41c75256d0f71d407981962fc803bbd9afc
Author: Daniel Schürmann 
Date:   Fri Feb 14 15:54:56 2020 +0100

aco: implement 8bit/16bit load_buffer

Reviewed-by: Rhys Perry 
Reviewed-By: Timur Kristóf 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c70d01445504ef9c008ed7d80f26bad9d676b61d
Author: Daniel Schürmann 
Date:   Thu Feb 13 16:51:38 2020 +0100

aco: implement storagePushConstant8 & storagePushConstant16

Reviewed-by: Rhys Perry 
Reviewed-By: Timur Kristóf 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5718347c2b42ee25e5377d40024929889c44
Author: Daniel Schürmann 
Date:   Thu Apr 2 17:50:46 2020 +0100

aco: implement vec2/3/4 with subdword operands

Reviewed-by: Rhys Perry 
Reviewed-By: Timur Kristóf 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=85521061d63c47b931e6d3e4a1ea540e46d358a6
Author: Daniel Schürmann 
Date:   Thu Apr 2 17:26:00 2020 +0100

aco: prepare helper functions for subdword handling

- get_alu_src()
- emit_extract_vector()
- emit_split_vector()

Reviewed-by: Rhys Perry 
Reviewed-By: Timur Kristóf 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe08f0ccf94a7315bded5868b4f6a8bae744de79
Author: Daniel Schürmann 
Date:   Wed Apr 1 13:34:33 2020 +0100

aco: add byte_align_scalar() & trim_subdword_vector() helper functions

Reviewed-by: Rhys Perry 
Reviewed-By: Timur Kristóf 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=23ac24f5b1fdde73cf8ec1ef6cbe08d73d6776f5
Author: Daniel Schürmann 
Date:   Fri Feb 28 20:17:44 2020 +0100

aco: add missing conversion operations for small bitsizes

Reviewed-by: Rhys Perry 
Reviewed-By: Timur Kristóf 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d223e4e8de8207b320473207764f2a4d6299b2ff
Author: Daniel Schürmann 
Date:   Tue Feb 25 11:52:08 2020 +0100

aco: don't vectorize 8/16bit load/store_ssbo

Reviewed-by: Rhys Perry 
Reviewed-By: Timur Kristóf 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0bb35376764f0770df8f84e6383487f17328136e
Author: Daniel Schürmann 
Date:   Thu Feb 27 13:06:36 2020 +0100

aco: don't assume split_vector(create_vector) has the same number of 
elements when optimizing

Reviewed-by: Rhys Perry 
Reviewed-By: Timur Kristóf 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c436743b0c43f73b205b8845453fdbaada63f0d8
Author: Daniel Schürmann 
Date:   Fri Feb 21 17:06:32 2020 +0100

aco: don't propagate SGPRs into subdword PSEUDO instructions

Reviewed-by: Rhys Perry 
Reviewed-By: Timur Kristóf 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f1712ba2f833d1b20aff9d2873e41bae1adb92e
Author: Daniel Schürmann 
Date:   Thu Feb 27 13:07:21 2020 +0100

aco: lower subdword shuffles correctly.

Note that subdword swaps are not yet implemented

Reviewed-by: Rhys Perry 
Reviewed-By: Timur Kristóf 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca38c1f1f1cb3d2d25eee2e0806cec452b31d164
Author: Daniel Schürmann 
Date:   Thu Feb 27 13:04:39 2020 +0100

aco: add builder function for subdword copy()

 

Mesa (master): 33 new commits

2020-03-30 Thread GitLab Mirror
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=02ad147c5c80a124630992ae6c5ae705c6c68bed
Author: Alyssa Rosenzweig 
Date:   Mon Mar 30 20:54:51 2020 -0400

pan/bi: Fix handling of constants with COMBINE

We should never see COMBINE constants explicitly since they'll become
moves anyway, so we can simplify that. On the other hand, we do need the
type information for the lowering to work properly.

Signed-off-by: Alyssa Rosenzweig 
Tested-by: Marge Bot 

Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd19e7634027036dfc67633579750f1d45a45b74
Author: Alyssa Rosenzweig 
Date:   Mon Mar 30 12:25:20 2020 -0400

pan/bi: Handle fp16/abs scheduling restriction

See previous commit for the packing side. Here we update the scheduler
to accomodate this. Note we don't actually hit this path yet, but it's
good to be proactive.

Signed-off-by: Alyssa Rosenzweig 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c88f816169cf2efa0bfcbe1e9a5b0c7948fb1ade
Author: Alyssa Rosenzweig 
Date:   Fri Mar 27 22:34:15 2020 -0400

pan/bi: Handle abs packing for fp16/FMA add/min

It's seriously quirky, and all to save a single bit. Alas. It also
introduces an edge case for the scheduler which is a bit annoying.

Signed-off-by: Alyssa Rosenzweig 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba8e11f0f173fd5e5ec376c6e7e582ea845b7499
Author: Alyssa Rosenzweig 
Date:   Fri Mar 27 22:26:32 2020 -0400

pan/bi: Handle core faddminmax16 packing

This works without the exception of absolute values, which have some...
odd properties to be handled in the next commit.

Signed-off-by: Alyssa Rosenzweig 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=12a16f224767e3c235f79aa2dbacf1bfacdc4659
Author: Alyssa Rosenzweig 
Date:   Fri Mar 27 22:26:09 2020 -0400

pan/bi: Structify fadd/min/max16

There is some quirky encoding here.

Signed-off-by: Alyssa Rosenzweig 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c12a208d78203ccd5377b7b3291018c5d2f5b08a
Author: Alyssa Rosenzweig 
Date:   Fri Mar 27 21:29:56 2020 -0400

pan/bi: Add v2f16 versions of rounding ops

Signed-off-by: Alyssa Rosenzweig 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f81b67b857bd941ada721aa77ccbf430456eff0c
Author: Alyssa Rosenzweig 
Date:   Fri Mar 27 20:28:09 2020 -0400

pan/bi: Handle round opcodes in frontend

These correspond to various ops routed through BI_ROUND

Signed-off-by: Alyssa Rosenzweig 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c7170e974234d5c5bd1a6f5f7b2f76ef5acc44c1
Author: Alyssa Rosenzweig 
Date:   Fri Mar 27 20:11:07 2020 -0400

pan/bi: Assert out i16 related converts for now

Needs more investigation, and GLSL doesn't use it quite yet sadly.

Signed-off-by: Alyssa Rosenzweig 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2fd8b2e6d4ca6fd9276baf4002228de99350e8c5
Author: Alyssa Rosenzweig 
Date:   Fri Mar 27 20:08:03 2020 -0400

pan/bi: Add one-source f32->f16 op

This really has a second op for vectorization but we don't handle this
quite yet...

Signed-off-by: Alyssa Rosenzweig 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=197c6414ea4dc61fa115b082aed694e7d36b69e5
Author: Alyssa Rosenzweig 
Date:   Fri Mar 27 20:07:43 2020 -0400

pan/bi: Add bifrost_fma_2src generic

Signed-off-by: Alyssa Rosenzweig 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=57a8e6e8d0e52f7be6b187bb4ac5112341515f91
Author: Alyssa Rosenzweig 
Date:   Fri Mar 27 19:06:28 2020 -0400

pan/bi: Handle standard FMA conversions

These are plain old 1-sources so they're easy to start with.

Signed-off-by: Alyssa Rosenzweig 
Part-of: 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=499e97b5196632de4a2c4e461e849df2897ae14b
Author: Alyssa Rosenzweig 
Date:   Fri Mar 27 18:57:58 2020 -0400

pan/bi: Enumerate conversions


Mesa (master): 33 new commits

2019-03-17 Thread GitLab Mirror
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=58376c6b9be80c2cb74c7638d961d5af64f7143f
Author: Karol Herbst 
Date:   Thu Aug 16 22:11:47 2018 +0200

nv50ir/nir: move immediates before use

Signed-off-by: Karol Herbst 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ded1cdef9b488859e6aadb089eb3435ba73682f
Author: Karol Herbst 
Date:   Sat Jun 30 16:22:17 2018 +0200

nv50/ir/nir: handle user clip planes for each emitted vertex

v9: convert to C++ style comments
handle for tess eval shaders as well

Signed-off-by: Karol Herbst 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b866012f7ba4bd83ad0e3904eae2116205bd256b
Author: Karol Herbst 
Date:   Wed Jan 10 00:35:47 2018 +0100

nv50/ir/nir: implement intrinsic shader_clock

v9: mark as fixed

Signed-off-by: Karol Herbst 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c00d45cb457a68d89960bf003e1e2c9f3600d495
Author: Karol Herbst 
Date:   Sun Jan 7 00:35:37 2018 +0100

nv50/ir/nir: implement load_per_vertex_output

v4: use smarter getIndirect helper
use new getSlotAddress helper
v5: use loadFrom helper
v8: don't require C++11 features

Signed-off-by: Karol Herbst 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c44f4e04309802f7c4e82b5bb3c0ea645cf38a5
Author: Karol Herbst 
Date:   Mon Dec 25 23:15:03 2017 +0100

nv50/ir/nir: add memory barriers

v5: add more barrier intrinsics

Signed-off-by: Karol Herbst 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=753ae68ca04b3f3e1ac0245d72e265d15b0fcaf3
Author: Karol Herbst 
Date:   Sat Dec 23 18:05:49 2017 +0100

nv50/ir/nir: implement images

v3: fix compiler warnings
v4: use loadFrom helper
v5: fix signed min/max
v6: set tex mask
add support for indirect image access
set cache mode
v7: make compatible with 884d27bcf688d36c3bbe01bceca525595add3b33
rework the whole deref thing to prepare for bindless
v8: port to deref instructions
don't require C++11 features
v9: implement MS images
rebase on master (image modifiers)
fix regressions due to variable src compnents
replace '(*it).' with 'it->'
convert to C++ style comments

Signed-off-by: Karol Herbst 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2cdcb364f0f2419b9708b477eeec348b837626f8
Author: Karol Herbst 
Date:   Sat Dec 23 02:26:03 2017 +0100

nv50/ir/nir: implement ssbo intrinsics

v4: use loadFrom helper
v5: support indirect buffer access
v8: don't require C++11 features

Signed-off-by: Karol Herbst 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8dca02955a3e6361a54edc442a66dd1b7f93d8b9
Author: Karol Herbst 
Date:   Fri Dec 22 18:01:38 2017 +0100

nv50/ir/nir: implement nir_intrinsic_load_ubo

v4: use loadFrom helper
v8: don't require C++11 features

Signed-off-by: Karol Herbst 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1bef2b7bf524ab53d92456a0442662f80b76e30c
Author: Karol Herbst 
Date:   Thu Dec 21 16:30:25 2017 +0100

nv50/ir/nir: implement geometry shader nir_intrinsics

v4: use smarter getIndirect helper
use new getSlotAddress helper
use loadFrom helper
v8: don't require C++11 features

Signed-off-by: Karol Herbst 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d2de40f07e61fdee168a54ca09fd6c3ac0dac6d7
Author: Karol Herbst 
Date:   Mon Dec 11 02:11:50 2017 +0100

nv50/ir/nir: implement variable indexing

We store those arrays in local memory and reserve some space for each of the
arrays. With NIR we could store those arrays packed, but we don't do that 
yet
as it causes MemoryOpt to generate unaligned memory accesses.

v3: use fixed size vec4 arrays until we fix MemoryOpt
v4: fix for 64 bit types
v5: use loadFrom helper
v8: don't require C++11 features
v9: convert to C++ style comments

Signed-off-by: Karol Herbst 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa361a3c1e7bf7b291de59c2386501fc13ebfed1
Author: Karol Herbst 
Date:   Wed Dec 20 17:06:03 2017 +0100

nv50/ir/nir: implement vote and ballot

v2: add vote_eq support
use the new subop intrinsic helper
add ballot
v3: add read_(first_)invocation
v8: handle vectorized intrinsics
don't require C++11 features
v9: lower_subgroups to 32 bit (produces less instructions)
use getSSA and getScratch instead of new_LValue

Signed-off-by: Karol Herbst 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4dec7f81e0066554347461822b1fcbe6f355674a
Author: Karol Herbst 
Date:   Sat Dec 23 02:25:41 2017 +0100

nv50/ir/nir: add skeleton getOperation for intrinsics

v7: don't assert in default case for getSubOp

Signed-off-by: Karol Herbst 

Mesa (master): 33 new commits

2017-12-04 Thread Jason Ekstrand
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e565bc6cea7e82925f066f797b3425cd2e69280
Author: Jason Ekstrand 
Date:   Thu Nov 16 17:15:27 2017 -0800

radv: Implement VK_KHR_get_surface_capabilities2

The WSI core code does all the hard work.  Just add the wrappers and
turn it on.

Reviewed-by: Dave Airlie 
Reviewed-by: Chad Versace 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a10e3770f79e5e5c450e31ff1bfc2d045940b56
Author: Jason Ekstrand 
Date:   Thu Nov 16 12:49:27 2017 -0800

vulkan/wsi: Initialize individual WSI interfaces in wsi_device_init

Now that we have anv_device_init/finish functions, there's no reason to
have the individual driver do any more work than that.

Reviewed-by: Dave Airlie 
Reviewed-by: Chad Versace 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e3e55110b0b528f23339453e9acf73513dfd6bb
Author: Jason Ekstrand 
Date:   Thu Nov 16 12:38:26 2017 -0800

vulkan/wsi: Drop some unneeded cruft from the API

This drops the unneeded callbacks struct as well as the queue_get_family
callback we were using before we'd pulled QueuePresent inside.

Reviewed-by: Dave Airlie 
Reviewed-by: Chad Versace 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1b1be5196f38776405b58c01a6f138a0f031edb
Author: Jason Ekstrand 
Date:   Thu Nov 16 12:26:26 2017 -0800

vulkan/wsi: Add wrappers for all of the surface queries

This lets us move wsi_interface to wsi_common_private.h

Reviewed-by: Dave Airlie 
Reviewed-by: Chad Versace 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=82931dc007bf6e485a4add7a875133b8ed48de55
Author: Jason Ekstrand 
Date:   Thu Nov 16 12:05:35 2017 -0800

vulkan/wsi: Drop the can_handle_different_gpu parameter from get_support

Both anv and radv can handle prime now.

Reviewed-by: Dave Airlie 
Reviewed-by: Chad Versace 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3131fd9dec2332f40c19f33cceb7128173e5cbbf
Author: Jason Ekstrand 
Date:   Thu Nov 16 10:46:26 2017 -0800

vulkan/wsi: Move wsi_swapchain to wsi_common_private.h

The drivers no longer poke at this directly.

Reviewed-by: Dave Airlie 
Reviewed-by: Chad Versace 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=516dfb34e10ae178b9754ce7fe22b7e88193440f
Author: Jason Ekstrand 
Date:   Thu Nov 16 10:44:41 2017 -0800

vulkan/wsi: Add a helper for AcquireNextImage

Unfortunately, due to the fact that AcquireNextImage does not take a
queue, the ANV trick for triggering the fence won't work in general.  We
leave dealing with the fence up to the caller for now.

Reviewed-by: Dave Airlie 
Reviewed-by: Chad Versace 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ff49951c30bf47f29d8ed7c9ea7ab655417391b
Author: Dave Airlie 
Date:   Thu Nov 16 12:02:04 2017 +1000

vulkan/wsi: move swapchain create/destroy to common code

v2 (Jason Ekstrand):
 - Rebase
 - Alter the names of the helpers to better match the vulkan entrypoints
 - Use the helpers in anv

Reviewed-by: Dave Airlie 
Reviewed-by: Chad Versace 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ad4c60d6b87eb92191c638bf52ad38e7dd59f627
Author: Jason Ekstrand 
Date:   Thu Nov 16 09:30:16 2017 -0800

vulkan/wsi: Move prime blitting into queue_present

This lets us save a QueueSubmit and it also makes prime a lot less
X11-specific.  Also, it means we can only wait on the semaphores once
instead of on every blit.

Reviewed-by: Dave Airlie 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=393aa3f6c929fdbcaa599597e28a3206aa09dcc2
Author: Jason Ekstrand 
Date:   Thu Nov 16 09:56:37 2017 -0800

vulkan/wsi: Move get_images into common code

This moves bits out of all four corners (anv, radv, x11, wayland) and
into the wsi common code.  We also switch to using an outarray to ensure
we get our return code right.

Reviewed-by: Dave Airlie 
Reviewed-by: Chad Versace 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1117f843fe6223a50aeedfd943696ac4a7b4691f
Author: Jason Ekstrand 
Date:   Thu Nov 16 11:56:00 2017 -0800

anv/wsi: Enable prime support

Now that we're using the same common code as radv, we get prime support
for free.  Just enable it.

Reviewed-by: Dave Airlie 
Reviewed-by: Chad Versace 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac95335b614c0be8ef025013dc01a67131a8dcfd
Author: Jason Ekstrand 
Date:   Thu Nov 16 09:46:50 2017 -0800

anv/wsi: Use the common QueuePresent code

Reviewed-by: Dave Airlie 
Reviewed-by: Chad Versace 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d25a0f21e17c52633d3190273f8f7135e715f807
Author: Jason Ekstrand 
Date:   Thu Nov 16 09:18:48 2017 -0800

vulkan/wsi: Set a proper pWaitDstStage

Mesa (master): 33 new commits

2017-10-05 Thread Marek Olšák
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c4d1a199f8379b3982a53fb18fe2b50fafd682df
Author: Marek Olšák 
Date:   Tue Oct 3 19:28:48 2017 +0200

radeonsi: add a drirc workaround for HTILE corruption in ARK: Survival 
Evolved

v2: use DB_META | PS_PARTIAL_FLUSH

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102955
Reviewed-by: Samuel Pitoiset  (v1)
Reviewed-by: Nicolai Hähnle  (v1)

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=15d918e46faf08be018394747f019b082871dccf
Author: Marek Olšák 
Date:   Mon Oct 2 17:07:52 2017 +0200

radeonsi: inline struct si_sampler_views

Reviewed-by: Samuel Pitoiset 
Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=23cdde5138b183c6225f1009cb6233cacfaf32e6
Author: Marek Olšák 
Date:   Mon Oct 2 17:03:01 2017 +0200

radeonsi: rename si_textures_info -> si_samplers, si_images_info -> 
si_images

Reviewed-by: Samuel Pitoiset 
Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3dfb37544652f3428a48c0786b3d46fc169af908
Author: Marek Olšák 
Date:   Mon Oct 2 16:58:10 2017 +0200

radeonsi: fold needs_*_decompress_mask update into si_set_sampler_view

Reviewed-by: Samuel Pitoiset 
Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd5509d0a888eda3a71dc7ef0a350b99e50f9e81
Author: Marek Olšák 
Date:   Mon Oct 2 16:49:37 2017 +0200

radeonsi: simplify a loop in si_update_fb_dirtiness_after_rendering

Reviewed-by: Samuel Pitoiset 
Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bcd3e761a3ddf42eee5b3c57b510fc2f2ee54198
Author: Marek Olšák 
Date:   Sat Sep 30 15:36:18 2017 +0200

ac: properly document a buffer.store LLVM workaround

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cceb916456075cd79bf54833e80cd79d47d3c90b
Author: Marek Olšák 
Date:   Fri Sep 29 16:49:14 2017 +0200

radeonsi: use f32_0 and f32_1

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1516059ab11f000e254c8b69a6d4f4252ae9b781
Author: Marek Olšák 
Date:   Fri Sep 29 16:35:26 2017 +0200

radeonsi: fold *gallivm

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e1b83c67dab5050edc9a28c1e1bc53c930de7c4b
Author: Marek Olšák 
Date:   Fri Sep 29 16:28:23 2017 +0200

radeonsi: lp_type::length is always 1

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=906ee3a3ba9c71461b59aff07c50ca458fcd410c
Author: Marek Olšák 
Date:   Fri Sep 29 16:27:26 2017 +0200

radeonsi: don't use bld.elem_type

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=723a23905f475670e8866c86ccb73ead4ee05d50
Author: Marek Olšák 
Date:   Fri Sep 29 16:23:45 2017 +0200

radeonsi: don't use lp_build_const_*

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4600b474069d77ef889f0e79093c8e7f6b767e4
Author: Marek Olšák 
Date:   Fri Sep 29 15:11:14 2017 +0200

radeonsi: use ctx->ac.context and ctx->types

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0751f6c1ffe146b0fa36d1290b40551d2cc65cd
Author: Marek Olšák 
Date:   Fri Sep 29 15:02:06 2017 +0200

radeonsi: use ctx->ac.builder

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=82dc72c8bd98673bae8041ff04174e3a7fa4a9fa
Author: Marek Olšák 
Date:   Wed Sep 27 12:58:43 2017 +0200

radeonsi: use ctx->i/f32 types more

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=dcbd3d470cb0cf27c6aa42a8060a2ad5e42d7816
Author: Marek Olšák 
Date:   Wed Sep 27 12:53:41 2017 +0200

radeonsi: use i32_0 and i32_1 more

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bacdf5a928a1701cb5349b7a053fcfc3420a27f8
Author: Marek Olšák 
Date:   Wed Sep 27 12:48:31 2017 +0200

radeonsi: use bitcast in a few places

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ad7305aa96c71180fb93cea7f1a33d141f98af5b
Author: Marek Olšák 
Date:   Wed Sep 27 12:46:17 2017 +0200

radeonsi: use ac helpers for bitcasts

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a88580a4b3da22c4b0c3fb441464c4c2fc654b5
Author: Marek Olšák 
Date:   Tue Sep 26 15:32:49 2017 +0200

glsl_to_tgsi: skip UARL for 1D registers if the driver doesn't need it

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1bf1bfc12a5d561cb20b63b02b5863eb6ccb2f25
Author: Marek Olšák 
Date:   Tue Sep 26 15:34:34 2017 +0200

glsl_to_tgsi: handle reladdr as TEMP in rename_t

Mesa (master): 33 new commits

2017-05-16 Thread Timothy Arceri
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f96edf72b49348176b5eea0bdfe114e260dd3f99
Author: Timothy Arceri 
Date:   Mon May 15 12:28:08 2017 +1000

mesa: add KHR_no_error support for glDispatchCompute*()

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d1894c42efb97fe5af09f235be5658558ee24346
Author: Timothy Arceri 
Date:   Mon May 15 12:13:01 2017 +1000

mesa: add DispatchCompute* helpers

These will be used to add KHR_no_error support.

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=07e14d561c7ab9ed379f33cfad56a578752ee2f9
Author: Timothy Arceri 
Date:   Mon May 15 11:22:25 2017 +1000

mesa: move FLUSH_CURRENT() calls out of DispatchCompute*() validation

This is required to add KHR_no_error support.

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f98411eaad760ff5f02c8e332663635ac932fd39
Author: Timothy Arceri 
Date:   Mon May 15 11:12:13 2017 +1000

mesa: compute.c C99 tidy up

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=64757e73de4355353e15706d9d25269f181eb775
Author: Timothy Arceri 
Date:   Mon May 15 11:08:13 2017 +1000

mesa: move DispatchCompute() validation to compute.c

This is the only place it is used so there is no reason for it to be
in api_validate.c

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=25591adc286a217ee344d17d277c81ba9e6d353b
Author: Timothy Arceri 
Date:   Mon May 15 10:51:34 2017 +1000

mesa: add KHR_no_error support for glBlendEquationSeparateiARB()

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9aff3c605b925ad3302f392ad378198845438dfa
Author: Timothy Arceri 
Date:   Mon May 15 10:48:17 2017 +1000

mesa: add blend_equation_separatei() helper

Will be used to add KHR_no_error support.

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c8252ba6f7e43c563b7011facbbe4ef013e76c6
Author: Timothy Arceri 
Date:   Mon May 15 10:41:23 2017 +1000

mesa: add KHR_no_error support for glBlendFunc*iARB()

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5c67f469a5e8b406c12c529399d631a887700ee
Author: Timothy Arceri 
Date:   Mon May 15 10:31:38 2017 +1000

mesa: add blend_func_separatei() helper

This will be used to add KHR_no_error support.

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3888b7a681d5ef598ef55f3c3822082daa46fda
Author: Timothy Arceri 
Date:   Fri May 12 21:36:25 2017 +1000

mesa: add KHR_no_error support for glBufferSubData()

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ec12293bee9cff0d161bfde7fb9c9e8a0aafd2b
Author: Timothy Arceri 
Date:   Fri May 12 21:29:11 2017 +1000

mesa: add KHR_no_error support for glNamedBufferSubData()

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cab148c28231c109e2dee7b2dbea77997117932e
Author: Timothy Arceri 
Date:   Fri May 12 21:21:38 2017 +1000

mesa: add buffer_sub_data() helper

This will allow us to share code between the dsa, non-dsa and
no_error variants.

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d29e6aab8ac05cbd73433b45958b2f82eefa91d
Author: Timothy Arceri 
Date:   Fri May 12 17:10:10 2017 +1000

mesa: create validate_buffer_sub_data() helper

This change assumes meta will always pass valid arguments to
_mesa_buffer_sub_data().

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=624dc2833e0d0263b434e234437dfbd9f4840b75
Author: Timothy Arceri 
Date:   Fri May 12 16:51:24 2017 +1000

mesa: add KHR_no_error support for glBufferStorage()

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cdbfb19420cc48c5d9fe2c88ff9b29da6b407401
Author: Timothy Arceri 
Date:   Fri May 12 16:43:30 2017 +1000

mesa: add KHR_no_error support for glNamedBufferStorage()

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=09687c228243cda6d53e75e3d02b679e7dcd0062
Author: Timothy Arceri 
Date:   Fri May 12 16:31:01 2017 +1000

mesa: add inlined_buffer_storage() helper

This will allow us to share code between the dsa, non-dsa and
no_error variants.

Reviewed-by: Nicolai Hähnle 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=70d4d1164e4c465cbbf502992076ec408dc5fef0
Author: Timothy Arceri 
Date:   Fri May 12 15:41:22 2017 +1000

mesa: add validate_buffer_storage() helper

This will allow use to add KHR_no_error support.

Reviewed-by: Nicolai Hähnle 

Mesa (master): 33 new commits

2016-07-15 Thread Jason Ekstrand
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=745f5778f3f0faa1fc2eae22edc489811673d70f
Author: Jason Ekstrand 
Date:   Fri Jun 10 20:59:21 2016 -0700

i965/context: Remove some unnecessary vfuncs

Signed-off-by: Jason Ekstrand 
Reviewed-by: Topi Pohjolainen 
Reviewed-by: Chad Versace 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=305044c5b14b635676d1585b6a1822d11fdcf0a6
Author: Jason Ekstrand 
Date:   Thu Jun 9 18:29:15 2016 -0700

i965: Get rid of gen6_surface_state.c

The only useful thing left was gen6_init_vtable_surface_functions which we
can easily put in brw_wm_surface_state.c.

Signed-off-by: Jason Ekstrand 
Reviewed-by: Topi Pohjolainen 
Reviewed-by: Chad Versace 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=16fb285946c94b0b1edb295ca45fa4985f7a240a
Author: Jason Ekstrand 
Date:   Thu Jun 9 17:06:57 2016 -0700

i965: Use ISL for emitting buffer surface states

Signed-off-by: Jason Ekstrand 
Reviewed-by: Topi Pohjolainen 
Reviewed-by: Chad Versace 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee229d1b9c9530a2a973c304490e7c17f7305340
Author: Jason Ekstrand 
Date:   Thu Jun 9 21:12:22 2016 -0700

i965/state: Account for the element size in emit_buffer_surface_state

Signed-off-by: Jason Ekstrand 
Reviewed-by: Topi Pohjolainen 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=69c0dc5c53e565c7c0a95501e5626e01083ca855
Author: Jason Ekstrand 
Date:   Wed Jun 8 16:08:24 2016 -0700

i965/gen4-6: Use the generic ISL-based path for texture surfaces

Signed-off-by: Jason Ekstrand 
Reviewed-by: Topi Pohjolainen 
Reviewed-by: Chad Versace 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d56959bf8347a866616cb3eefebd67f09c32447
Author: Jason Ekstrand 
Date:   Tue Jun 7 11:45:13 2016 -0700

i965/gen6: Use the generic ISL-based path for renderbuffer surfaces

Signed-off-by: Jason Ekstrand 
Reviewed-by: Topi Pohjolainen 
Reviewed-by: Chad Versace 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=efa7668545cd0ceaf6c2680b91d6d7d6f9afc141
Author: Jason Ekstrand 
Date:   Mon Jun 6 20:36:11 2016 -0700

i965/gen7: Use the generic ISL-based path for renderbuffer surfaces

Signed-off-by: Jason Ekstrand 
Reviewed-by: Topi Pohjolainen 
Reviewed-by: Chad Versace 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8521ce1a7ecb2e67f259d92c645a18ffbc49d347
Author: Jason Ekstrand 
Date:   Mon Jun 6 20:35:04 2016 -0700

i965/gen7: Use the generic ISL-based path for texture surfaces

Signed-off-by: Jason Ekstrand 
Reviewed-by: Topi Pohjolainen 
Reviewed-by: Chad Versace 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=26282a01f5a5045760d4dbe753b48de5a6648d8e
Author: Jason Ekstrand 
Date:   Mon Jun 6 20:32:35 2016 -0700

i965/gen8: Use the generic ISL-based path for renderbuffer surfaces

Signed-off-by: Jason Ekstrand 
Reviewed-by: Topi Pohjolainen 
Reviewed-by: Chad Versace 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7e951cd56228a726397d59286bf97287df36dc27
Author: Jason Ekstrand 
Date:   Mon Jun 6 20:31:38 2016 -0700

i965/gen8: Use the generic ISL-based path for texture surfaces

Signed-off-by: Jason Ekstrand 
Reviewed-by: Topi Pohjolainen 
Reviewed-by: Chad Versace 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=09b5a71517fadd6c20b72e7ad9ea1f7539c93a42
Author: Jason Ekstrand 
Date:   Thu Jun 9 16:15:05 2016 -0700

i965/state: Add generic surface update functions based on ISL

Signed-off-by: Jason Ekstrand 
Reviewed-by: Topi Pohjolainen 
Reviewed-by: Chad Versace 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1abb37baa072d16d25dd6165f5c30b1f189fd490
Author: Jason Ekstrand 
Date:   Mon Jun 6 19:55:06 2016 -0700

i965/surface_state: Rename brw_update to gen4_update

We're about to add generic versions which work across gens and those should
have the brw name.

Signed-off-by: Jason Ekstrand 
Reviewed-by: Topi Pohjolainen 
Reviewed-by: Chad Versace 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a8c89038abab0184ea72664ab390ec6ca58b4d6
Author: Jason Ekstrand 
Date:   Thu Jun 9 11:45:44 2016 -0700

i965/state: Use ISL for emitting image surfaces

Signed-off-by: Jason Ekstrand 
Reviewed-by: Chad Versace 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a21d1bfc35ba1afdb443c5605a33d3da88735ce
Author: Jason Ekstrand 
Date:   Fri Jun 10 19:10:51 2016 -0700

i965/blorp: Use a generic ISL path for texture surfaces on gen8

Signed-off-by: Jason Ekstrand 
Reviewed-by: Topi Pohjolainen 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5cf665afa1250d50856130f889570f7227f20eb0
Author: Jason Ekstrand 
Date:   Mon Jun 6 20:25:21 2016 -0700

i965/state: Add a helper for emitting a surf

Mesa (master): 33 new commits

2016-04-26 Thread Samuel Pitoiset
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c429f88d9696d2060e02c95b832999e918718bc
Author: Samuel Pitoiset 
Date:   Mon Apr 18 18:55:22 2016 +0200

nvc0: expose GLSL version 420 on GK110

Signed-off-by: Samuel Pitoiset 
Reviewed-by: Ilia Mirkin 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0e777f6a12515cfadf8050eb63dfe24f84347b5
Author: Samuel Pitoiset 
Date:   Mon Apr 18 18:54:14 2016 +0200

nvc0: enable ARB_shader_image_load_store on GK110

This exposes 8 images for all shader types.

Signed-off-by: Samuel Pitoiset 
Reviewed-by: Ilia Mirkin 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2daaa5d657910239833dc796dc1ac6f4b168e3df
Author: Samuel Pitoiset 
Date:   Wed Apr 20 01:04:28 2016 +0200

gk110/ir: add emission for VSHL

Signed-off-by: Samuel Pitoiset 
Reviewed-by: Ilia Mirkin 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=af5925209d730f917431b603b031085c7c96c773
Author: Samuel Pitoiset 
Date:   Tue Apr 19 01:37:44 2016 +0200

gk110/ir: add emission for OP_SUEAU, OP_SUBFM and OP_SUCLAMP

Signed-off-by: Samuel Pitoiset 
Reviewed-by: Ilia Mirkin 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f8900a8e0c344c17dafd9ab57c7fb24c0eec588
Author: Samuel Pitoiset 
Date:   Mon Apr 18 18:53:37 2016 +0200

gk110/ir: add emission for OP_SULDB and OP_SUSTx

Signed-off-by: Samuel Pitoiset 
Reviewed-by: Ilia Mirkin 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fddd8523d48f456d3fd614179ecd66e46625c774
Author: Samuel Pitoiset 
Date:   Mon Apr 18 18:50:24 2016 +0200

gk110/ir: add emission for OP_MADSP

Signed-off-by: Samuel Pitoiset 
Reviewed-by: Ilia Mirkin 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2ce22ca4641343e9bad446811a882c5c3930419
Author: Samuel Pitoiset 
Date:   Mon Apr 18 18:48:52 2016 +0200

gk110/ir: add emission for OP_PERMT

Signed-off-by: Samuel Pitoiset 
Reviewed-by: Ilia Mirkin 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=222d1a1bff8eeaf1007ff921bc321333a42fe2b4
Author: Samuel Pitoiset 
Date:   Fri Apr 8 20:24:58 2016 +0200

nvc0: expose GLSL version 420 on GK104

Other chipsets will be added later.

Signed-off-by: Samuel Pitoiset 
Reviewed-by: Ilia Mirkin 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9e367ed4805c460a81e9307799f7c8e34b70f16c
Author: Ilia Mirkin 
Date:   Fri Jan 8 23:06:25 2016 -0500

nvc0: enable ARB_shader_image_load_store on GK104

This exposes 8 images for all shader types.

Signed-off-by: Samuel Pitoiset 
Reviewed-by: Ilia Mirkin 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d64d39e8188c797bc4f4bc7603cff6478972ae3
Author: Samuel Pitoiset 
Date:   Sat Apr 9 20:32:25 2016 +0200

nvc0: inform users that 3D images are not fully supported

3D images are a bit more complicated to implement and will probably
requires a bunch of headaches and we don't care for now because they
do not seem to be really used by apps.

Signed-off-by: Samuel Pitoiset 
Reviewed-by: Ilia Mirkin 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fdbb476829943095d0667e43cea2dbb96046ddb3
Author: Samuel Pitoiset 
Date:   Mon Apr 11 16:58:57 2016 +0200

nvc0: reduce GL_MAX_3D_TEXTURE_SIZE to 2048 on Kepler+

The blob sets it to 2048 and using 4096 reports an INVALID_DATA error
with RT_ARRAY_MODE when z is 4096. Suggested by Ilia Mirkin.

Signed-off-by: Samuel Pitoiset 
Reviewed-by: Ilia Mirkin 
Cc: "11.1 11.2" 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6fc6d548ed66caf4395190718163d964d9c0fe25
Author: Samuel Pitoiset 
Date:   Mon Apr 25 23:13:00 2016 +0200

nvc0/ir: check that the image format doesn't mismatch

This re-uses NVE4_SU_INFO_CALL which is not used anymore because we
don't use our lib for format conversions. While we are at it, add a
todo for image buffers because there are some robustness-related
issues to fix.

Signed-off-by: Samuel Pitoiset 
Reviewed-by: Ilia Mirkin 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fbeb69757c769f594d5f9340adf067a300eddc1d
Author: Samuel Pitoiset 
Date:   Tue Apr 12 17:12:00 2016 +0200

nvc0/ir: prevent out of bounds when no images are bound

Checking if the image address is not 0 should be enough to prevent
read faults. To improve robustness, make sure that the destination
value of atomic operations is correctly initialized in case the
instruction is not performed.

Signed-off-by: Samuel Pitoiset 
Reviewed-by: Ilia Mirkin 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ba57144830f5ab9dc8044d3a6fc59dfe16f0dd2
Author: Samuel Pitoiset 
Date:   Wed Apr 6 17:15:35 2016 +0200

nvc0/ir: add indirect support for images on Kepler

This fixes arb_shader_image_load_store-indexing a

Mesa (master): 33 new commits

2012-07-12 Thread Marek Olšák
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f3659bb564c6b8cfcf7c1ab276fbdfdc018e439
Author: Marek Olšák 
Date:   Thu Jul 5 15:34:42 2012 +0200

docs: update relnotes-8.1 and GL3 status

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=63d8c8baa99560c7a051b88afae645e60f07bc8f
Author: Marek Olšák 
Date:   Sun Dec 18 04:57:31 2011 +0100

st/mesa: expose new transform feedback extensions

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d24ece97e5ac755b9fd11d1d00d2eafc8524ca04
Author: Marek Olšák 
Date:   Sun Dec 18 04:54:00 2011 +0100

mesa: add ARB_transform_feedback_instanced extension enable flag

Acked-by: Ian Romanick 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=db7404defd47aa22082b52a6a31a08fb39fab626
Author: Marek Olšák 
Date:   Sun Dec 18 04:51:48 2011 +0100

mesa: implement new DrawTransformFeedback functions

Acked-by: Ian Romanick 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7e0cb473b063072fee121d536e7e37679528e991
Author: Marek Olšák 
Date:   Sun Dec 18 04:20:42 2011 +0100

mesa: implement display list support for new DrawTransformFeedback functions

Acked-by: Ian Romanick 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce16ca4635152db4c1af45888cb9c225e8d94f5a
Author: Marek Olšák 
Date:   Sun Dec 18 04:06:29 2011 +0100

mesa: implement display list support for indexed query functions

Acked-by: Ian Romanick 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=553e13dbc2d5eff16f2c9a384ee5c5cf70b90901
Author: Marek Olšák 
Date:   Sun Dec 18 03:50:10 2011 +0100

mesa: implement indexed query functions from ARB_transform_feedback3

Acked-by: Ian Romanick 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=375e73d85948b43aa509e25f0a210ebd10238b6f
Author: Marek Olšák 
Date:   Sun Dec 18 02:43:31 2011 +0100

mesa: implement glGet queries and error handling for ARB_transform_feedback3

Acked-by: Ian Romanick 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=21cb5ed20d1d7984b7695395327ed0ba0b0d16e2
Author: Marek Olšák 
Date:   Sun Dec 18 02:39:34 2011 +0100

glsl: implement ARB_transform_feedback3 in the linker

Acked-by: Ian Romanick 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9576d555e06df52a64906de94db4c1c7434630f9
Author: Marek Olšák 
Date:   Sun Dec 18 03:04:11 2011 +0100

glapi: add ARB_transform_feedback_instanced

Acked-by: Ian Romanick 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d13d91f4e49b186f7715e907c784bce471c2441
Author: Marek Olšák 
Date:   Sun Dec 18 02:59:55 2011 +0100

glapi: add ARB_transform_feedback3

Acked-by: Ian Romanick 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e773a48a3bf9ab839f10794506c0a492b7eab883
Author: Marek Olšák 
Date:   Sun Jul 8 03:18:48 2012 +0200

r600g: fix uploading non-zero mipmap levels of depth textures

This fixes piglit/depth-level-clamp.

Reviewed-by: Alex Deucher 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe1fd675565231b49d3ac53d0b4bec39d8bc6781
Author: Marek Olšák 
Date:   Sun Jul 8 03:10:37 2012 +0200

r600g: don't flush depth textures set as colorbuffers

The only case a depth buffer can be set as a color buffer is when flushing.

That wasn't always the case, but now this code isn't required anymore.

Reviewed-by: Alex Deucher 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6842d5fced16b275a06d39fe1d38b8326a11c84e
Author: Marek Olšák 
Date:   Sun Jul 8 03:09:06 2012 +0200

r600g: don't set dirty_db_mask for a flushed depth texture

A flush depth texture is never set as a depth buffer and never flushed.

Reviewed-by: Alex Deucher 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a17d8318ec2c20bf86275044dc8f715105a88e7
Author: Marek Olšák 
Date:   Sun Jul 8 02:14:18 2012 +0200

r600g: flush depth textures bound to vertex shaders

This was missing/broken. There are also minor code cleanups.

Reviewed-by: Alex Deucher 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=dee58f94af833906863b0ff2955b20f3ab407e63
Author: Marek Olšák 
Date:   Sun Jul 8 01:54:24 2012 +0200

r600g: do fine-grained depth texture flushing

- maintain a mask of which mipmap levels are dirty (instead of one big flag)
- only flush what was requested at a given point and not the whole resource
  (most often only one level and one layer has to be flushed)

Reviewed-by: Alex Deucher 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=df79eb59566f20a7fa8e11d87b63b81ec35eaf25
Author: Marek Olšák 
Date:   Sat Jul 7 19:33:11 2012 +0200

r600g: remove is_flush from DSA state

we can just update the state when decompressing, there's no need to add
additional info into the DSA state

Reviewed-by: Alex Deucher 

URL:
http://cgit.freedesktop.o

Mesa (master): 33 new commits

2011-10-29 Thread Eric Anholt
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=44c65d0e4e22bbfaba31de68fc4e48b7decf7c02
Author: Eric Anholt 
Date:   Sat Oct 22 12:16:44 2011 -0700

i965: Remove the prepare() hook from state atoms.

Reviewed-by: Kenneth Graunke 
Acked-by: Paul Berry 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2649ff4d909fb4f1f1f4c06534170e0d3b4bcc73
Author: Eric Anholt 
Date:   Sat Oct 22 12:16:05 2011 -0700

i965: Remove the memcpy()ed atoms array now that everything is emit()-based.

Reviewed-by: Kenneth Graunke 
Acked-by: Paul Berry 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=35c7e8cebeaae67c80254224cda46ee17f6d5868
Author: Eric Anholt 
Date:   Sat Oct 22 12:11:27 2011 -0700

i965: Merge brw_validate_state() and brw_upload_state() together.

They were called back-to-back at this point.

Reviewed-by: Kenneth Graunke 
Acked-by: Paul Berry 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=68c813e8eaf46594b1a3c4b0f49ff6edd9d60c75
Author: Eric Anholt 
Date:   Sat Oct 22 12:02:37 2011 -0700

i965: Remove state upload code for calling prepare() now that there are 
none.

Reviewed-by: Kenneth Graunke 
Acked-by: Paul Berry 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=26cfca825d7cdba753d138172285b5c2adf25c4b
Author: Eric Anholt 
Date:   Sat Oct 22 12:03:36 2011 -0700

i965: Remove some old texturing debug code.

It caught one possible bug I recall in my time working on the driver,
and we haven't been setting it for non-fixed-function since the new FS
backend came along.  The bug it caught was likely a confusion about
sampler mappings, which we have tests for these days.

Reviewed-by: Kenneth Graunke 
Acked-by: Paul Berry 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd27c25ff9379454c92a65b9e6f4f1ee23e3665c
Author: Eric Anholt 
Date:   Sat Oct 22 11:57:44 2011 -0700

i965: Finally, move the global fallbacks check to emit() time.

This was the last prepare() function, and it's the first state atom,
so it must be ready to move.

Reviewed-by: Kenneth Graunke 
Acked-by: Paul Berry 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c83bfeabc6af82f061d53b8b5923ee26f14efb58
Author: Eric Anholt 
Date:   Sat Oct 22 11:54:32 2011 -0700

i965: Move index buffer upload to emit() time.

It's consumed by the brw_emit_index_buffer() code at emit() time.

Reviewed-by: Kenneth Graunke 
Acked-by: Paul Berry 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=78a010127f3eb600fb7b145bc562b62a77af5a34
Author: Eric Anholt 
Date:   Sat Oct 22 11:35:56 2011 -0700

i965: Do a hack job of merging VB prepare()/emit() together.

I don't really want to touch this impenetrable code in this series, so
just call the one function from the other, since no other atom cares
about them.

Reviewed-by: Kenneth Graunke 
Acked-by: Paul Berry 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf11c9e4c1be307add4bb9355e6c0b5f4c44629f
Author: Eric Anholt 
Date:   Sat Oct 22 11:34:49 2011 -0700

i965: Move the WM input sizes calculation to emit() time.

It's used for program compile.

Reviewed-by: Kenneth Graunke 
Acked-by: Paul Berry 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc9a753f6687133d2d057597e5af86abcdc56781
Author: Eric Anholt 
Date:   Sat Oct 22 11:33:54 2011 -0700

i965: Move program compile to emit() time.

Only 4 other prepare() functions are left, which don't rely on this.

Reviewed-by: Kenneth Graunke 
Acked-by: Paul Berry 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0969568fce93bde927797ed4eeae0df6546806a3
Author: Eric Anholt 
Date:   Sat Oct 22 11:32:05 2011 -0700

i965/gen4: Move CURBE offset calculation to emit() time.

This is consumed by the unit state.

Reviewed-by: Kenneth Graunke 
Acked-by: Paul Berry 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=47c4d950cbc62f004ecdfe2eb197eb8a440cf1ae
Author: Eric Anholt 
Date:   Sat Oct 22 11:21:51 2011 -0700

i965/gen4: Fold push constant prepare()/emit() together.

While other units need to know about our constant buffer offsets,
nothing else cared about which particular BO other than the emit() half.

Reviewed-by: Kenneth Graunke 
Acked-by: Paul Berry 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=752cad8f33ad1adc8950e5c0b5c9c4aa2ad046ec
Author: Eric Anholt 
Date:   Sat Oct 22 11:18:56 2011 -0700

i965/gen6: Move viewport state setup to emit() time.

Only the emit() for the pointers into the batch later in this file
cares.

Reviewed-by: Kenneth Graunke 
Acked-by: Paul Berry 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f0a54e6ffab12f745eeccc5a98d6a243404fe67
Author: Eric Anholt 
Date:   Sat Oct 22 11:25:15 2011 -0700

Mesa (master): 33 new commits

2011-02-21 Thread Chris Wilson
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c6793fb6bc89df16c23f727bcb072a157ab8d10
Author: Chris Wilson 
Date:   Thu Nov 25 15:41:37 2010 +

i915: Emit a single relocation per vbo

Reducing the number of relocations has lots of nice knock-on effects,
not least including reducing batch buffer size, auxilliary array sizes
(vmalloced and copied into the kernel), processing of uncached
relocations etc.

Signed-off-by: Chris Wilson 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=298ebb78de8a6b6edf0aa0fe8d784d00bbc2930e
Author: Chris Wilson 
Date:   Fri Nov 26 11:18:50 2010 +

i915: Suppress emission of redundant stencil updates

Signed-off-by: Chris Wilson 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c97e288fb6a105ea60c377aef4472cc33ca01bc
Author: Chris Wilson 
Date:   Fri Nov 26 10:57:06 2010 +

i915: Separate BLEND from general context state.

Signed-off-by: Chris Wilson 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4f82585e279276e08c719d55218cd64a2c880a6b
Author: Chris Wilson 
Date:   Fri Nov 26 10:25:23 2010 +

i915: Only flag context changes if the actual state is changed

Signed-off-by: Chris Wilson 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b0cad38c57fbe59710cb4058866b2e68f6d471a
Author: Chris Wilson 
Date:   Thu Nov 25 22:27:37 2010 +

i915: suppress repeated sampler state emission

Signed-off-by: Chris Wilson 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=87641cffd97f328e846604d314c21582f426a19a
Author: Chris Wilson 
Date:   Thu Nov 25 21:39:21 2010 +

i915: Eliminate redundant CONSTANTS updates

Signed-off-by: Chris Wilson 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=41260a9bf63aa61f88f188053f1ed4dba3a852d2
Author: Chris Wilson 
Date:   Tue Feb 8 22:58:35 2011 +

i965: Use compiler builtins when available

Signed-off-by: Chris Wilson 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ea6e98c7be6483514769b03ffa6c6f4f7b2e0be
Author: Chris Wilson 
Date:   Sun Feb 20 15:36:52 2011 +

i965: Micro-optimise check_state

Replace the intermediate tests due to the logical or with the bitwise
or.

Signed-off-by: Chris Wilson 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=50ade6ea697953bb17e3ca7210515fbd0411cd1e
Author: Chris Wilson 
Date:   Thu Dec 30 21:47:39 2010 +

intel: use throttle ioctl for throttling

Rather than waiting on the first batch after the last swapbuffers to be
retired, call into the kernel to wait upon the retirement of any request
less than 20ms old. This has the twofold advantage of (a) not blocking
any other clients from utilizing the device whilst we wait and (b) we
attain higher throughput without overloading the system.

Signed-off-by: Chris Wilson 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=46131a824ffa3b658c822fd6cc543a5935773a6f
Author: Chris Wilson 
Date:   Sat Feb 12 11:28:25 2011 +

i965: Remove unused 'next_free_page' member

Signed-off-by: Chris Wilson 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=57ca0803b34587f1148b218a11d2193b0d4f4c97
Author: Chris Wilson 
Date:   Fri Feb 11 00:03:48 2011 +

intel: Skip the flush before read-pixels via blit

As we will flush when reading the return values of the blit, we can forgo
the earlier flush.

Signed-off-by: Chris Wilson 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c625aa19cb53ed27f91bfd16fea6ea727e9a5bbd
Author: Chris Wilson 
Date:   Fri Feb 18 10:37:43 2011 +

intel: extend current vertex buffers

If the next vertex arrays are a (discontiguous) continuation of the
current arrays, such that the new vertices are simply offset from the
start of the current vertex buffer definitions we can reuse those
defintions and avoid the overhead of relocations and invalidations.

Signed-off-by: Chris Wilson 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a07e4811794051dc65187d17b7f85e340e61854e
Author: Chris Wilson 
Date:   Fri Feb 18 12:30:37 2011 +

intel: Use specified alignment for writes into the upload buffer

Signed-off-by: Chris Wilson 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9e591391d490c83ce301aa568a2e0afe4cc3c0a
Author: Chris Wilson 
Date:   Fri Feb 11 15:29:26 2011 +

i965: Clean up brw_prepare_vertices()

Use a temporary glarray variable to replace the numerous input->glarray.

Signed-off-by: Chris Wilson 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3630d5b69afcecc3142d2c4897835175886f4bd8
Author: Chris Wilson 
Date:   Fri Feb 11 19:40:08 2011 +

intel: combine short memcpy using a temporary allocated buffer

Using a temporary buffer for large discontiguous uploads into the common
buffer