- Aug 06, 2020
-
-
Dylan Baker authored
-
Faith Ekstrand authored
We advertised the extension string but never the feature bit. Doh! Fixes: c57338b9 "anv: Enable SPV_INTEL_shader_integer_functions2..." Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Part-of: <mesa/mesa!6033>
-
Icenowy Zheng authored
When nothing is going to be flushed, the kernel will get no job that signals the syncobj. Signal it by ourselves, otherwise it will never get signaled. Closes: #3371 Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Cc: mesa-stable Part-of: <!6190>
-
Bas Nieuwenhuizen authored
Fixes: c67ef769 "radv: Use ac_surface to allocate aux surfaces." Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <!6194>
-
Jose Fonseca authored
This implied upgrading to the Visual Studio 2019 image, not for VS itself, but for the newer Python 3.8.5 version it contains, to avoid UnicodeDecodeError inside modulefinder module when attempting to decode our UTF-8 encoded Python scripts with cp1252 encoding. Part-of: <mesa/mesa!6184>
-
Jose Fonseca authored
To avoid all those warnings. Part-of: <mesa/mesa!6184>
-
Vinson Lee authored
Fixes: 848e7b94 ("util: Move stack debug functions to src/util") Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com> Part-of: <!6199>
-
- Aug 05, 2020
-
-
Emma Anholt authored
These are just empirical alignment numbers from looking at dEQP traces of the blob driver (a330, a418, a540, a618, a630), with one exception noted in the comments. Part-of: <!5990>
-
Emma Anholt authored
Avoids tripping the assert in the next commit -- the blob never uses num_unit % 4 != 0 for indirect const uploads. Part-of: <mesa/mesa!5990>
-
Emma Anholt authored
We were calculating it with the gpu_id check in two places, do it once and use ir3_compiler for the gpu_id dependency. Part-of: <mesa/mesa!5990>
-
Emma Anholt authored
They're almost entirely split by whether you're uploading user buffer or from a BO. While I'm rewriting the API, drop the emit_const -> fdN_emit_const wrapper in favor of a #define before the header and a little helper for the asserts. Part-of: <mesa/mesa!5990>
-
Emma Anholt authored
I keep thinking it's the "upload from inside a BO" path when it's not. Part-of: <mesa/mesa!5990>
-
Emma Anholt authored
We usually had to split the idx/swiz out of the dword index anyway. Note that incidentally, immediates_size now increments in vec4s instad of 4*vec4s. Part-of: <mesa/mesa!5990>
-
Emma Anholt authored
I got tripped up again with the index vs count vs size fields and I'd rather we didn't store the redundant info. Settle on immediates_count as "how many dwords of immediates we have" Part-of: <mesa/mesa!5990>
-
Rob Clark authored
These are defined to explicitly take 32b values. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Rob Clark <robdclark@chromium.org> Part-of: <!6073>
-
Marek Olšák authored
Don't leave the precision as NONE for non-lowerable calls. Set it to HIGH if a function really returns highp. Reviewed-by: Rob Clark <robdclark@chromium.org> Part-of: <mesa/mesa!6073>
-
Marek Olšák authored
Desktop OpenGL ignores all precision qualifiers. Also, the lowering pass doesn't work if precision qualifiers are not set, which is only possible with desktop OpenGL, causing random behavior. Reviewed-by: Rob Clark <robdclark@chromium.org> Part-of: <mesa/mesa!6073>
-
Marek Olšák authored
Instead, convert all elements one by one. This fixes piglit shaders@glsl-bug-110796. Reviewed-by: Rob Clark <robdclark@chromium.org> Part-of: <mesa/mesa!6073>
-
Marek Olšák authored
Reviewed-by: Rob Clark <robdclark@chromium.org> Part-of: <mesa/mesa!6073>
-
Rob Clark authored
They have an empty fxn body, trying to handle them results in the intrinsic call being expanded into a no-op. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Rob Clark <robdclark@chromium.org> Part-of: <mesa/mesa!6073>
-
Marek Olšák authored
Reviewed-by: Rob Clark <robdclark@chromium.org> Part-of: <mesa/mesa!6073>
-
Marek Olšák authored
Reviewed-by: Rob Clark <robdclark@chromium.org> Part-of: <mesa/mesa!6073>
-
Eric Engestrom authored
Part-of: <mesa/mesa!6191>
-
Eric Engestrom authored
Part-of: <mesa/mesa!6191>
-
Rob Clark authored
Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <mesa/mesa!6189>
-
Rob Clark authored
All drivers that support mediump lowering should support 16BIT_TEMPS, but some do not also want 16b consts to be lowered. Replace the pipe cap in preperation to remove LowerPrecisionTemporaries. Note: also updates reference checksums for the arm64_a630_traces job, due to lowering more to 16b Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <mesa/mesa!6189>
-
Rob Clark authored
Some hw can narrow 32b const/uniform to 16b on load.. and in particular lowering constants to 16b would break const->uniform lowering. Allow them to lower temps to 16b, while skipping consts. Initially it is set to the same value as LowerPrecisionTemporaries, to preserve the current behavior. Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <mesa/mesa!6189>
-
Rob Clark authored
Somehow this works ok with the full compiler stack, but not in ir3_cmdline. Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <mesa/mesa!6189>
-
Rob Clark authored
1) convert to getopt, and drop most variant related options since they aren't super-useful these days.. and easy enough to add back if/when needed. (Also, none of the newer shader variant options where covered before.) 2) covert to dynamically allocated shader/variant, to get things working again after ir3_shader/_variant converted to ralloc 3) few small cleanups Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <mesa/mesa!6189>
-
Marek Olšák authored
Loosely based on RADV and mesa/mesa!5668 54793 shaders in 33659 tests Totals: SGPRS: 2739498 -> 2739474 (-0.00 %) VGPRS: 1534120 -> 1534256 (0.01 %) Spilled SGPRs: 2579 -> 2579 (0.00 %) Spilled VGPRs: 29 -> 29 (0.00 %) Private memory VGPRs: 2176 -> 256 (-88.24 %) Scratch size: 2220 -> 288 (-87.03 %) dwords per thread Code Size: 55572924 -> 55584592 (0.02 %) bytes LDS: 92 -> 92 (0.00 %) blocks Max Waves: 966044 -> 966021 (-0.00 %) Wait states: 0 -> 0 (0.00 %) Totals from affected shaders: SGPRS: 7272 -> 7248 (-0.33 %) VGPRS: 4848 -> 4984 (2.81 %) Spilled SGPRs: 0 -> 0 (0.00 %) Spilled VGPRs: 0 -> 0 (0.00 %) Private memory VGPRs: 2176 -> 256 (-88.24 %) Scratch size: 2188 -> 256 (-88.30 %) dwords per thread Code Size: 336332 -> 348000 (3.47 %) bytes LDS: 18 -> 18 (0.00 %) blocks Max Waves: 2659 -> 2636 (-0.86 %) Wait states: 0 -> 0 (0.00 %) | PERCENTAGE DELTAS | Shaders | SGPRs | VGPRs |SpillSGPR |SpillVGPR | PrivVGPR | Scratch | CodeSize | MaxWaves | Waits | |------------------------|----------|----------|----------|----------|----------|----------|----------|----------|----------|----------| | 0ad | 6| . | . | . | . | . | . | . | . | . | | alien_isolation | 2936| . | . | . | . | . | . | . | . | . | | anholt | 10| . | . | . | . | . | . | . | . | . | | antichamber | 180| . | . | . | . | . | . | . | . | . | | batman_arkham_origins | 589| . | . | . | . | . | . | . | . | . | | bioshock-infinite | 1769| . | . | . | . | . | . | . | . | . | | borderlands2 | 3968| . | . | . | . | . | . | . | . | . | | borderlands_presequel | 1326| . | . | . | . | . | . | . | . | . | | brutal-legend | 338| . | . | . | . | . | . | . | . | . | | chromeos | 86| . | . | . | . | . | . | . | . | . | | chromium | 2| . | . | . | . | . | . | . | . | . | | civilization_beyond.. | 116| . | . | . | . | . | . | . | . | . | | company_of_heroes2 | 240| . | . | . | . | . | . | . | . | . | | counter_strike_glob.. | 1142| . | . | . | . | . | . | . | . | . | | deadcore | 76| . | . | . | . | . | . | . | . | . | | deus_ex_mankind_div.. | 1410| . | . | . | . | . | . | . | . | . | | dirt-showdown | 533| . | . | . | . | . | . | . | . | . | | dirt_rally | 364| . | . | . | . | . | . | . | . | . | | divinity | 1052| . | . | . | . | . | . | . | . | . | | dolphin | 22| . | . | . | . | . | . | . | . | . | | dota2 | 1747| . | . | . | . | . | . | . | . | . | | europa_universalis_4 | 76| . | . | . | . | . | . | . | . | . | | f1-2015 | 775| 0.02 %| 0.12 %| . | . | -100.00 %| -100.00 %| 0.19 %| -0.04 %| . | | furmark-0.7.0 | 4| . | . | . | . | . | . | . | . | . | | gimark-0.7.0 | 10| . | . | . | . | . | . | . | . | . | | glamor | 16| . | . | . | . | . | . | . | . | . | | glmark | 96| . | . | . | . | . | . | . | . | . | | grid_autosport | 1767| -0.03 %| 0.17 %| . | . | -85.52 %| -84.44 %| 0.40 %| -0.03 %| . | | hitman | 1413| . | . | . | . | . | . | . | . | . | | humus-celshading | 4| . | . | . | . | . | . | . | . | . | | humus-domino | 6| . | . | . | . | . | . | . | . | . | | humus-dynamicbranching | 24| . | . | . | . | . | . | . | . | . | | humus-hdr | 10| . | . | . | . | . | . | . | . | . | | humus-portals | 2| . | . | . | . | . | . | . | . | . | | humus-volumetricfog.. | 6| . | . | . | . | . | . | . | . | . | | left_4_dead_2 | 1762| . | . | . | . | . | . | . | . | . | | legend_of_grimrock | 100| . | . | . | . | . | . | . | . | . | | life_is_strange | 1296| . | . | . | . | . | . | . | . | . | | mad_max | 358| . | . | . | . | . | . | . | . | . | | many-spheres | 6| . | . | . | . | . | . | . | . | . | | metro_2033_redux | 2670| . | 0.02 %| . | . | . | . | . | -0.02 %| . | | nexuiz | 80| . | . | . | . | . | . | . | . | . | | payday2 | 1362| . | . | . | . | . | . | . | . | . | | pixmark-julia-fp32 | 2| . | . | . | . | . | . | . | . | . | | pixmark-julia-fp64 | 2| . | . | . | . | . | . | . | . | . | | pixmark-piano-0.7.0 | 2| . | . | . | . | . | . | . | . | . | | pixmark-volplosion-.. | 2| . | . | . | . | . | . | . | . | . | | plot3d-0.7.0 | 8| . | . | . | . | . | . | . | . | . | | portal | 474| . | . | . | . | . | . | . | . | . | | reflections_subway | 98| . | . | . | . | . | . | 0.02 %| . | . | | rocket_league | 494| . | . | . | . | . | . | . | . | . | | saints_row_iv | 1704| . | . | . | . | . | . | . | . | . | | saints_row_the_third | 671| . | . | . | . | . | . | . | . | . | | sauerbraten | 7| . | . | . | . | . | . | . | . | . | | scifi_hallway | 98| . | . | . | . | . | . | . | . | . | | serious_sam_3_bfe | 392| . | . | . | . | . | . | . | . | . | | shadow_of_mordor | 1410| . | . | . | . | . | . | . | . | . | | shadow_warrior | 3956| . | . | . | . | . | . | . | . | . | | skia | 6094| . | . | . | . | . | . | . | . | . | | sun_temple | 109| . | . | . | . | . | . | 0.01 %| . | . | | supertuxkart | 4| . | . | . | . | . | . | . | . | . | | talos_principle | 324| . | . | . | . | . | . | . | . | . | | team_fortress_2 | 808| . | . | . | . | . | . | . | . | . | | tesseract | 430| . | . | . | . | . | . | . | . | . | | tessmark-0.7.0 | 6| . | . | . | . | . | . | . | . | . | | thea | 172| . | . | . | . | . | . | . | . | . | | tomb_raider | 1448| -0.02 %| . | . | . | . | . | . | . | . | | total_war_warhammer | 242| . | . | . | . | . | . | . | . | . | | ubershaders | 54| . | . | . | . | . | . | . | . | . | | ue4_effects_cave | 290| . | . | . | . | . | . | 0.02 %| . | . | | ue4_elemental | 561| . | . | . | . | . | . | 0.02 %| . | . | | ue4_lightroom_inter.. | 64| . | . | . | . | . | . | . | . | . | | ue4_realistic_rende.. | 86| . | . | . | . | . | . | . | . | . | | unigine_heaven | 322| . | . | . | . | . | . | . | . | . | | unigine_sanctuary | 264| . | . | . | . | . | . | . | . | . | | unigine_tropics | 210| . | . | . | . | . | . | . | . | . | | unigine_valley | 278| . | . | . | . | . | . | . | . | . | | unity | 72| . | . | . | . | . | . | . | . | . | | victor_vran | 1262| . | . | . | . | . | . | . | . | . | | warsow | 176| . | . | . | . | . | . | . | . | . | | warzone2100 | 4| . | . | . | . | . | . | . | . | . | | wasteland2 | 76| . | . | . | . | . | . | . | . | . | | wavelet-volume | 4| . | . | . | . | . | . | . | . | . | | witcher2 | 1040| . | . | . | . | . | . | . | . | . | | xcom_enemy_within | 1236| . | . | . | . | . | . | . | . | . | | yofrankie | 82| . | . | . | . | . | . | . | . | . | |------------------------|----------|----------|----------|----------|----------|----------|----------|----------|----------|----------| | All affected | 157| -0.33 %| 2.81 %| . | . | -88.24 %| -88.30 %| 3.47 %| -0.86 %| . | |------------------------|----------|----------|----------|----------|----------|----------|----------|----------|----------|----------| | Total | 54793| . | . | . | . | -88.24 %| -87.03 %| 0.02 %| . | . | Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <mesa/mesa!5750>
-
Marek Olšák authored
Based on mesa/mesa!5668 Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <mesa/mesa!5750>
-
Pierre-Eric Pelloux-Prayer authored
This is a followup of 19db1a54. This commit fixed KHR-GL45.texture_view.view_classes on gfx9 but the test still failed when using AMD_DEBUG=nodma or AMD_DEBUG=nodcc,nodma. The workaround is now used from si_resource_copy_region so it covers the previous call site (si_texture_transfer_map) and the sctx->dma_copy fallback code. Fixes: 19db1a54 ("radeonsi: add a workaround to fix KHR-GL45.texture_view.view_classes on gfx9") Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!6115>
-
Indrajit Kumar Das authored
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!6088>
-
Rob Clark authored
This allows us to avoid a no-op flush if there has been no rendering, but we hit pctx->flush(PIPE_FLUSH_FENCE_FD). Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <mesa/mesa!6177>
-
Marek Olšák authored
Fixes: 9680a754 "radeonsi/gfx9: enable SDMA buffer copying & clearing" Acked-by: Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!4895>
-
Kristian Høgsberg authored
This builds the EGL loader and the freedreno, intel and amd vulkan drivers. Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <mesa/mesa!6112>
-
Kristian Høgsberg authored
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <mesa/mesa!6112>
-
Kristian Høgsberg authored
Android looks for this symbol when loading HAL modules. Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <!6112>
-
Kristian Høgsberg authored
Reviewed-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <mesa/mesa!6112>
-
Kristian Høgsberg authored
Otherwise it doesn't compile. Reviewed-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: aba57b11 ("anv: support GetSwapchainGrallocUsage2ANDROID for Android") Part-of: <!6112>
-