Re: [w3c/webcomponents] Considering Shader Module Types (#853)

That doesn't look like a compelling improvement to me over js modules, and moving boilerplate into each shader module is a step backwards for conciseness.

Also unfortunate: WebGLShaders are not only specific to a WebGLContext, but compilation depends on mutable WebGLContext state as well. Compilation is unfortunately not (presently) idempotent. 

NB: WebGPU will be giving us yet another shader type, coincidentally called `GPUShaderModule`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/853#issuecomment-553561523

Received on Wednesday, 13 November 2019 19:29:28 UTC