I noticed a couple issues while working on the HLSL emitter:
1) Mojoshader does not store pixel shader input elements. The attribute_count field of parse data for pixel shaders is always 0. This also means testparse always displays pixel shader inputs as (none.).
2) Testparse always reports vertex attribute types as <unknown>, which isn't terribly helpful for debugging.
I noticed a couple issues while working on the HLSL emitter: 1) Mojoshader does not store pixel shader input elements. The
attribute_count
field of parse data for pixel shaders is always 0. This also means testparse always displays pixel shader inputs as(none.)
. 2) Testparse always reports vertex attribute types as<unknown>
, which isn't terribly helpful for debugging.This patch fixes both issues.