maierfelix / chromium-ray-tracing

Chromium build with hardware accelerated ray tracing
BSD 3-Clause "New" or "Revised" License
58 stars 4 forks source link

Wanting to expose other missing shader stages: geometry and/or tesselation.. #2

Open oscarbg opened 4 years ago

oscarbg commented 4 years ago

Hi, seeing you have been able to add "experimental" raytracing stages to WebGPU and shipped a prebuilt browser and demo using it, I'm curious if you are interested on exposed other missing shader stages on WebGL/WebGPU "experimentally" so people can try.. I'm referring to geometry shader and tesselation shader support.. I asked on Khronos github sites while ago but I remember they say support it's not "universal" so not very interested.. of the two GS & tess I think it's more interesting to add tesselation support to WebGPU as geometry shader isn't exposed on Metal neither on Desktop (macOS) nor Mobile (iOS).. but tesselation is everywhere DX12, Metal and Vulkan altough may require recent hardware/drivers specially on mobile.. for example on Apple only on SOC >=A8 and Qualcomm seems enabled only on Vulkan on Adreno 6xx HW altough Adreno 5xx OpenGL driver supports tesselation.. also maybe in case "someone" does some experimental implementation adding tesselation support to WebGPU maybe Khronos gets interested and motivates it to add later to WebGPU as an optional extension.. thanks.. Oscar.

maierfelix commented 4 years ago

I'm doing this project as a hobby and unfortunately don't have time to add other features. I was playing with this idea a lot to just create a fork of Dawn and keep adding experimental/advanced features which possibly never (or just in a few years) make it into official WebGPU. Maybe someone gets interested in sponsoring this project in future, so I can realize this idea

oscarbg commented 4 years ago

No problem I understand as hobby project is giant work.. hope, as you say, someone sponsors you to expose further GPU features on WebGPU.. let me keep open anyway..