diff options
author | Matt Turner <[email protected]> | 2017-06-14 16:14:11 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2018-02-28 11:15:47 -0800 |
commit | d5bf093cf9da323ce3ebb69c07834870441e0e38 (patch) | |
tree | 129ce38de6a5f1593d3b985cfd0823d952851053 /src/intel/compiler/brw_eu.c | |
parent | 89fe5190a256ee0939061c4c264e9156256d16e8 (diff) |
intel/compiler: Mark line, pln, and lrp as removed on Gen11+
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_eu.c')
-rw-r--r-- | src/intel/compiler/brw_eu.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/intel/compiler/brw_eu.c b/src/intel/compiler/brw_eu.c index bc297a21b32..3646076a8e8 100644 --- a/src/intel/compiler/brw_eu.c +++ b/src/intel/compiler/brw_eu.c @@ -384,7 +384,8 @@ enum gen { GEN75 = (1 << 5), GEN8 = (1 << 6), GEN9 = (1 << 7), - GEN10 = (1 << 8), + GEN10 = (1 << 8), + GEN11 = (1 << 9), GEN_ALL = ~0 }; @@ -628,16 +629,16 @@ static const struct opcode_desc opcode_descs[128] = { }, /* Reserved 88 */ [BRW_OPCODE_LINE] = { - .name = "line", .nsrc = 2, .ndst = 1, .gens = GEN_ALL, + .name = "line", .nsrc = 2, .ndst = 1, .gens = GEN_LE(GEN10), }, [BRW_OPCODE_PLN] = { - .name = "pln", .nsrc = 2, .ndst = 1, .gens = GEN_GE(GEN45), + .name = "pln", .nsrc = 2, .ndst = 1, .gens = GEN_GE(GEN45) & GEN_LE(GEN10), }, [BRW_OPCODE_MAD] = { .name = "mad", .nsrc = 3, .ndst = 1, .gens = GEN_GE(GEN6), }, [BRW_OPCODE_LRP] = { - .name = "lrp", .nsrc = 3, .ndst = 1, .gens = GEN_GE(GEN6), + .name = "lrp", .nsrc = 3, .ndst = 1, .gens = GEN_GE(GEN6) & GEN_LE(GEN10), }, [93] = { .name = "madm", .nsrc = 3, .ndst = 1, .gens = GEN_GE(GEN8), @@ -662,6 +663,7 @@ gen_from_devinfo(const struct gen_device_info *devinfo) case 8: return GEN8; case 9: return GEN9; case 10: return GEN10; + case 11: return GEN11; default: unreachable("not reached"); } |