HLSL: add helper access methods to TAttributeMap
authorLoopDawg <sk_opengl@khasekhemwy.net>
Tue, 10 Oct 2017 20:59:40 +0000 (14:59 -0600)
committerLoopDawg <sk_opengl@khasekhemwy.net>
Tue, 10 Oct 2017 20:59:40 +0000 (14:59 -0600)
commit52c087ff5347373c6a2aaa09a4e65808640548d1
tree00fce1bfbda24d3134152c7f96d5627d8a481456
parentbb79abccb3ad043c5e5a4c6dd58e83d0d392750b
HLSL: add helper access methods to TAttributeMap

There was some code replication around getting string and integer
values out of an attribute map.  This adds new methods to the
TAttributeMap class to encapsulate some accessor details.
hlsl/hlslAttributes.cpp
hlsl/hlslAttributes.h
hlsl/hlslParseHelper.cpp