Implement 'sampler,compare_function_with_binding_type' test in createBindGroup.spec.ts (#1865)
Implement 'sampler,compare_function_with_binding_type' test in createBindGroup.spec.ts (#1865)

This PR adds a new 'sampler,compare_function_with_binding_type' test
to createBindGroup.spec.ts in order to ensure that a validation error
is generated if the compare field value exists according to the bidning
group type.

Issue: #884
gpuweb/cts,gpuweb/cts,gpuweb/cts