| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| Common | ||
| D3D9 | ||
| LLVM | ||
| Main | ||
| OpenGL | ||
| Reactor | ||
| Renderer | ||
| Shader | ||
| SwiftShader | ||
| Android.mk | ||
| Readme.txt | ||
| SwiftShader.sln | ||
| SwiftShader.workspace | ||
| SwiftShader_Logo.png |
From the ES3 spec, section 4.4.2 (about DeleteRenderbuffers): "Unused names in renderbuffers are silently ignored, as is the value zero." And from section 6.1.5: "IsSampler will return TRUE if sampler is the name of a sampler object previously returned from a call to GenSamplers and FALSE otherwise". Also, glIsSampler can use Context::isSampler(), which uses ResourceManager::isSampler(), which should only look whether a name has been reserved, not whether the object is allocated. Note: Even though the spec mentions (about Sampler objects): "they acquire state only when they are first used as a parameter to BindSampler, SamplerParameter*, GetSamplerParameter*, or IsSampler", it shouldn't hurt to not allocate the object when calling IsSampler, since a subsequent call to any other Sampler object related function should allocate it. Change-Id: I69c9d8bbcf93231747b913c0afbd970c78d02cf1 Reviewed-on: https://swiftshader-review.googlesource.com/5161Tested-by:Alexis Hétu <sugoi@google.com> Reviewed-by:
Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| Common | Loading commit data... | |
| D3D9 | Loading commit data... | |
| LLVM | Loading commit data... | |
| Main | Loading commit data... | |
| OpenGL | Loading commit data... | |
| Reactor | Loading commit data... | |
| Renderer | Loading commit data... | |
| Shader | Loading commit data... | |
| SwiftShader | Loading commit data... | |
| Android.mk | Loading commit data... | |
| Readme.txt | Loading commit data... | |
| SwiftShader.sln | Loading commit data... | |
| SwiftShader.workspace | Loading commit data... | |
| SwiftShader_Logo.png | Loading commit data... |