SPIR-V: SubpassInput
should default to float4
if explicit type parameter is not provided
#4440
Labels
goal:client support
Feature or fix needed for a current slang user.
kind:enhancement
a desirable new feature, option, or behavior
siggraph2024
Issue targeting SIGGRAPH 2024
Milestone
Slang currently expects an explicit type parameter for
SubpassInput
, this is contrary to the expected usage ofSubpassInput
from DXC (where it originated I'm guessing) and results in the following compile error:According to DXC's SPIR-V docs:
In the above, T is a scalar or vector type. If omitted, it will defaults to float4.
Shader
The text was updated successfully, but these errors were encountered: