mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-21 07:47:32 +09:00
Switch from ShCompileOptions to int.
This commit is contained in:
parent
33bbcf8110
commit
49a6e3921a
2 changed files with 30 additions and 29 deletions
|
|
@ -17,7 +17,7 @@ namespace webgl {
|
|||
class ShaderValidator final
|
||||
{
|
||||
const ShHandle mHandle;
|
||||
const ShCompileOptions mCompileOptions;
|
||||
const int mCompileOptions;
|
||||
const int mMaxVaryingVectors;
|
||||
bool mHasRun;
|
||||
|
||||
|
|
@ -25,10 +25,10 @@ public:
|
|||
static ShaderValidator* Create(GLenum shaderType, ShShaderSpec spec,
|
||||
ShShaderOutput outputLanguage,
|
||||
const ShBuiltInResources& resources,
|
||||
ShCompileOptions compileOptions);
|
||||
int compileOptions);
|
||||
|
||||
private:
|
||||
ShaderValidator(ShHandle handle, ShCompileOptions compileOptions,
|
||||
ShaderValidator(ShHandle handle, int compileOptions,
|
||||
int maxVaryingVectors)
|
||||
: mHandle(handle)
|
||||
, mCompileOptions(compileOptions)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue