David Neto
d5766f2801
Permit Simple and GLSL450 memory model in WEBGPU_0 ( #3463 )
...
Now that WebGPU ingests WGSL instead of SPIR-V,
there is no need to be so strict about the memory model.
Allow any memory model that is already allowed by Vulkan 1.0,
either directly or via an existing.
2020-07-17 12:23:11 -04:00
alan-baker
10951a7c9a
Refactor the InstructionPass ( #2924 )
...
* move checks to more appropriate locations
* remove some duplicated checks
* New function to check valid storage classes
* updated tests
2019-09-27 00:06:36 -04:00
Jeff Bolz
2c0111e6eb
Add validation for SPV_EXT_fragment_shader_interlock ( #2650 )
2019-06-03 10:55:07 -04:00
Ryan Harrison
c8b09744c6
Add validation specific to OpExecutionModeId ( #2536 )
...
Fixes #1565
2019-05-01 13:29:39 -04:00
Ryan Harrison
a5da68d446
Remove stale comment ( #2542 )
...
Fixes #1121
2019-05-01 10:56:39 -04:00
Ryan Harrison
b75f4362f0
Add validation for ExecutionMode in WebGPU ( #2443 )
...
Fixes #2437
2019-03-12 14:50:25 -04:00
Ryan Harrison
b1ff15f220
Add missing DepthGreater case to Fragment only check ( #2440 )
...
Fixes #2439
2019-03-12 11:27:40 -04:00
David Neto
bdecee8c86
Validator: TaskNV can use LocalSize or LocalSizeId ( #1970 )
...
Correponds to the update to Rev2 of SPV_NV_mesh_shader
Fixes #1968
2018-10-12 08:54:52 -04:00
Alan Baker
a77bb2e54b
Add validation for execution modes
...
* Check rules from Execution Mode tables, 2.16.2 and the Vulkan
environment spec
* Allows MeshNV execution model with the following execution modes
* LocalSize, LocalSizeId, OutputPoints and OutputVertices
* Done to not break their validation
2018-10-02 10:22:23 -04:00
Alan Baker
714bf84e58
Split mode setting opcode validation into new file.
...
* Moved mode setting opcode validation out of idUsage and into a new
pass
* minor style updates
2018-08-08 15:45:53 -04:00