summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTim Foley <tfoley@nvidia.com>2017-08-25 15:18:10 -0700
committerTim Foley <tfoley@nvidia.com>2017-08-25 15:48:49 -0700
commit8c68434d6fa6ff1b2e54586637869cceace9d1bb (patch)
tree69f257a9357fa1962ec4a76b258c06abdafef1bc /tools
parent7e05e062a0b7c39dbce6e850227d2038aca2f38e (diff)
Fix some resources-in-structs bugs
Fixes #171 Fixes #172 These two bugs related to bad logic in handling of splitting resource-containing `cbuffer` declarations. - Issue #171 was the case where a `cbuffer` *only* had resource fields, in which case we crashed whenever referencing any field (some code was assuming there had to be non-resource fields) - Issue #172 was a case where two fields were declared with a single declaration (`Texture2D a, b;`), and the logic we had for tracking resource-type fields was accidentally tagging *both* fields with a single modifier so that field `b` would get confused for `a` in some contexts, and attempts to access `b` would crash. Both issues are now fixed, and regression tests have been added.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions