mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Use Device limits and features provided by user
Spec update
This commit is contained in:
parent
cd73193efe
commit
3661aa3d8c
16 changed files with 210 additions and 57 deletions
|
@ -16,8 +16,9 @@ dictionary GPUSamplerDescriptor : GPUObjectDescriptorBase {
|
|||
GPUFilterMode minFilter = "nearest";
|
||||
GPUFilterMode mipmapFilter = "nearest";
|
||||
float lodMinClamp = 0;
|
||||
float lodMaxClamp = 0xfffff; // TODO: Update this. Value in spec was too big
|
||||
float lodMaxClamp = 0xfffff; // TODO: What should this be? Was Number.MAX_VALUE.
|
||||
GPUCompareFunction compare;
|
||||
unsigned short maxAnisotropy = 1;
|
||||
};
|
||||
|
||||
enum GPUAddressMode {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue