Commit Graph

12 Commits

Author SHA1 Message Date
Tom Hochstein
d5850dd42c vulkan-utility-libraries: Add 1.3.275.0.imx downgrade
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2025-10-15 16:41:22 -05:00
Tom Hochstein
5717bf7412 glslang: Align with Vulkan downgrade 1.3.275.0.imx
The current glslang fails to compile.
```
| /.../SPIRV/SpvTools.cpp: In function 'spv_target_env glslang::MapToSpirvToolsEnv(const SpvVersion&, spv::SpvBuildLogger*)':
| /.../SPIRV/SpvTools.cpp:75:32: error: 'SPV_ENV_VULKAN_1_4' is not a member of 'spv_target_env'
|    75 |         return spv_target_env::SPV_ENV_VULKAN_1_4;
|       |                                ^~~~~~~~~~~~~~~~~~
| /.../SPIRV/SpvTools.cpp: In function 'void glslang::SpirvToolsValidate(const TIntermediate&, std::vector<unsigned int>&, spv::SpvBuildLogger*, bool)':
| /.../SPIRV/SpvTools.cpp:168:5: error: 'spvValidatorOptionsSetAllowOffsetTextureOperand' was not declared in this scope
|   168 |     spvValidatorOptionsSetAllowOffsetTextureOperand(options, intermediate.usingTextureOffsetNonConst());
|       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

Downgrade to 1.3.275.0 to align with the existing Vulkan downgrade.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2025-08-26 10:10:21 -05:00
Max Krummenacher
b747b01501 global: whinlatter updates for WORKDIR/UNPACKDIR and git fetch location
The series [1] changed the way sources are fetched/unpacked and
S needs to follow that. Additionally for git repos it moved away from
having 'git/' as the checkout directory.

This has been partly tested by building weston based image for
imx6/imx6ull/imx7/imx8/imx8mm/imx8mp/imx95 based images.
E.g. none of the recipes specific for qoriq is built time tested.

As walnascar is no longer compatible with master/whinlatter drop
it from LAYERSERIES_COMPAT.

[1] https://lore.kernel.org/openembedded-core/20250616095000.2918921-1-alex.kanavin@gmail.com/

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2025-06-28 18:58:39 +02:00
Valentin Jec
fc287f98d9 Upgrade BSP to LF6.6.36_2.1.0
spir: Update downgrade spir: 1.3.261.1.imx -> 1.3.275.0.imx

vulkan: Update downgrade vulkan: 1.3.261.1.imx -> 1.3.275.0.imx

vulkan-loader_1.3.261.1.imx.bbappend: Upgrade vulkan-loader: 1.3.261.1.imx -> 1.3.275.0.imx

Add patch for wsi layer

imx-base.inc: Update `PREFFERED_VERSION` for vulkan and spir

Signed-off-by: Valentin Jec <valentin.jec@nxp.com>
2024-10-25 13:48:21 +03:00
Tom Hochstein
771e4ececa vulkan/spir: Update downgrade 1.3.239.0.imx -> 1.3.261.1.imx
Align with NXP BSP 6.6.3-1.0.0.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-04-24 16:17:06 -07:00
Tom Hochstein
7c949461b5 spir: Downgrade to 1.3.239.0.imx
Latest spir is not compatible with downgraded vulkan, so downgrade
spir to match.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-10-31 12:00:08 -07:00
Tom Hochstein
a762734169 vulkan: Update the downgrade 1.2.182.0.imx -> 1.3.239.0.imx
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-10-31 12:00:08 -07:00
Khem Raj
b3304d44a4 vulkan-loader: Do not limit to x11 or wayland
as long as vulkan is part of distro features this should work. this also
ensures that build works when using eglfs with opengl instead

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-01 13:18:42 -07:00
Tom Hochstein
9d8c8dcfab vulkan-validation-layers: Fix do_configure failure
The build does fail in do_configure:
```
| CMake Error at /opt/work/upstream/fsl-xwayland/tmp/work/cortexa72-cortexa53-crypto-mx8-fsl-linux/vulkan-validation-layers/1.2.182.0.imx-r0/recipe-sysroot-native/usr/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
|   Could NOT find VulkanHeaders (missing: VulkanHeaders_INCLUDE_DIR)
Updating EXTRA_OECMAKE to match the upstream recipe does fix the configure error
```

Checking the upstream recipe, there are three changes in `EXTRA_OECMAKE`.
Aligning those does fix the failure.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-06-13 12:55:58 -07:00
Vincent Davis Jr
160c16738f vulkan-validation-layers: add new recipe v1.2.182.0
Add a recipe to build the Khronos official Vulkan validation
layers that can assist developers in verifying that their
applications correctly use the Vulkan APIs.

Using vulkan version v1.2.182.0 to be compatible with
other vulkan recipes in meta-freescale layer.

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
2023-06-13 09:04:56 -05:00
Vincent Davis Jr
c5ccc3196b recipes-downgrade/vulkan: rename vulkan packages
Rename from <recipe name>_<version>.bb to
<recipe name>_<version>.imx.bb

Hopefully making it more obvious that recipes
are forks/older version of what's in OE-core.

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
2023-06-12 21:17:03 -05:00
Tom Hochstein
705d5ca012 vulkan: Downgrade to 1.2.182.0 for i.MX GPU
i.MX GPU drivers work with an older version of vulkan, so add the older
recipes.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-10-11 16:38:16 -05:00