Michel Dänzer
a140ea1ced
llvmpipe: Bump test timeout to 180 seconds
...
120 still wasn't always enough for the s390x cross-build job, see e.g.
https://gitlab.freedesktop.org/mesa/mesa/-/jobs/1551685
Reviewed-by: Daniel Stone <daniels@collabora.com >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3715 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3715 >
2020-02-06 09:41:28 +00:00
Vinson Lee
deb2bbf57e
swr: Fix GCC 4.9 checks.
...
Fixes: f0a22956be ("swr/rast: _mm*_undefined_* implementations for gcc<4.9")
Fixes: e21fc2c625 ("swr/rast: non-regex knob fallback code for gcc < 4.9")
Signed-off-by: Vinson Lee <vlee@freedesktop.org >
Reviewed-by: Jan Zielinski <jan.zielinski@intel.com >
2020-02-05 19:39:13 -08:00
James Xiong
205ce0bea5
gallium: let the pipe drivers decide the supported modifiers
...
fixes: ac0219cc5b ("gallium: dmabuf support for yuv formats that are not natively supported")
Signed-off-by: James Xiong <james.xiong@intel.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3527 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3527 >
2020-02-06 00:43:58 +00:00
James Xiong
d8569baaed
iris: handle the failure of converting unsupported yuv formats to isl
...
Signed-off-by: James Xiong <james.xiong@intel.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3527 >
2020-02-06 00:43:58 +00:00
Eric Anholt
a77c3d5eed
nouveau: Reuse tgsi_get_gl_varying_semantic().
...
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com >
Reviewed-by: Karol Herbst <kherbst@redhat.com >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3506 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3506 >
2020-02-05 22:26:00 +00:00
Eric Anholt
f4f769c851
nouveau: reuse tgsi_get_gl_frag_result_semantic().
...
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com >
Reviewed-by: Karol Herbst <kherbst@redhat.com >
Tested-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3506 >
2020-02-05 22:25:59 +00:00
Eric Anholt
f9358f6f76
nouveau: Reuse tgsi_get_sysval_semantic().
...
It's now in a place accessible from the nouveau driver.
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com >
Reviewed-by: Karol Herbst <kherbst@redhat.com >
Tested-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3506 >
2020-02-05 22:25:59 +00:00
Eric Anholt
e25967d6b8
mesa/st: Move the SYSTEM_VALUE -> TGSI_SEMANTIC map to tgsi_from_mesa.
...
This will let us reuse the table from nir-to-tgsi.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com >
Reviewed-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3506 >
2020-02-05 22:25:59 +00:00
Kristian H. Kristensen
9891062642
freedreno/a6xx: Implement layout for DRM_FORMAT_MOD_QCOM_COMPRESSED
...
This brings back fd6_fill_ubwc_buffer_sizes() to implement
layout_resource_for_modifier for DRM_FORMAT_MOD_QCOM_COMPRESSED.
Fixes: ecd62ff766 "freedreno: Allow UBWC on textures with multiple mipmap levels."
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3704 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3704 >
2020-02-05 20:53:32 +00:00
Kristian H. Kristensen
d233c8c914
freedreno: Add layout_resource_for_modifier screen vfunc
...
This function is responsible for completing the layout for an imported
resource with the given modifier. Returns 0 on success or -1 If the
modifier is unsupported, invalid or the input parameters are not
compatible with the modifier.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3704 >
2020-02-05 20:53:32 +00:00
Kristian H. Kristensen
af6fb4f0a9
freedreno: Set up supported modifiers in fd*_resource_screen_init()
...
Keep the modifier logic together.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3704 >
2020-02-05 20:53:32 +00:00
Kristian H. Kristensen
d0a7c8f4a8
freedreno/a6xx: Add fd6_resource_screen_init()
...
We'll move a few things here in the next commits.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3704 >
2020-02-05 20:53:32 +00:00
Eric Anholt
8d07d66180
glsl,nir: Switch the enum representing shader image formats to PIPE_FORMAT.
...
This means you can directly use format utils on it without having to have
your own GL enum to number-of-components switch statement (or whatever) in
your vulkan backend.
Thanks to imirkin for fixing up the nouveau driver (and a couple of core
details).
This fixes the computed qualifiers for EXT_shader_image_load_store's
non-integer sizeNxM qualifiers, which we don't have tests for.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com > (v3d)
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3355 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3355 >
2020-02-05 10:31:14 -08:00
Eric Anholt
5bea0cf779
intel/isl: Move iris's pipe-to-isl format function to isl.
...
This will get reused in the shader compiler once we switch it over to pipe
formats instead of GL enums. We can't easily deduplicate i965's
mesa-to-isl mapping because of cases like A32_FLOAT that are mapped
differently.
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3355 >
2020-02-05 10:31:09 -08:00
Jan Zielinski
23c137612b
gallium/swr: Fix various asserts and security issues
...
To improve the robustness of the code, we want to better
detect issues in testing (using asserts) and use more
secure techniques.
Reviewed-by: Krzysztof Raszkowski <krzysztof.raszkowski@intel.com >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3710 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3710 >
2020-02-05 16:08:44 +00:00
Boris Brezillon
38c20696a5
panfrost: Set the MALI_WRITES_{Z,S} flags when needed
...
In order to make Z/S writes from fragment shaders effective, we need
to set the MALI_WRITES_{Z,S} flags when the shader has a
FRAG_RESULT_{DEPTH,STENCIL} output variable.
Now that shaders can change the S value, we can expose the
STENCIL_EXPORT cap.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3697 >
2020-02-05 15:41:55 +00:00
Boris Brezillon
8ed94d38b4
panfrost: Add the MALI_WRITES_{Z,S} flags
...
We discovered 2 new shader flags used when a fragment shader updates
the depth/stencil value through a ZS writeout. If those flags are not
set, the depth/stencil value stored in the depth/stencil tilebuffer
remain unchanged.
While at it, rename unknown2 into flags_hi and rename flags into
flags_lo.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3697 >
2020-02-05 15:41:55 +00:00
Boris Brezillon
0406ea4856
panfrost: Z24 variants should be sampled as R32UI
...
Midgard has no dedicated samplers for Z24S8 and Z24X8 formats, and the
GPU expects the depth to be encoded in an IEEE 32-bit float. Turn all
Z24_UNORM variants into R32UI and let the shader do the conversion
using bfe+fmul instructions.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3697 >
2020-02-05 15:41:55 +00:00
Connor Abbott
ed5d1c1c47
freedreno: Add CP_REG_WRITE documentation
...
Document the first DWORD, which at least for the Vulkan blob on a640
isn't always 2.
Reviewed-by: Kristian H. Kristensen <hoegsberg@gmail.com >
Reviewed-by: Rob Clark <robdclark@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3600 >
2020-02-05 13:14:22 +00:00
Michel Dänzer
65610ec774
gitlab-ci: Add ppc64el and s390x cross-build jobs
...
Using LLVM 8 for ppc64el and 7 for s390x (which hits some coroutine
related issues with LLVM 8).
There are some test failures we need to ignore for now. Also, the
timeout needs to be bumped from the default 30s for some tests, because
they can take longer under emulation.
Reviewed-by: Adam Jackson <ajax@redhat.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3643 >
2020-02-05 10:52:31 +00:00
Pierre-Eric Pelloux-Prayer
3da91b3327
radeonsi/ngg: add VGT_FLUSH when enabling fast launch
...
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2418
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2426
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2434
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3675 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3675 >
2020-02-05 10:27:54 +00:00
Lionel Landwerlin
19e7bcee17
iris: implement gen12 post sync pipe control workaround
...
Like Skylake, Gen12 requires a workaround for PIPE_CONTROLs using a
post-sync operation.
v2: Restrict to A0
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3405 >
2020-02-05 00:25:48 +00:00
Rob Clark
2c07e03b79
freedreno: allow ctx->batch to be NULL
...
This was mostly true already, now that we use `fd_context_batch()` for
first access to batch in draw/clear/grid paths. So we can drop the old
code in `batch_flush()` that tried to prevent `ctx->batch` from being
NULL.
Fixes a crash with a large number of tabs in chromium.
Cc: "20.0" mesa-stable@lists.freedesktop.org
Signed-off-by: Rob Clark <robdclark@chromium.org >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3700 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3700 >
2020-02-04 23:59:33 +00:00
Eric Anholt
22d2cbe685
freedreno: Allow UBWC on textures with multiple mipmap levels.
...
This is a backport of Jonathan Marek's UBWC work on turnip to GL.
Performance highlights from our trace set (320 frames sampled)
traces/glmark2/texture-texture-filter=mipmap.rdc: +9.1% +/- 2.2%
traces/android/trex.rdc: +8.7% +/- 0.4%
traces/glmark2/desktop-effect=shadow:windows=4.rdc: +4.2% +/- 2.5%
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3059 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3059 >
2020-02-04 23:18:00 +00:00
Eric Anholt
ecd62ff766
freedreno: Disable UBWC on Z24S8 if not TEXTURE_2D.
...
Fixes two of our three remaining GLES CTS failures, and avoids more
regressions once we enable UBWC mipmaps.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3059 >
2020-02-04 23:18:00 +00:00
Eric Anholt
ddb0b35b76
freedreno: Blit all array levels when uncompressing UBWC.
...
Fixes regressions in GLES CTS's format_reintepret once we enable UBWC
with mipmaps.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3059 >
2020-02-04 23:18:00 +00:00
Eric Anholt
6b586d5a48
freedreno: Swap the whole resource layout in shadowing.
...
Let's not have to worry about whether this unusual code path gets
updated whenever we adjust what is in the layout struct.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3059 >
2020-02-04 23:18:00 +00:00
Eric Anholt
f9f5d3eb55
freedreno/a6xx: Disable the core layer-size setup.
...
This was getting in the way of UBWC mipmap handling.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3059 >
2020-02-04 23:18:00 +00:00
Eric Anholt
17312b4a10
freedreno: Rename the UBWC layer size field and store it as bytes.
...
This makes the field description match its usage in the code, matches tu's
usage of the field, and avoids storing values in surprising units.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3059 >
2020-02-04 23:18:00 +00:00
Eric Anholt
20357dfde8
freedreno: Move the layout debug under FD_MESA_DEBUG=layout.
...
I keep wanting to turn this on while debugging layout stuff, and I
suspect krh and robclark could use it too.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3059 >
2020-02-04 23:18:00 +00:00
Eric Anholt
1d367c3aa5
gallium: Refactor some single-pixel util_format_read/writes.
...
We can use the new row helpers to cut down on the noise.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2744 >
2020-02-04 19:02:59 +00:00
Eric Anholt
ab081970e0
gallium: Add and use a helper for packing uc from a color_union.
...
The same pattern kept coming up, and we don't need to hit
util_format_write_4* to do it when we have util_format_pack_rgba().
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2744 >
2020-02-04 19:02:59 +00:00
Eric Anholt
b2a2cf492d
softpipe: Refactor pipe_get/put_tile_rgba_* paths.
...
We always want the same behavior of choosing which unpack to do to
generate our 4x32-bit RGBA values, so just sink that choice down below
the pipe_get/put_tile API.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2744 >
2020-02-04 19:02:59 +00:00
Eric Anholt
8bc56551da
softpipe: Drop the raw_to* part of the tile cache interface.
...
Nothing else uses it, so make it static.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2744 >
2020-02-04 19:02:59 +00:00
Eric Anholt
6cdf523f00
gallium/util: Remove pipe_get_tile_z/put_tile_z.
...
The previous caller wasn't using it as tiled, just row-at-a-time, and
didn't want the clipping (since copytexsubimage comes in clipped). If
someone wanted these functions again in the future, they should be
rewritten on u_format_pack/unpack.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2744 >
2020-02-04 19:02:59 +00:00
Eric Anholt
c574cda3c6
util: Make helper functions for pack/unpacking pixel rows.
...
Almost all users of the unpack functions don't have strides to plug in
(and many are only doing one pixel!), and this will help simplify
them.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2744 >
2020-02-04 19:02:59 +00:00
Karol Herbst
333c9d5bb0
clover: add trivial clCreateCommandQueueWithProperties implementation
...
It's not adding 2.0 features, but it's enough to run the 2.0 CTS on top of
clover and probably most CL applications using it.
We just fail if we hit unknown properties and that's probably good enough
until we implement the other bits properly.
Signed-off-by: Karol Herbst <kherbst@redhat.com >
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Pierre Moreau <dev@pmoreau.org >
Reviewed-by: Francisco Jerez <currojerez@riseup.net >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2370 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2370 >
2020-02-04 18:09:23 +00:00
Eric Anholt
b064697af1
gallium/osmesa: Try to fix the test for big-endian.
...
Our packed expected values will be byte-swapped for the (mostly) array
formats we're testing.
Reviewed-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3216 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3216 >
2020-02-04 17:48:08 +00:00
Eric Anholt
dd899fd43e
gallium/osmesa: Fill out other format tests.
...
Move expected values/bpp into the test params, add more formats now that
we've fixed context setup so that they work.
Reviewed-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3216 >
2020-02-04 17:48:08 +00:00
Eric Anholt
0a53918f02
gallium/osmesa: Fix MakeCurrent of non-8888 contexts.
...
OSMesa is weird and you only get the type (byte/ubyte/565/etc.) at
MakeCurrent time, having only a channel order at CreateContext time. The
code was setting up a visual at CreateContext time, and then at
MakeCurrent it would fail to validate against the visual.
Reviewed-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3216 >
2020-02-04 17:48:08 +00:00
Eric Anholt
655394c6ed
gallium/osmesa: Fix a typo in the unit test's test names.
...
Reviewed-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3216 >
2020-02-04 17:48:08 +00:00
Danylo Piliaiev
75c50d0342
osmesa/tests: Cover OSMESA_RGB GL_UNSIGNED_BYTE case
...
Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3216 >
2020-02-04 17:48:08 +00:00
Alyssa Rosenzweig
162927e43c
panfrost: Use size0 when calculating the offset to a depth level
...
Previously, we were using cubemap_stride and sometimes overwriting other
BOs such as shaders.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3692 >
2020-02-04 15:46:30 +01:00
Tomeu Vizoso
64541dd698
panfrost: Only clamp the LOD to disable mipmapping when needed
...
Otherwise, we may be incrementing max_lod over the limit, causing a
DATA_INVALID_FAULT.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3692 >
2020-02-04 15:46:26 +01:00
Marek Vasut
c32bd325e7
etnaviv: Destroy rsc->pending_ctx set in etna_resource_destroy()
...
Destroy rsc->pending_ctx set in etna_resource_destroy(), otherwise
the memory is allocated, never free'd, and becomes unreachable. This
fixes a memory leak.
Fixes: 9e672e4d20 ("etnaviv: keep references to pending resources")
Cc: <mesa-stable@lists.freedesktop.org >
Signed-off-by: Marek Vasut <marex@denx.de >
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3633 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3633 >
2020-02-04 06:27:19 +00:00
Jan Vesely
0ccda2ebff
clover: Use explicit conversion from llvm::StringRef to std::string
...
Fixes build after llvm 777180a32b61070a10dd330b4f038bf24e916af1
("[ADT] Make StringRef's std::string conversion operator explicit")
CC: <mesa-stable@lists.freedesktop.org >
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu >
Reviewed-by: Francisco Jerez <currojerez@riseup.net >
2020-02-03 21:25:59 +00:00
Erik Faye-Lund
5d83314945
zink: disallow depth-stencil blits with format-change
...
The Vulkan spec says this about vkCmdBlitImage:
"No format conversion is supported between depth/stencil images. The
formats must match."
So yeah, let's stop trying to do this.
Reviewed-by: Dave Airlie <airlied@redhat.com >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3681 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3681 >
2020-02-03 21:42:52 +01:00
Erik Faye-Lund
85d4b41f68
zink: be more careful about the mask-check
...
We currently disallow blits that we can support. Let's be more accurate
when checking the mask.
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3681 >
2020-02-03 21:42:49 +01:00
Boris Brezillon
b550b7ef3b
panfrost: Fix the damage box clamping logic
...
When the rendering are is not covering the whole FBO, and the biggest
damage rect is empty, we can have damage.max{x,y} > damage.min{x,y},
which leads to invalid reload boxes.
Fixes: 65ae86b854 ("panfrost: Add support for KHR_partial_update()")
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3676 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3676 >
2020-02-03 12:53:47 +00:00
Ilia Mirkin
a4e6270541
nv50: report max lod bias of 15.0
...
The blob returns 15, the state creation code clamps it to 15, but since
the dawn of time we've returned 4.0. Setting this to 15 also fixes
GTF-GL33.gtf21.GL3Tests.texture_lod_bias.texture_lod_bias_clamp_m_le_M
which is sensitive to these limits.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu >
2020-02-02 22:01:18 -05:00