Mesa (main): 33 new commits
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Jun 22 21:31:35 UTC 2021
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ed0aaced7604b9ac3f5a3b5c24b2cc9509a7385
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Tue Jun 22 14:23:04 2021 +0300
nir: use a more fitting index for btd_stack_push_intel
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=423c47de991643269a7c76ea37efe59b237fa6e7
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Tue Jun 22 14:18:17 2021 +0300
nir: drop the btd_resume_intel intrinsic
This is now 100% equivalent to the new rt_resume intrinsic.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4d9fcf2799e57fccb168027a1bb8c245236eca98
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Fri May 28 15:06:09 2021 +0300
intel/rt: switch to common pass for shader calls lowering
v2: rename for new indices
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1dacea10f35983833dabcad220317fe6e61db31b
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Sat Apr 3 12:01:19 2021 +0300
anv: implement caching for ray tracing pipelines
v2: Turn a bunch of pointer checks into checks against NULL (Jason)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fed7ac932f38ba3daebc4f2c937cb12d8c34b14d
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Tue Apr 6 17:10:16 2021 +0300
anv: move trivial return shader to device
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c852f78c41f608aaa940f17b81deb6191937777
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Fri Apr 2 17:18:47 2021 +0300
anv: store more RT shader data in pipeline_stage object
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=045f4600b1cd3096ecd12cda9c28de09b7919679
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Fri Apr 2 17:03:13 2021 +0300
anv: cache raytracing trampoline shader
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ab77aeb48884b611f76c9be78a610a529c01221a
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Fri Apr 2 16:28:59 2021 +0300
blorp: add blorp string in shader keys
Upon looking at caching the raytracing shader (in particular the
trampoline one) I kind of got afraid that some of the keys used for
blorp would end up matching other keys. This is because blorp keys are
fairly simple. There is no SPIRV module hash included.
This change includes a "blorp" string at the beginning of the queue to
ensure we don't collide with other keys.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7479fe6ae0935fb8f9e3c64c16c7e6855481d1da
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Thu Aug 6 23:05:03 2020 -0500
anv: Implement vkCmdTraceRays and vkCmdTraceRaysIndirect
v2: Fix anv_cmd_state::binding_tables array size (Lionel)
v2: Fix anv_cmd_state::samplers array size (Lionel)
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac6d7a1758cbee91caf6812333bb3416d22ad7e4
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Mon Jul 6 18:12:35 2020 -0500
anv: Make anv_address::offset 64-bit
This allows us to convert a 64-bit address to an anv_address which is
useful for working with device addresses.
v2: switch to int64_t to keep state pool relative relocation working
on non-softpin platforms
v3: Update assert to reflect relative offsets (Jason)
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a67d7c9dee1a74c8aa861b0b848c455686d9a09b
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Thu Aug 6 22:59:35 2020 -0500
anv: Allow _anv_combine_address with a NULL batch
This is required in order to be able to use GenXML pack functions for
structs with addresses when you're not packing into a batch.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f68d64dac01505560a53aabe2b8616685cace0c2
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Thu Aug 6 22:53:06 2020 -0500
anv: Add support for vkCmdSetRayTracingPipelineStackSizeKHR
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=02f7964a134dffe2b904d0c3dec2e058d201cdc5
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date: Thu Jan 21 15:38:01 2021 -0600
anv: Compute scratch sizes for ray-tracing pipelines and shader groups
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c3ac9afca3890be4aed7ebcdd0e3499556964da2
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date: Thu Jan 21 15:37:21 2021 -0600
anv: Create and return ray-tracing pipeline SBT handles
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b66d3e627a81c6b89171972c32ba2bf61665b7c5
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Tue Jun 16 23:06:56 2020 -0500
intel/fs: Don't pull CS push constants if uses_inline_data
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=79dc25d8679ac6ab03c43ea51255ef046883d39f
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date: Thu Jan 21 15:30:27 2021 -0600
anv: Compile trivial return and trampoline shaders
These don't necessarily go in any group but are required for dispatch to
work properly. The trampoline is a compute shader that is the initial
start point for the trace. It's in charge of invoking the actual
ray-gen shader. The trivial return shader is used whenever another
shader is missing and it does no work except the minimum required to do
a stack return.
v2: Rebase on upstream changes (Lionel)
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e10455585115d502702a3f642dfd386d0c7a0c69
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date: Thu Jan 21 15:28:28 2021 -0600
anv: Compile ray-tracing shaders
This doesn't look too different from other compile functions we have in
anv_pipeline.c. The primary difference is that ray-tracing pipelines
have this weird two-stage thing where you have "stages" which are
individual shaders and "groups" which are sort of mini pipelines that
are used to handle hits. For any given ray intersection, only the hit
and intersection shaders from the same group get used together. You
can't have an intersection shader from group A used with an any-hit from
group B. This results in a weird two-step compile.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=379b9bb7b04dc87797e49933bbfac786b7ef38fb
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date: Thu Jan 21 14:13:47 2021 -0600
anv: Support fetching descriptor addresses from push constants
Bindless shaders don't have binding tables so they have to get at the
descriptor sets via a different mechanism.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=937ffb1af0201fbb11c939ca67f7c5b6a31035fa
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date: Thu Jan 21 02:55:59 2021 -0600
nir/apply_pipeline_layout: Handle bindless shaders
They don't have binding tables so they have to use A64 descriptor set
access and everything has to be bindless all the time.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=770d3312857a2ce2130dd949f3149d14068eb760
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Thu Aug 6 22:31:02 2020 -0500
anv: Disallow UBO pushing for bindless shaders
They don't really have push constants.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c92fd3584835b48fe745ef3c10ac1d71c5c6c6ae
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date: Thu Jan 21 15:16:30 2021 -0600
intel/rt: Use reloc constants for the resume SBT
It's going to be attached to the end of the shader binary, not an
arbitrary table somewhere in memory.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=705395344d2541d038326a6f64fbff838b52a71e
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Fri Sep 4 12:40:06 2020 -0500
intel/fs: Add support for compiling bindless shaders with resume shaders
Instead of depending on the driver to compile each resume shader
separately, we compile them all in one go in the back-end and build an
SBT as part of the shader program. Shader relocs are used to make the
entries in the SBT point point to the correct resume shader.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d055ac9bdf6a07f14b405d2ed1d6400e9b7c638f
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Fri Sep 4 12:23:35 2020 -0500
intel/compiler: Add a U32 reloc type
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=55508bbe66cdae22cc8ae74f27829fba13f393c7
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Fri Sep 4 12:09:11 2020 -0500
intel/compiler: Generalize shader relocations a bit
This commit adds a delta to be added to the relocated value as well as
the possibility of multiple types of relocations.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f7668d6fe5aed6706e7ee1c42d4053ed2c61adfb
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Fri Sep 4 12:00:42 2020 -0500
anv,iris: Move the SHADER_RELOC enums to brw_compiler.h
They're common between the two drivers and we want to add a couple more
that get emitted from code in src/intel/compiler.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d95d5b146511447294f3d593d6701b6ab389e711
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Thu Aug 6 22:51:01 2020 -0500
anv: Add support for binding ray-tracing pipelines
This includes not only vkCmdBindPipeline but also descriptor sets and
push constants.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8cc5080580b2c858097184dd662441bd61ebde0c
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Thu Aug 6 18:56:54 2020 -0500
anv: Add a ray-tracing pipeline object
This just adds the core data structure which we'll build on going
forward.
v2: Add VK_EXT_pipeline_creation_cache_control handling (Lionel)
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc05daf0e51b1e9fd99b9624d657cdca98d1d02e
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date: Thu Jan 21 16:58:50 2021 -0600
anv: Get ready for more pipeline stages
This makes a bunch of loops use ARRAY_SIZE instead of MESA_SHADER_STAGES,
extends a few arrays, and adds a bunch of array length asserts.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f366f6a07163d757dcd881dfe353951bbfd25710
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Wed Aug 5 16:53:12 2020 -0500
anv: Add minimal boilerplate for VK_KHR_ray_tracing_pipeline
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d258b0bf0e072438fc9eb921c5335734e6794459
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Wed Aug 5 17:28:48 2020 -0500
anv: Add support for binding acceleration structures
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4664c9247833924d5f4a38342fc11c3e6e251fc4
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Wed May 13 16:22:02 2020 -0500
anv: Add stub support for acceleration structures
This just adds a base struct and trivial implementations of all the
create/destroy/bind functions.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e97002ebcf983ee6a8586a1564b41588a7109a6a
Author: Jason Ekstrand <jason at jlekstrand.net>
Date: Wed May 13 15:44:11 2020 -0500
anv: Add minimal boilerplate for VK_KHR_acceleration_structure
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=72437f6d540d77e7bcfcfd46938accd996684b51
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date: Mon Feb 1 16:55:33 2021 -0600
spirv: Create acceleration structure and shader record variables
spirv_to_nir now requires NIR variables to be created for everything.
Fixes: 10b3eecd361af "spirv: Don't remove variables used by resource..."
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8637>
More information about the mesa-commit
mailing list