New upstream version 19.0.3+dfsg1
This commit is contained in:
parent
3708b8e092
commit
1f1bbb3518
534 changed files with 13862 additions and 2459 deletions
|
|
@ -149,6 +149,9 @@ void gs_shader::BuildConstantBuffer()
|
|||
continue;
|
||||
}
|
||||
|
||||
if (param.arrayCount)
|
||||
size *= param.arrayCount;
|
||||
|
||||
/* checks to see if this constant needs to start at a new
|
||||
* register */
|
||||
if (size && (constantSize & 15) != 0) {
|
||||
|
|
@ -287,6 +290,8 @@ void gs_shader::UploadParams()
|
|||
|
||||
void gs_shader_destroy(gs_shader_t *shader)
|
||||
{
|
||||
if (shader && shader->device->lastVertexShader == shader)
|
||||
shader->device->lastVertexShader = nullptr;
|
||||
delete shader;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue