alan-baker
3234daada7
Do not assume there are execution modes ( #4555 )
...
Fixes #4550
* Do not assume that an entry point has any associated execution modes
when checking derivative requirements
2021-09-30 19:20:28 -04:00
alan-baker
2a3cbe7c3f
Check that derivatives operate on 32-bit values ( #2983 )
...
* Add a check that derivative functions only operate on scalar or vector
32-bit floating point values
* Added tests to disallow half derivatives
2019-10-18 09:02:25 -04:00
Jason Macnak
bac82f49aa
Allow LOD ops in compute shaders with derivative group execution modes ( #2752 )
...
Also update existing derivative check to be based on the execution mode
instead of just the extension being present.
More info about extension:
- https://github.com/KhronosGroup/SPIRV-Registry/blob/master/extensions/NV/SPV_NV_compute_shader_derivatives.asciidoc
2019-07-22 08:37:44 -04:00
Chao Chen
6e2dab2ffd
Add support for Nvidia Turing extensions
2018-09-19 20:46:14 -04:00
Alan Baker
2896b8f0e5
Refactor where opcodes are validated
...
* Replaced uses in opcode validation of current_function()
* Added non-const accessor to function lookup in ValidationState_t
* Updated a couple bad tests due to check reordering
2018-08-07 10:29:30 -04:00
dan sinclair
eda2cfbe12
Cleanup includes. ( #1795 )
...
This Cl cleans up the include paths to be relative to the top level
directory. Various include-what-you-use fixes have been added.
2018-08-03 15:06:09 -04:00
dan sinclair
441c0190eb
Update diag() calls in validate_derivatives. ( #1765 )
...
This CL updates diag() in validate_derivatives to provide the
instruction of interest.
2018-08-01 11:04:22 -04:00
dan sinclair
e70a412609
Move validation files to val/ directory ( #1692 )
...
This CL moves the various validate files into the val/ directory with
the rest of the validation infrastructure. This matches how opt/ is
setup with the passes with the infrastructure.
2018-07-11 10:27:34 -04:00