Iago Toral Quiroga
79f4e33f04
v3dv: don't leak variant QPU when pipeline compile fails
...
Typically we free them when we upload the QPU code from the variant
to the assembly BO in the pipeline, however, if there is an error
during pipeline compilation that may not happen and we would leak
the QPU code from the variants.
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16370 >
2022-05-09 12:12:35 +00:00
Iago Toral Quiroga
fd02ddc81b
v3dv: expose VK_KHR_pipeline_executable_properties
...
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16370 >
2022-05-09 12:12:35 +00:00
Iago Toral Quiroga
43392c2ea0
v3dv: implement vkGetPipelineExecutableStatisticsKHR
...
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16370 >
2022-05-09 12:12:35 +00:00
Iago Toral Quiroga
487c213142
v3d/compiler: add more stats to prog_data
...
So we can expose them via VK_KHR_pipeline_executable_properties.
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16370 >
2022-05-09 12:12:35 +00:00
Iago Toral Quiroga
dc48313d70
v3dv: implement vkGetPipelineExecutablePropertiesKHR
...
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16370 >
2022-05-09 12:12:35 +00:00
Iago Toral Quiroga
89eb0ac23d
v3dv: implement vkGetPipelineExecutableInternalRepresentationsKHR
...
We can output the final NIR form (which we store in the pipeline
stage) and the final QPU (which we can retrive from the assembly BO).
We should be careful not to fetch the shaders from the cache when
VK_PIPELINE_CREATE_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR is present,
since we don't store NIR shader in the pipeline shader data that is
cached, so a cache hit would leave us without the NIR shader. The spec
already contemplates this scenario:
"Enabling this flag must not affect the final compiled pipeline but
may disable pipeline caching or otherwise affect pipeline creation
time."
We also prevent disposing of the pipeline stages the variants when this
flag is requested to ensure this information is available later when
calling vkGetPipelineExecutableInternalRepresentationsKHR.
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16370 >
2022-05-09 12:12:35 +00:00
Iago Toral Quiroga
c881e718d4
v3dv: expose separateDepthStencilLayouts
...
This is actually required by Vulkan 1.2 and to expose the extension,
so let's conform to this requirement, we don't really care since
image layouts are not relevant to our current implementation.
Fixes: 1442d77bc5 ('v3dv: trivially implement VK_KHR_separate_depth_stencil_layouts')
Fixes: dEQP-VK.info.device_mandatory_features
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16398 >
2022-05-09 13:43:35 +02:00
Boris Brezillon
718070f0e7
vulkan/wsi: Make wsi_win32_surface_get_capabilities() return the current extent
...
We can get that information with GetClientRect(), and some applications
complain when the window size doesn't match the currentExtent values.
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16394 >
2022-05-09 09:31:53 +00:00
Lionel Landwerlin
35d82ecf1e
nir/lower_shader_calls: put inserted instructions into a dummy block
...
When moving code into the main block or loop blocks, put the code into
its own :
if(true) { ... }
block so that we avoid break/continue/return issues.
v2: Also take care of the main block with return instructions
v3: Make deletion more obvious with dummy if blocks (Jason)
v4: Fixup assert for loops (Lionel)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Fixes: 8dfb240b1f ("nir: Add raytracing shader call lowering pass.")
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16036 >
2022-05-09 08:43:40 +00:00
Lionel Landwerlin
9cf986dcff
nir/lower_shader_calls: don't insert code after break/continue
...
When moving code from below to the insertion cursor point, if the
cursor points to a jump instruction, don't bother inserting the code.
It would break the break/continue assumptions of NIR and would not be
executed anyway.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Fixes: 8dfb240b1f ("nir: Add raytracing shader call lowering pass.")
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16036 >
2022-05-09 08:43:40 +00:00
Lionel Landwerlin
51dea59eb4
nir/lower_shader_calls: don't use nop instructions as cursors
...
Stop using nop instructions which are causing issues with
break/continue, instead use a nir_cursor (which brings its share of
pain).
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Fixes: 8dfb240b1f ("nir: Add raytracing shader call lowering pass.")
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16036 >
2022-05-09 08:43:40 +00:00
Jason Ekstrand
25661ea028
nir/cf: Return a cursor from nir_cf_extract as well
...
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16036 >
2022-05-09 08:43:40 +00:00
Lionel Landwerlin
d65cf403f3
nir/cf: return cursor after insertion of cf_list
...
This will be useful to cut code from one location and paste it at
another place and later keep pasting after the previous insertions.
v2: update comment (Jason)
deal with stiching 2 empty blocks (Jason)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16036 >
2022-05-09 08:43:40 +00:00
Manas Chaudhary
7fb9fdd86c
panvk: Allow PAN_BO_INVISIBLE to be mapped with dump flag
...
Signed-off-by: Manas Chaudhary <manas.chaudhary@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16072 >
2022-05-09 08:17:10 +00:00
Manas Chaudhary
9ac5adc0bc
panvk: Add PANVK_DEBUG_DUMP dump mappings
...
Signed-off-by: Manas Chaudhary <manas.chaudhary@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16072 >
2022-05-09 08:17:10 +00:00
Danylo Piliaiev
db69218cbe
tu: Implement VK_EXT_image_view_min_lod
...
Relevant tests:
dEQP-VK.texture.mipmap.*.image_view_min_lod.*
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16292 >
2022-05-09 07:53:41 +00:00
Dave Airlie
2037c34f24
gallivm: move to new pass manager to handle coroutines change.
...
LLVM 15 ripped out the legacy coroutine passes. This means moving
to the new pass manager is the best option to move forward and is
long overdue.
I've tried to recreate the same set of passes in the new pass mgr
as the old, but I expect some tweaking may be needed to confirm this.
Acked-by: Kai Wasserbäch <kai@dev.carbon-project.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16289 >
2022-05-09 07:29:22 +00:00
Juan A. Suarez Romero
6386144270
v3d: allow TFU blitting for single layer textures
...
TFU just handles 2D textures.
But for 2D array textures, cubemaps and 3D textures, if only one layer needs
to be blitted, then it is like a simple 2D texture, and thus we can also
use the TFU.
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com >
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16372 >
2022-05-09 07:08:11 +00:00
David Heidelberg
7ea2e86a8b
ci: traces: virgl: reenable previously crashing Godot trace
...
Visually verified, screenshot does look correctly.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16335 >
2022-05-09 06:44:43 +00:00
Emma Anholt
d2ab0ed31e
svga: Set lower_bitops for vpu9 screen.
...
Since these don't have native integers, nir_lower_io generating ishls
instead of amuls for uniform addressing math runs afoul of
nir_lower_int_to_float.
Reviewed-by: Charmaine Lee <charmainel@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16339 >
2022-05-08 20:52:01 +00:00
Thomas Debesse
06e9607478
gallium/clover: pass -no-opaque-pointers to Clang
...
Clang opaque pointers have been enabled by default
but the Clover code currently expects them to be disabled.
Signed-off-by: Thomas Debesse <dev@illwieckz.net >
Reviewed-by: Francisco Jerez <currojerez@riseup.net >
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6342
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16129 >
2022-05-08 20:15:10 +00:00
Bas Nieuwenhuizen
a7f44b6269
vulkan/wsi/x11: Ensure we have the required number of images for acquire.
...
For games that needs >1 at the same time the existing check wasn't enough.
Cc: mesa-stable
Reviewed-by: Hans-Kristian Arntzen <post@arntzen-software.no >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15132 >
2022-05-08 16:27:42 +02:00
Georg Lehmann
24049b8771
wsi/x11: Don't leak xcb_get_geometry_reply_t.
...
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6443
Fixes: 44a20baeb8 ("wsi/x11: Avoid using xcb_wait_for_special_event in FIFO modes")
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com >
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16384 >
2022-05-08 12:39:05 +00:00
Georg Lehmann
56070d3322
radeonsi: Use nir_fold_16bit_image_load_store_conversions.
...
Remove conversions using d16 image_load/image_store.
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16319 >
2022-05-08 00:00:41 +00:00
Icecream95
ad864a7c15
nir/lower_tex: Copy more fields in lower_tex_to_txd and friends
...
Fixes NIR validation errors for OpenMW on Panfrost.
Fixes: 1f97819fbe ("panfrost: Emulate GL_CLAMP on Bifrost")
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15939 >
2022-05-07 10:51:10 +00:00
Yiwei Zhang
81515f6b3c
venus: extend buffer cache to cover layering usage
...
Layering clients, e.g. angle and zink, use wide sets of buffer usage
flags because they don't know what a resource will be used for in the
majority cases, which is on the other hand making it easier for layering
to optimize resource management.
This change adds a super-set usage to the buffer cache entries, that
will mostly ensure no cache-miss for non-sparsed buffer usages. Since
that involves usage bits from extensions, we'll mask out those disabled
ones upon querying but will use the static cache create info for
checking cache hit for code simplicity.
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org >
Reviewed-by: Ryan Neph <ryanneph@google.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16379 >
2022-05-07 05:26:44 +00:00
Thomas Debesse
6983c8580a
gallium/clover: LLVM setLangDefaults moved from clangFrontend to clangBasic
...
Signed-off-by: Thomas Debesse <dev@illwieckz.net >
Reviewed-by: Kai Wasserbäch <kai@dev.carbon-project.org >
Reviewed-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16002 >
2022-04-18 04:21:02 +02:00
Chia-I Wu
b2b810ebff
anv: advertise rectangularLines only for Gen10+
...
We use the non-strict algorithm (with parallelograms) prior to Gen10 for
wide lines. We can not advertise rectangularLines.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Fixes: f6e7de41d7 ("anv: Implement VK_EXT_line_rasterization")
Reviewed-by: Ivan Briano <ivan.briano@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15432 >
2022-05-06 18:22:19 +00:00
Mike Blumenkrantz
ef8c5a20ee
llvmpipe: never infer early zs tests when fbfetch is active
...
this breaks zs fbfetch
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16346 >
2022-05-06 17:04:34 +00:00
Mike Blumenkrantz
5c24eb721a
nir/gather_info: flag fbfetch on subpass image loads
...
might not be able to determine which output is being read, but these
are definitely fbfetch uses (from lavapipe)
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16346 >
2022-05-06 17:04:34 +00:00
Rhys Perry
359e60cf5e
aco: split load_sbt_amd result
...
fossil-db (Sienna Cichlid):
Totals from 11 (0.01% of 162293) affected shaders:
Instrs: 47857 -> 47738 (-0.25%)
CodeSize: 261556 -> 261080 (-0.18%)
Latency: 1176822 -> 1176245 (-0.05%)
InvThroughput: 784549 -> 784165 (-0.05%)
Copies: 5959 -> 5840 (-2.00%)
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16203 >
2022-05-06 15:15:13 +00:00
Rhys Perry
594fa05722
radv: use SMEM for a few load_global
...
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com >
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16203 >
2022-05-06 15:15:13 +00:00
Rhys Perry
21c1a35d88
radv: remove subtractions in address calculations
...
Additions by positive integers can more easily be combined into the
access.
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16203 >
2022-05-06 15:15:13 +00:00
Rhys Perry
3098046400
radv: allow LBVH on GFX6+
...
Use integer atomics on GFX8/9.
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16203 >
2022-05-06 15:15:13 +00:00
Rhys Perry
28a87dee60
radv: add radv_has_shader_buffer_float_minmax
...
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16203 >
2022-05-06 15:15:13 +00:00
Daniel Schürmann
d70688492c
aco/optimizer: re-combine and copy-propagate p_create_vector(p_split_vector)
...
Totals from 309 (0.23% of 134913) affected shaders: (GFX10.3)
CodeSize: 1853812 -> 1857732 (+0.21%); split: -0.05%, +0.27%
Instrs: 340810 -> 341789 (+0.29%); split: -0.07%, +0.36%
Latency: 3301814 -> 3301774 (-0.00%); split: -0.02%, +0.02%
InvThroughput: 590473 -> 590914 (+0.07%); split: -0.00%, +0.08%
Copies: 28751 -> 29731 (+3.41%); split: -0.87%, +4.28%
PreSGPRs: 14010 -> 14028 (+0.13%); split: -0.01%, +0.14%
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15414 >
2022-05-06 14:52:07 +00:00
Daniel Schürmann
5e6e47ecea
aco/ra: improve split_vector register assignment if the operand is not killed
...
This allows for more coalescing when lowering the copies.
Totals from 44801 (33.21% of 134913) affected shaders: (GFX10.3)
VGPRs: 1513264 -> 1513248 (-0.00%)
CodeSize: 113354240 -> 113172872 (-0.16%); split: -0.16%, +0.00%
Instrs: 21648793 -> 21603397 (-0.21%); split: -0.21%, +0.00%
Latency: 95762290 -> 95757403 (-0.01%); split: -0.01%, +0.00%
InvThroughput: 15427354 -> 15427341 (-0.00%); split: -0.00%, +0.00%
Copies: 2065330 -> 2019933 (-2.20%); split: -2.20%, +0.00%
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15414 >
2022-05-06 14:52:07 +00:00
Daniel Schürmann
499dc20e6a
aco: don't re-create vectors for load_barycentric_* intrinsics
...
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15414 >
2022-05-06 14:52:07 +00:00
Mike Blumenkrantz
0607c27fd1
zink: restore conditional ordering for query begin/end
...
this is the case which (also) handles query[0] for primgen queries,
so it can't be an else case
Fixes: a9451f2599 ("zink: use VK_EXT_primitives_generated_query when available")
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16345 >
2022-05-06 14:40:46 +00:00
Mike Blumenkrantz
d74cd2a34b
radv: emit fewer framebuffer registers
...
only the changed cbuf index registers need to be updated, not all of them
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11299 >
2022-05-06 14:04:30 +00:00
Mike Blumenkrantz
38ab178c4a
util/blitter: fix sampler restore with 0 saved samplers
...
in a sequence where a driver saves 0 sampler/views before calling
u_blitter, the previous state of having 0 sampler/views bound would
not be restored as expected, resulting in stale sampler/views which
could affect behavior before new sampler/views were bound
cc: mesa-stable
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16178 >
2022-05-06 12:39:14 +00:00
Lionel Landwerlin
969512d696
intel: fix stall debug option
...
Missing the parsing bit.
Fixes: 317512e038 ("anv/intel: add a new debug flag for stalling after every draw/dispatch")
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16338 >
2022-05-06 08:27:47 +00:00
Marek Olšák
cfec9a55ea
frontend/dri: allow swapped BGR->RGB channel order for MSAA color buffers
...
This only applies to MSAA visuals. The MSAA channel order doesn't have to
match the visual, but some drivers don't support MSAA with BGR.
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16327 >
2022-05-06 00:26:26 +00:00
Marek Olšák
89c94502b6
mesa: consider the sample count when choosing a texture format
...
The set of supported MSAA formats can be smaller than the set of supported
non-MSAA formats.
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16326 >
2022-05-05 19:46:17 -04:00
Emma Anholt
dd3179aff0
glsl: Remove unused lower_variable_index_to_cond_assign.
...
It's been replaced by nir_lower_indirect_derefs().
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8044 >
2022-05-05 22:25:03 +00:00
Emma Anholt
2529690ee3
glsl: Remove EmitNoLoops and the associated lower_jumps(lower_break=true) code.
...
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8044 >
2022-05-05 22:25:03 +00:00
Emma Anholt
c03cc83ef1
compiler/glsl: Remove the dead parts of build_program_resource_list().
...
These have all moved to NIR linking.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8044 >
2022-05-05 22:25:03 +00:00
Emma Anholt
74056f6358
mesa/st: Clean up a bit of st_prepare_vertex_program().
...
Now that the input attrib mapping is gone, this is simpler.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8044 >
2022-05-05 22:25:03 +00:00
Emma Anholt
3a42e92a4f
glsl: Drop the dead MOD_TO_FLOOR path.
...
It's now called lower_fmod in NIR.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8044 >
2022-05-05 22:25:03 +00:00
Emma Anholt
7f13763690
glsl: Remove the unused lower_if_to_cond_assign.
...
Now that everything goes through NIR, nir_opt_peephole_select has replaced
it.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8044 >
2022-05-05 22:25:03 +00:00