![]() This change makes `this` a reference instead of a pointer in HLSL. HLSL does not have the `->` operator, and accesses through `this` are with the `.` syntax. Tests were added and altered to make sure the AST accurately reflects the types. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D135721 |
||
---|---|---|
.. | ||
Inputs | ||
RWBuffer-AST.hlsl | ||
ResourceStruct.hlsl | ||
ast-dump-comment-cbuffe-tbufferr.hlsl | ||
cbuffer_tbuffer.hlsl | ||
group_shared.hlsl | ||
pch.hlsl | ||
pch_hlsl_buffer.hlsl | ||
pch_with_buf.hlsl | ||
resource_binding_attr.hlsl | ||
this-reference-template.hlsl | ||
this-reference.hlsl | ||
vector-alias.hlsl | ||
vector-constructors.hlsl |