commit | 4aa450193bf5aef5e6c8785ef7ba2fc8e3524dba | [log] [tgz] |
---|---|---|
author | Samuel Pitoiset <samuel.pitoiset@gmail.com> | Mon Jul 29 12:03:46 2019 +0200 |
committer | Samuel Pitoiset <samuel.pitoiset@gmail.com> | Mon Jul 29 13:19:32 2019 +0200 |
tree | e8a7467916f306fa493ecef2a1269a5b8abfbbf8 | |
parent | a9f58af4549b522f64950152c0180228471b8520 [diff] |
ac: do not crash when the buffer data format is invalid This might happen when a pipeline doesn't define the vertex input state, so the buffer data format is 0 (aka INVALID). This fixes crashes when compiling some shaders on GFX10. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>