| 2477 | } |
| 2478 | |
| 2479 | bool ResourceInterfaceVariable::IsHeap() const { |
| 2480 | // It is only legal to not have a set/binding for descriptors if they are the heap |
| 2481 | // We might one day want to know which heap it is, and could just check for |ResourceHeapEXT| or |SamplerHeapEXT| but that will |
| 2482 | // for sure require more testing |
| 2483 | return decorations.set == kInvalidValue || decorations.binding == kInvalidValue; |
| 2484 | } |
| 2485 | |
| 2486 | const Instruction& ResourceInterfaceVariable::FindBaseType(ResourceInterfaceVariable& variable, const Module& module_state) { |
| 2487 | // Takes a OpVariable and looks at the the descriptor type it uses. This will find things such as if the variable is writable, |
no outgoing calls
no test coverage detected