mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 18:59:21 +00:00
Change Sampler creation to use a descriptor instead of a builder
This commit is contained in:
committed by
Corentin Wallez
parent
a6416543a4
commit
1ae19e8276
@@ -25,7 +25,7 @@ namespace backend { namespace opengl {
|
||||
|
||||
class Sampler : public SamplerBase {
|
||||
public:
|
||||
Sampler(SamplerBuilder* builder);
|
||||
Sampler(Device* device, const nxt::SamplerDescriptor* descriptor);
|
||||
|
||||
GLuint GetHandle() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user