microsoft / OpenCLOn12

The OpenCL-on-D3D12 mapping layer
MIT License
107 stars 15 forks source link

Handle more sampler params #1

Closed jenatali closed 4 years ago

jenatali commented 4 years ago

D3D doesn't support the variety of sampling modes that CL does (sampling on integer textures, non-normalized coordinates). Pass additional parameters to the compiler so we can convert shaders correctly.

jenatali commented 4 years ago

Corresponding compiler changes are here