Incorrect output after GPU to GPU inference via VideoFrame and Gray8 models (#10425)
Incorrect output after GPU to GPU inference via VideoFrame and Gray8 models (#10425)

* If the tensor is of gray8 format, we should call the gray8 shader

* other check (which resolves to unknown in this case) is incorrectly being compared to constant and not DXGI_FORMAT

Co-authored-by: Sheil Kumar <7549348b139ea0c9e9929c996ae35abe2bc7eb58@microsoft.com>
microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime