| 61 | } |
| 62 | |
| 63 | bool Type::FromSymbol( const Symbol* asymbol ) |
| 64 | { |
| 65 | if( !asymbol->isTypeName ) |
| 66 | { |
| 67 | return false; |
| 68 | } |
| 69 | symbol = asymbol; |
| 70 | builtInType = 0; |
| 71 | width = 1; |
| 72 | height = 1; |
| 73 | templateParameter = nullptr; |
| 74 | modifier = 0; |
| 75 | storageClass = 0; |
| 76 | arrayDimensions = 0; |
| 77 | metalTextureAccess = 0; |
| 78 | templateSamples = -1; |
| 79 | isDepthTexture = false; |
| 80 | return true; |
| 81 | } |
| 82 | |
| 83 | bool Type::IsScalar() const |
| 84 | { |
no outgoing calls
no test coverage detected