shader-slang / slang

Making it easier to work with shaders
MIT License
1.78k stars 159 forks source link

Capabilities System: Rework all uses of Profile to just be an alias/wrapper of a CapabilitySet #4421

Open ArielG-NV opened 1 week ago

ArielG-NV commented 1 week ago

Currently we separate profile and capabilities, where profiles are just wrapped capabilities. This should be reworked so we no longer use profile and just use capabilities.

Associated additions required:

  1. cs_x_y and related need to be converted to capabilities
    • cs_x_y should be an alias of cs_x_y = sm_x_y + compute;