diff options
author | Samuel Pitoiset <[email protected]> | 2016-06-05 18:01:19 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2016-06-05 18:48:02 +0200 |
commit | 43d3ecfb338d79d9f0ccae22b316653af461032a (patch) | |
tree | 5b8a2946196077ef1ec9abda57c89f265dff7a2a /src/compiler/glsl/program.h | |
parent | 3b44864ab794ea487d22499e7e2c42565aaac085 (diff) |
nvc0: re-validate images after launching a grid on Fermi
Images invalidation is a bit weird on Fermi and there is already a hack
which forces invalidating all images when launching a computer shader
to help in fixing 3D<->CP interaction.
However, we need to re-validate images for compute because
nvc0_compute_invalidate_surfaces() will destroy the previous binding.
This is not really good for performance purposes but this might be
improved later.
This fixes the following piglits:
- spec/arb_compute_shader/execution/basic-uniform-access
- spec/arb_compute_shader/execution/mutiple-texture-reading
- spec/arb_compute_shader/execution/multiple-workgroups
- spec/glsl-4.30/execution/built-in-functions/cs-* (207 tests)
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Cc: "12.0" <[email protected]>
Diffstat (limited to 'src/compiler/glsl/program.h')
0 files changed, 0 insertions, 0 deletions