intel/shaders: enable gfx8 support

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26797>
This commit is contained in:
Lionel Landwerlin 2023-12-20 11:28:34 +02:00 committed by Marge Bot
parent 76c3d97c84
commit f192ea630a
2 changed files with 3 additions and 2 deletions

View file

@ -120,7 +120,7 @@ void genX(write_draw)(global uint32_t *dst_ptr,
bool uses_drawid,
uint32_t mocs)
{
#if GFX_VER == 9
#if GFX_VER <= 9
if (uses_base || uses_drawid) {
uint32_t vertex_buffer_count =
(uses_base ? 1 : 0) + (uses_drawid ? 1 : 0);

View file

@ -29,7 +29,8 @@ foreach input_arg : intel_shader_files
prepended_input_args += ['--in', input_arg]
endforeach
intel_shaders_gens = [ [ 90, 9],
intel_shaders_gens = [ [ 80, 8],
[ 90, 9],
[110, 11],
[120, 12],
[125, 125],