- May 04, 2022
-
-
Dylan Baker authored
-
Mike Blumenkrantz authored
as in glx/egl, zink+lavapipe should only load if explicitly selected Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <mesa/mesa!16311>
-
Mike Blumenkrantz authored
Acked-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <mesa/mesa!16153>
-
Signed-off-by: Autumn on Tape <autumn@cyfox.net> Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <mesa/mesa!13671>
-
This checks if index is a ConstantAggregateZero, ConstantDataSequential, or UndefValue and emits a single shufflevector instead of a loop if so. Signed-off-by: Autumn on Tape <autumn@cyfox.net> Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <mesa/mesa!13671>
-
Bits flipped in VkPhysicalDeviceSubgroupProperties.supportedOperations: * SUBGROUP_FEATURE_SHUFFLE_BIT * SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT Signed-off-by: Autumn on Tape <autumn@cyfox.net> Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <mesa/mesa!13671>
-
Signed-off-by: Autumn on Tape <autumn@cyfox.net> Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <mesa/mesa!13671>
-
- May 03, 2022
-
-
device->l3_config is only valid on Gfx11+ This only fixes using GPU_TRACE=1 Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: 02a4d622 ("anv: expose a couple of emit helper to build utrace buffer copies") Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <mesa/mesa!16291> (cherry picked from commit 4efc9974)
-
cc: mesa-stable Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <mesa/mesa!16278> (cherry picked from commit 4a4adb65)
-
cc: mesa-stable fixes (zink): spec@ext_transform_feedback@generatemipmap prims_generated Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <mesa/mesa!16278> (cherry picked from commit a36c3f6f)
-
It could happen that at the time of a live-range split, a phi was not yet placed in the new instruction vector, and thus, instead of renamed, a new phi was created. Fixes: dEQP-VK.subgroups.ballot_broadcast.compute.subgroupbroadcast_i8vec2 Cc: mesa-stable Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <mesa/mesa!16248> (cherry picked from commit 58bd9a37)
-
Fixes: 61ac5acc ("radv,ac/nir: lower global access to _amd global access intrinsics") Signed-off-by: Konstantin Seurer <konstantin.seurer@gmail.com> Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <mesa/mesa!16270> (cherry picked from commit d639608b)
-
We need to make sure we also properly sort varyings sharing a single slot otherwise we can end up assigning earlier components to the next slot if we have already processed later components. Closes: mesa/mesa#6392 Fixes: 1e93b0ca ("mesa/st: add support for NIR as possible driver IR") Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <mesa/mesa!16208> (cherry picked from commit 180398f7)
-
We don't want to be throwing exceptions and changing float values later by emitting a signaling binary16 nan. If we don't do this, then when we convert back to f32 in NIR constant expression evaluation, the signaling NaN can end up giving NaN for fmax(NaN, 0.0), instead of 0.0. Closes: mesa/mesa#5933 Cc: mesa-stable Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <mesa/mesa!16233> (cherry picked from commit 27e33d5c)
-
v2: Use os_get_available_system_memory() when kernel memory region uAPI is not available (Lionel) Cc: 22.1 <mesa-stable> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <mesa/mesa!16210> (cherry picked from commit acf6bf88)
-
If wsi_configure_native_image() fails, it will call wsi_destroy_image_info() itself, so let's try to not call it again from wsi_wl_swapchain_destroy(). Fixes the CTS tests: dEQP-VK.wsi.wayland.swapchain.simulate_oom.* Fixes: b626a5be ("vulkan/wsi/wayland: Split image creation") Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <mesa/mesa!16257> (cherry picked from commit bf04be17)
-
Dylan Baker authored
-
- May 02, 2022
-
-
Jordan Justen authored
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> (cherry picked from commit de99a111) Part-of: <mesa/mesa!16231>
-
Jordan Justen authored
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> (cherry picked from commit d9ff9ea9) Part-of: <mesa/mesa!16231>
-
Otherwise things will crash on destruction. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Fixes: 9a57dcee ("llvmpipe: add support for user memory pointers") Part-of: <mesa/mesa!16207 > (cherry picked from commit b4bbf9d1) Signed-off-by: Dylan Baker <dylan.c.baker@intel.com> Staging changes (Dylan) - port back from u_list to simple_list for the stable branch
-
The VAR_TEX definition in ISA.xml only has a field for texture_index, so trying to read sampler_index will return zero; read from texture_index instead, and rename other fields for consistency. The texture and sampler indices must be equal for VAR_TEX to be used, so either name could be used for the field. Fixes the wrong textures being used in Thief. Closes: mesa/mesa#6219 Fixes: eb1479bd ("pan/bi: Support message preloading") Part-of: <mesa/mesa!16255> (cherry picked from commit 2864094f)
-
While using three component texture formats results in CTs failures, three component vertex attributes are fine, and not allowing them results in significant performance regressisons. Fixes: e41958e3 r600: Disable eight bit three channel formats Closes: mesa/mesa#6399 v2: rename function to is_buffer_format_supported (Emma) Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <mesa/mesa!16267> (cherry picked from commit 4a2ff9eb)
-
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: cc5843a5 ("anv: implement u_trace support") Reviewed-by: Marcin Ślusarz <marcin.slusarz@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <mesa/mesa!15780> (cherry picked from commit 44e93b4c)
-
This changes the intel_device_info calculation to call an additional DRM query requesting the geometry topology from the kernel, which may differ from the result of the current topology query on XeHP+ platforms with compute-only and 3D-only DSSes. This seems more reliable than the current guesswork done in intel_device_info.c trying to figure out which DSSes are available for the render CS. Cc: 22.1 <mesa-stable> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <mesa/mesa!14143> (cherry picked from commit 14cad38b)
-
The nir_move/sink caused instructions to sink interleaved into the output stores at the end of the shader. nouveau's RA doesn't track liveness of FS outputs in registers after the export instruction, so they could end up overwritten. To work around it, after normal NIR move/sink, move the output stores back to the end of the shader. Fixes: b1fa2068 ("nouveau/nir: Enable nir_opt_move/sink.") Reviewed-by: M Henning <drawoc@darkrefraction.com> Reviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <mesa/mesa!15949> (cherry picked from commit 3ddc5054)
-
The ARB_shader_objects spec says the following: > The error INVALID_VALUE is generated by any command that takes one or > more handles as input, and one or more of these handles are not an > object handle generated by OpenGL. And a long, long time ago, we used do to just that for glDeleteObjectARB... Until 9ac9605d, all the way back in February 2006, where the error condition was removed without explanation. Let's restore it, because it should really be there. This was noticed by running the tests that are in the mesa-demos repository, that actually tested this condition. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Cc: mesa-stable Part-of: <mesa/mesa!16211> (cherry picked from commit ba9c9171)
-
We haven't been doing what the comment says for about a decade, it's about time to update the comment! Fixes: 5f60a007 ("st/glx: remove STENCIL_BITS, DEFAULT_SOFTWARE_DEPTH_BITS") Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <mesa/mesa!16213> (cherry picked from commit 82b681db)
-
These defines are no longer used since we removed libmesa_classic. Fixes: e030d5ba ("mesa: Delete libmesa_classic") Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <mesa/mesa!16213> (cherry picked from commit 36250e83)
-
Fixes: 2bc8c61f ("iris: Return a 64B stride for clear color plane") Closes: mesa/mesa#6398 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> Part-of: <mesa/mesa!16241> (cherry picked from commit 33456ae5)
-
Otherwise, the code to actually run Release() might not be loaded or callable anymore. Fixes: 193cf76c ("microsoft/compiler: add common dxil-validator API") Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <mesa/mesa!16225> (cherry picked from commit ab9d649a)
-
Before returning the wait_sync() function, the sync object must be unreferenced. Closes: mesa/mesa#6377 Fixes: 0af7c1e3 ("mesa/st: merge the syncobj code from st into mesa") Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!16242> (cherry picked from commit a47375d4)
-
The input is an array so moving it to a single temporary value doesn't seem to make much sense. I also don't see any piglit regressions when not moving the value to a temporary. Fixes: bc912bac virgl: Add workarounds for virglrenderer input/sv signedness bugs. v2: remove unused enum for SAMPLEMASK (Emma) Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Acked-by: Emma Anholt <emma@anholt.net> Part-of: <mesa/mesa!15997> (cherry picked from commit 89bba41d)
-
This changes the code so that it only looks at the passed in families when concurrent, otherwise it always allocates one. Fixes: 48b3ef62 ("vulkan/wsi: handle queue families properly for non-concurrent sharing mode.") Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com> Tested-by: Mike Lothian <mike@fireburn.co.uk> Part-of: <mesa/mesa!15331> (cherry picked from commit 85a94be0)
-
Cc: 22.1 <mesa-stable> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Part-of: <mesa/mesa!14521> (cherry picked from commit b023f18b)
-
Enables the modifier in anv. Cc: 22.1 <mesa-stable> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Part-of: <mesa/mesa!14521> (cherry picked from commit a53abeb7)
-
This patch adds Tile 4 modifier support to Mesa and allows Mesa to use Tile 4 on gen12-hp with GBM. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Cc: 22.1 <mesa-stable> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Part-of: <mesa/mesa!14521> (cherry picked from commit ac441d09)
-
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> v2. Pull in the header from drm-next at commit 9035039e1ed691cd893777a42e048003a2f349d6 Cc: 22.1 <mesa-stable> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Part-of: <mesa/mesa!14521> (cherry picked from commit acba3efe)
-
Although modifiers which use a clear color plane specify that the plane's pitch should be ignored, some kernels have been found to require 64-byte alignment. Cc: mesa-stable Fixes: db475c81 ("iris: Return non-zero stride for clear color plane") Reported-by: Dongwon Kim <dongwon.kim@intel.com> Suggested-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Part-of: <mesa/mesa!14521> (cherry picked from commit 2bc8c61f)
-
Dylan Baker authored
-
Dylan Baker authored
-