[LLVMdev] [GSoC] "Microsoft Direct3D shader bytecode backend" proposal
Charles Davis
cdavis at mymail.mines.edu
Tue Mar 29 11:43:15 PDT 2011
On 3/29/11 11:09 AM, Jim Grosbach wrote:
>
> On Mar 29, 2011, at 9:02 AM, Charles Davis wrote:
>> - Decorate the struct members with metadata
>
> Does this mean that the metadata would be required for correctness?
'Fraid so.
> If so, metadata is not a good choice, as being able to strip it and still get correct output is an LLVM constrain. If it would just result in suboptimal, but still correct, results, then it's a fine choice. See, for example, TBAA.
So much for that idea. Looks like unless anyone has a better idea, I'll
have to go with GLSL-style global inputs and outputs.
Chip
More information about the llvm-dev
mailing list