jackoalan / llvm-project

HSH Shader Pipeline and Graphics Library
1 stars 2 forks source link

Incomplete render_texture2d implementation #17

Open encounter opened 4 years ago

encounter commented 4 years ago

render_texture2d can't currently be sampled in an hsh pipeline, SamplerBinding only accepts texture_typeless.

Another thing to consider is the inability to have a single pipeline accept both a texture2d and render_texture2d in a general way since the types are not convertible.

encounter commented 4 years ago

~Additional note: RenderTextureAllocation requires a barrier transitioning from eTransferDstOptimal to eShaderReadOnlyOptimal when resolving color or depth bindings (not to a surface).~

I included these changes in my merged branch.