mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Add debugname field to shader options table.
This commit is contained in:
@@ -402,7 +402,7 @@ Shader *Graphics::newShader(const std::vector<std::string> &stagessource, const
|
||||
|
||||
}
|
||||
|
||||
return newShaderInternal(stages);
|
||||
return newShaderInternal(stages, options);
|
||||
}
|
||||
|
||||
Shader *Graphics::newComputeShader(const std::string &source, const Shader::CompileOptions &options)
|
||||
@@ -418,7 +418,7 @@ Shader *Graphics::newComputeShader(const std::string &source, const Shader::Comp
|
||||
// shouldn't be much reuse.
|
||||
stages[SHADERSTAGE_COMPUTE].set(newShaderStage(SHADERSTAGE_COMPUTE, source, options, info, false));
|
||||
|
||||
return newShaderInternal(stages);
|
||||
return newShaderInternal(stages, options);
|
||||
}
|
||||
|
||||
Buffer *Graphics::newBuffer(const Buffer::Settings &settings, DataFormat format, const void *data, size_t size, size_t arraylength)
|
||||
|
||||
Reference in New Issue
Block a user