diff options
author | Andres Gomez <[email protected]> | 2014-12-12 17:19:07 +0100 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-12-15 11:40:22 -0800 |
commit | 8517e665bc4c378e8e7523827090fd1b06abaecd (patch) | |
tree | f19e519173e9b66bdd071e207fc5d4f2b145fff7 /src/glsl/glsl_parser_extras.h | |
parent | e108442bb10088607f2a67b648c42c0dece2e595 (diff) |
i965/brw_reg: struct constructor now needs explicit negate and abs values.
We were assuming, when constructing a new brw_reg struct, that the
negate and abs register modifiers would not be present by default in
the new register.
Now, we force explicitly setting these values when constructing a new
register.
This will avoid problems like forgetting to properly set them when we
are using a previous register to generate this new register, as it was
happening in the dFdx and dFdy generation functions.
Fixes piglit test shaders/glsl-deriv-varyings
Cc: "10.4 10.3" <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82991
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glsl/glsl_parser_extras.h')
0 files changed, 0 insertions, 0 deletions