<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/95756>95756</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[SPIR-V] OpenCL CTS profiling write_image_float test failure, SPIR-V sampler builtin type
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:SPIR-V
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
michalpaszkowski
</td>
</tr>
</table>
<pre>
```
./test_profiling write_image_float
Initializing random seed to 0.
Requesting Default device based on command line for platform index 0 and device index 0
Compute Device Name = Intel(R) Graphics [0xa780], Compute Device Vendor = Intel(R) Corporation, Compute Device Version = OpenCL 3.0 NEO , CL C Version = OpenCL C 1.2
Device latest conformance version passed: v2022-04-22-00
Supports single precision denormals: YES
sizeof( void*) = 8 (host)
sizeof( void*) = 8 (device)
write_image_float...
test_profiling: /home/michalpaszkowski/Driver/igc/IGC/AdaptorOCL/SPIRV/libSPIRV/SPIRVValue.h:377: virtual void igc_spv::SPIRVConstantSampler::validate() const: Assertion `Type->isTypeSampler()' failed.
Aborted (core dumped)
```
Dumps:
[test_profilin_6220.zip](https://github.com/user-attachments/files/15864393/test_profilin_6220.zip)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyEVFFr4zgQ_jXKyxAjy3HsPPghTeqlULZHsxTuKcjWONZVlnSSnN321x-y3S3bXXoQIiN93zAz3zfDvZcXjViR_IbkxxUfQ29cNci258py__psvvtnuWqMeKnIli4_eiR0nxBWB_ThbJ3ppJL6At-dDHiWA7_guVOGhxkJd1oGyZV8jSDHtTADeEQBwQBNZtAj_juiDxFxxI6PKoDAq2wRGu5RgNHQmmHgWoCSGqEzDqzioTNuAKkF_gAK8XVhLVdz8IMZ7BgQjvPbVz4gkOwIdzqgIqx8JGwHXxy3vWw9kPyG_uBFSUl-JOwAH9hPqIVxv_MPxlnjeJBG_5HlvDR6oj1Y1Id7yB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