mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 05:27:49 +00:00
Descriptorize Buffer
We still keep a dummy BufferBuilder object around so that it can be used for the builder error callback tests of the wire. Change-Id: If0c502bb8b62ee3ed61815e34e9b6ee6c03a65ef
This commit is contained in:
committed by
Corentin Wallez
parent
0202250464
commit
82b6573d54
@@ -108,3 +108,6 @@ void ProcTableAsClass::CallMapWriteCallback(dawnBuffer buffer, dawnBufferMapAsyn
|
||||
return reinterpret_cast<{{as_cType(type.name)}}>(mObjects.back().get());
|
||||
}
|
||||
{% endfor %}
|
||||
|
||||
MockProcTable::MockProcTable() {
|
||||
}
|
||||
|
||||
@@ -90,6 +90,8 @@ class ProcTableAsClass {
|
||||
|
||||
class MockProcTable : public ProcTableAsClass {
|
||||
public:
|
||||
MockProcTable();
|
||||
|
||||
{% for type in by_category["object"] %}
|
||||
{% for method in type.methods if len(method.arguments) < 10 %}
|
||||
MOCK_METHOD{{len(method.arguments) + 1}}(
|
||||
|
||||
Reference in New Issue
Block a user