updated gapi
now shader resources can be queried.
fixed compile issues