This only happened if there are multiple different resource handle used inside the same `PassSimple`. Fix is to use the same logic to find the first instance. Fix #130384
This only happened if there are multiple different resource handle used inside the same `PassSimple`. Fix is to use the same logic to find the first instance. Fix #130384