diff options
author | Kenneth Graunke <[email protected]> | 2017-03-02 11:33:37 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-03-20 15:58:05 -0700 |
commit | 9b324e4dca4754801e5db59aba0ab559f2cf35ea (patch) | |
tree | e7582fbf6fc205b4b438e2a13688c03722e457e0 /docs/install.html | |
parent | 99d400b78f03ce33730b7ac8afa5077d6bb31893 (diff) |
i965: Fall back to GL 4.2/4.3 on Haswell if the kernel isn't new enough.
In commit d2590eb65ff28a9cbd592353d15d7e6cbd2c6fc6 I enabled GL 4.5
on Haswell...but failed to check if we could do indirect compute
shader dispatch...and query buffer objects.
Indirect compute shader dispatch requires command parser version 5
(kernel commit 7b9748cb513a6bef4af87b79f0da3ff7e8b56cd8, which is in
Linux v4.4). On earlier kernels we would have disabled
ARB_compute_shader, which is a mandatory part of OpenGL 4.3+.
Query buffer objects currently require MI_MATH and MI_LOAD_REGISTER_REG,
which mean command parser version 7 (Linux v4.8). On earlier kernels
we would have disabled ARB_query_buffer_object, which is a mandatory
part of OpenGL 4.4+.
The new version support looks like:
- Kernel 4.1 and older => OpenGL 3.3
- Kernel 4.2-4.3 => OpenGL 4.2
- Kernel 4.4-4.7 => OpenGL 4.3
- Kernel 4.8+ => OpenGL 4.5
Cc: "17.0" <[email protected]>
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Diffstat (limited to 'docs/install.html')
0 files changed, 0 insertions, 0 deletions