/dev/dri access from a confined snap

In Plex Media Server, we have a feature called hardware transcoding. This uses the GPU or in some cases specific CPU features (Intel Quick Sync Video). At the end of the day, this needs access to /dev/dri. Is this possible from a confined snap?

yes, through the opengl interface, just declare it in the plugs section of your snapcraft.yaml