- 06 Aug, 2021 17 commits
-
-
Matt Turner authored
... and reduce maxDescriptorSetUpdateAfterBindStorageBuffersDynamic from 12 to 8. MAX_DYNAMIC_BUFFERS is MAX_DYNAMIC_UNIFORM_BUFFERS + MAX_DYNAMIC_STORAGE_BUFFERS. We set maxDescriptorSetUniformBuffersDynamic = MAX_DYNAMIC_UNIFORM_BUFFERS maxDescriptorSetStorageBuffersDynamic = MAX_DYNAMIC_STORAGE_BUFFERS maxDescriptorSetUpdateAfterBindUniformBuffersDynamic = MAX_DYNAMIC_BUFFERS / 2 maxDescriptorSetUpdateAfterBindStorageBuffersDynamic = MAX_DYNAMIC_BUFFERS / 2 The CTS test checks that maxDescriptorSetUpdateAfterBindUniformBuffersDynamic - is at least 8; and - is at least maxDescriptorSetUniformBuffersDynamic maxDescriptorSetUpdateAfterBindStorageBuffersDynamic - is at least 4; and - and is at least maxDescriptorSetStorageBuffersDynamic Prior to this patch maxDescriptorSetUpdateAfterBindUniformBuffersDynamic was 12 but maxDescriptorSetUniformBuffersDynamic was 16, thus causing the CTS failure in dEQP-VK.api.info.vulkan1p2_limits_validation.ext_descriptor_indexing By raising maxDescriptorSetUpdateAfterBindUniformBuffersDynamic to the same value as maxDescriptorSetUniformBuffersDynamic, we bring the limits into the appropriate ranges. We do the same thing for maxDescriptorSetUpdateAfterBindStorageBuffersDynamic by assigning it the same value as maxDescriptorSetStorageBuffersDynamic. Part-of: <mesa/mesa!12193>
-
Gert Wollny authored
This is the OpenGL ES version of ARB_texture_mirror_clamp_to_edge. v2: fix TexParameter validation (Erik) v3: Use modernized extension test (Erik) Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Reviewed-by:
Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <mesa/mesa!10325>
-
Gert Wollny authored
This extension implements a subset of ARB_clear_texture (i.e. only the features that are not available in OpenGL ES have been dropped). v2: Move call declarations from function to offsets (Emil) v3: Update llvmpipe and softpipe expectations Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Reviewed-by:
Emil Velikov <emil.l.velikov@gmail.com> Part-of: <mesa/mesa!10325>
-
Erik Faye-Lund authored
Seems there's a rogue "time" in here, causing it to look like a new failure. But if we remove that and resort the list, we'll see that this failure was already listed. Fixes: dfccbdff ("ci: update to VK-GL-CTS 1.2.7.0") Acked-by:
Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <mesa/mesa!12233>
-
Mike Blumenkrantz authored
this skips vbuf for radeonsi and saves some cpu Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Reviewed-by:
Axel Davy <davyaxel0@gmail.com> Part-of: <mesa/mesa!11884>
-
Mike Blumenkrantz authored
this ends up having pretty huge overhead Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Reviewed-by:
Axel Davy <davyaxel0@gmail.com> Part-of: <!11887>
-
Connor Abbott authored
Part-of: <mesa/mesa!12216>
-
Signed-off-by:
Simon Zeni <simon@bl4ckb0ne.ca> Reviewed-by:
Simon Ser <contact@emersion.fr> Part-of: <mesa/mesa!12101>
-
Timur Kristóf authored
The radv_emit_ngg_culling_state function won't write the SPI_SHADER_PGM_RSRC2_GS register when it knows in advance that radv_emit_graphics_pipeline will overwrite it anyway. However, there is an unhandled case: radv_emit_graphics_pipeline will not emit anything (including this register) when the pipeline is already emitted. Hence, improve the check in radv_emit_ngg_culling_state to consider this. Fixes: 9a95f548 Signed-off-by:
Timur Kristóf <timur.kristof@gmail.com> Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <mesa/mesa!12237>
-
Pierre-Eric Pelloux-Prayer authored
Based on the glReadPixels code. pbobench piglit benchmark reports identical/similar results on about 50% of the test cases. The other test cases get a 2x-50x speedup. Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Reviewed-By:
Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Closes: mesa/mesa#5084 Closes: mesa/mesa#1030 Part-of: <mesa/mesa!12096>
-
Pierre-Eric Pelloux-Prayer authored
Otherwise the layer argument won't be used. Fixes: a01ad311 ("st/mesa: Add NIR versions of the PBO upload/download shaders. ") Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Reviewed-By:
Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <mesa/mesa!12096>
-
Pierre-Eric Pelloux-Prayer authored
This fixes the following NIR validation error in the st/pbo download FS: vec2 32 ssa_14 = mov ssa_4.xy vec2 32 ssa_15 = f2i32 ssa_14 vec1 32 ssa_16 = deref_var &tex (uniform sampler1D) vec4 32 ssa_17 = (float32)txf ssa_16 (texture_deref), ssa_16 (sampler_deref), ssa_15 (coord) error: nir_src_num_components(instr->src[i].src) == instr->coord_components (../src/compiler/nir/nir_validate.c:839) With this change, the FS becomes: vec4 32 ssa_2 = intrinsic load_frag_coord () () vec1 32 ssa_3 = f2i32 ssa_2.x [...] vec1 32 ssa_9 = deref_var &tex (uniform sampler1D) vec4 32 ssa_10 = (float32)txf ssa_9 (texture_deref), ssa_9 (sampler_deref), ssa_3 (coord), ssa_0 (lod) Fixes: a01ad311 ("st/mesa: Add NIR versions of the PBO upload/download shaders. ") Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Reviewed-By:
Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <mesa/mesa!12096>
-
Dave Airlie authored
lower one, do the other. Reviewed-by:
Roland Scheidegger <sroland@vmware.com> Part-of: <mesa/mesa!12207>
-
Dave Airlie authored
just lower the 32-bit version for now. Thanks to alyssa for this suggested lowering. Reviewed-by:
Jesse Natalie <jenatali@microsoft.com> Part-of: <mesa/mesa!12207>
-
Dave Airlie authored
Add the bool lowering as well. Reviewed-by:
Jesse Natalie <jenatali@microsoft.com> Part-of: <mesa/mesa!12207>
-
Dave Airlie authored
This adds support for SpvOpAtomicFlag operations. This is just a simple implementation that lowers Clear to Store 0 and TestAndSet to Cas (0, -1) There are likely platforms/hw that will want to lower this all the way through NIR and into their backend, but this will do for now. Reviewed-by:
Jesse Natalie <jenatali@microsoft.com> Part-of: <mesa/mesa!12229>
-
Dave Airlie authored
fixes a crash in the CTS spirv_new get_program_il test Reviewed-by:
Jesse Natalie <jenatali@microsoft.com> Part-of: <mesa/mesa!12230>
-
- 05 Aug, 2021 22 commits
-
-
Enrico Galli authored
Reviewed-by:
Jesse Natalie <jenatali@microsoft.com> Part-of: <mesa/mesa!12228>
-
Enrico Galli authored
Reviewed-by:
Jesse Natalie <jenatali@microsoft.com> Part-of: <mesa/mesa!12228>
-
Emma Anholt authored
Previously, most piglit GL manual runs on a5xx would get a bunch of failures in random tests around the same time in the run, with a characteristic OUT_OF_MEMORY in the logs. With this, that instability seems to have gone away. Part-of: <mesa/mesa!12224>
-
Michael Tang authored
Reviewed-by:
Jesse Natalie <jenatali@microsoft.com> Part-of: <mesa/mesa!12227>
-
Lionel Landwerlin authored
Signed-off-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Cc: mesa-stable Closes: mesa/mesa#5180 Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> Part-of: <mesa/mesa!12217>
-
Erik Faye-Lund authored
These were fixed already in !10219, but a bad conflict resolution added them back again. And because the CI doesn't actually end up running these tests, this went unnoticed. Fixes: dfccbdff ("ci: update to VK-GL-CTS 1.2.7.0") Reviewed-by:
Emma Anholt <emma@anholt.net> Part-of: <mesa/mesa!12220>
-
Erik Faye-Lund authored
lp_build_log2 isn't robust enough to handle special cases for pow, so let's use lp_build_log2_safe instead. Reviewed-by:
Roland Scheidegger <sroland@vmware.com> Part-of: <mesa/mesa!11800>
-
Connor Abbott authored
This is supposed to be set when that stage needs the PrimID sysval preloaded, except for the VS which doesn't have this bit and instead infers it from the HS or GS bit (depending on whether tess/GS is enabled). Therefore for HS, GS, and DS we should set it whenever the corresponding sysval is there. This includes adding a missing PC_HS_OUT_CNTL, which I confirmed is set when the HS reads PrimID from the VS. Note that the DS sysval is currently always enabled whenever there's a GS, if we were to fix that then we should also change the logic here. This doesn't fix anything that I know of, but aligns us more with what the blob does. Part-of: <mesa/mesa!12166>
-
Connor Abbott authored
The previous handling conflated RelPatchID and PrimID, which would result in incorrect gl_PrimitiveID when doing draw splitting and didn't work with PrimID passthrough which fills the VPC slot with the "correct" PrimID value from the tess factor BO which we left 0. Replace PrimID in the tess lowering pass with a new RelPatchID sysval, and relace PrimID with RelPatchID in the VS input code in turnip/freedreno at the same time so that there is no net change in the tess lowering code. However, now we have to add new mechanisms for getting the user-level PrimID: - In the TCS it comes from the VS, just like gl_PrimitiveIDIn in the GS. This means we have to add another register to our VS->TCS ABI. I decided to put PrimID in r0.z, after the TCS header and RelPatchID, because it might not be read in the TCS. - If any stage after the TCS uses PrimID, the TCS stores it in the first dword of the tess factor BO, and it is read by the fixed-function tessellator and accessed in the TES via the newly-uncovered DSPRIMID field. If we have tess and GS, the TES passes this value through to the GS in the same way as the VS does. PrimID passthrough for reading it in the FS when there's tess but no GS also "just works" once we start storing it in the TCS. In particular this fixes dEQP-VK.pipeline.misc.primitive_id_from_tess which tests exactly that. Part-of: <mesa/mesa!12166>
-
Connor Abbott authored
DSPATCHID and HSPATCHID, which we mapped gl_PrimitiveID to, are actually relative to the current subdraw. Subdraws aren't supported yet by turnip but they are by freedreno for indirect draws. Part-of: <mesa/mesa!12166>
-
Danylo Piliaiev authored
If secondary command buffer is emitted within a subpass it may have barriers which forces us to disable gmem for current renderpass. Fixes: 20547a11 "tu: delay decision of forcing sysmem due to subpass self-dependencies" Signed-off-by:
Danylo Piliaiev <dpiliaiev@igalia.com> Part-of: <mesa/mesa!12219>
-
Michel Dänzer authored
It was added to make sure every pipeline for a merge request has at least one job which passes (otherwise it's not possible to merge the MR). Now the "sanity" job always exists in such pipelines, so this isn't needed anymore. Fixes: 4c41d190 "ci: Add jobs running ci-fairy checks" Reviewed-by:
Daniel Stone <daniels@collabora.com> Part-of: <mesa/mesa!12198>
-
Rhys Perry authored
Since copies for the successor's linear phis are inserted before the branch, we should consider the definitions and operands of the successor's linear phis. Fixes a Detroit: Become Human spilling failure with GCM+GVN. Signed-off-by:
Rhys Perry <pendingchaos02@gmail.com> Reviewed-by:
Daniel Schürmann <daniel@schuermann.dev> Part-of: <mesa/mesa!12035>
-
Juan A. Suárez authored
v1: - Include CTS fix comment (Juan) Reviewed-by:
Jose Maria Casanova Crespo <jmcasanova@igalia.com> Signed-off-by:
Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <mesa/mesa!12168>
-
Erik Faye-Lund authored
This doesn't seems to make a practical difference, but it seems better to do it the same way as we do for outputs, as well as what DXC does. Reviewed-by:
Jesse Natalie <jenatali@microsoft.com> Part-of: <mesa/mesa!12197>
-
Erik Faye-Lund authored
Rather surprisingly, the value stored in the NumVectors field of the DXIL PSV header isn't the number of vectors, but rather the *maximum* vector used. This makes a difference when we're not writing to the first element of an array, where we would previously generate a validation error. Reviewed-by:
Jesse Natalie <jenatali@microsoft.com> Part-of: <mesa/mesa!12197>
-
Antonio Caggiano authored
Use Piglit's replay profile to measure and store the time that frames take to render in the GPU. This job won't run automatically in regular pipelines, but will be triggered automatically by a script for every successful pre-merge pipeline. This is because we want to generate performance data for every relevant commit merged in main, but we don't want to keep a device busy during the pre-merge run. Signed-off-by:
Antonio Caggiano <antonio.caggiano@collabora.com> Signed-off-by:
Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-by:
Michel Dänzer <mdaenzer@redhat.com> Part-of: <mesa/mesa!12185>
-
Dave Airlie authored
We don't support these with clover yet, so turn them off to get clang back to the older llvm 12 behaviour. Reviewed-by:
Jesse Natalie <jenatali@microsoft.com> Reviewed-by:
Karol Herbst <kherbst@redhat.com> Acked-by:
Adam Jackson <ajax@redhat.com> Part-of: <mesa/mesa!11752>
-
Samuel Pitoiset authored
Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!12182>
-
Samuel Pitoiset authored
Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!12182>
-
Samuel Pitoiset authored
Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!12182>
-
Tomeu Vizoso authored
The previous one had all rendering and setup in a single frame, so repeatedly replaying it for performance tracking was reaching OOM due to the repeated creation of resources that weren't being released. Signed-off-by:
Tomeu Vizoso <tomeu.vizoso@collabora.com> Acked-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by:
Emma Anholt <emma@anholt.net> Part-of: <mesa/mesa!12195>
-
- 04 Aug, 2021 1 commit
-
-
Dylan Baker authored
Currently we'd only handle the last one, not all of them. Which is clearely not correct. Reviewed-by:
Eric Engestrom <eric@engestrom.ch> Part-of: <mesa/mesa!12201>
-