Skip to content

[SYCL] Fix bindless image sample instruction generation#21345

Open
0x12CC wants to merge 2 commits intointel:syclfrom
0x12CC:fix/sample-image-result-type
Open

[SYCL] Fix bindless image sample instruction generation#21345
0x12CC wants to merge 2 commits intointel:syclfrom
0x12CC:fix/sample-image-result-type

Conversation

@0x12CC
Copy link
Contributor

@0x12CC 0x12CC commented Feb 23, 2026

The SPIR-V specification requires the result type of the OpImageSampleExplicitLod instruction to be a vector of four components. The SYCL bindless images extension allows the user to specify a return type for the sample_image call that may not be a vector. This commit ensures the SYCL headers correctly convert between the user-specified type and the type required by the SPIR-V specification to prevent generating invalid SPIR-V modules.

Signed-off-by: Michael Aziz <michael.aziz@intel.com>
Signed-off-by: Michael Aziz <michael.aziz@intel.com>
@0x12CC
Copy link
Contributor Author

0x12CC commented Feb 25, 2026

@slawekptak, friendly ping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant