New upstream version 19.0.3+dfsg1

This commit is contained in:
Sebastian Ramacher 2017-06-29 21:01:10 +02:00
parent 3708b8e092
commit 1f1bbb3518
534 changed files with 13862 additions and 2459 deletions

View file

@ -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;
}