mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-20 10:25:28 +00:00
Rework dawn/native/ProcTable.cpp's template to better handle functions.
This is a small rework to try to make the template better handle functions that aren't associated with an object, when during an unrelated patch I got confused that APICreateInstance didn't appear in dawn::native. Change-Id: If5a2aa3f9e348d1847e48fec4e90e5966ddd489d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/86530 Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
a5f5f5a1aa
commit
b2fdd6402d
@@ -12,7 +12,6 @@
|
||||
//* See the License for the specific language governing permissions and
|
||||
//* limitations under the License.
|
||||
|
||||
#include "dawn/common/Log.h"
|
||||
#include "dawn/wire/client/ApiObjects.h"
|
||||
#include "dawn/wire/client/Client.h"
|
||||
|
||||
@@ -172,6 +171,7 @@ namespace dawn::wire::client {
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
};
|
||||
|
||||
const {{Prefix}}ProcTable& GetProcs() {
|
||||
return gProcTable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user