intel/compiler: Re-prefix non-logical surface opcodes with VEC4
The scalar back-end uses SHADER_OPCODE_SEND for all surface messages so we no longer need the non-logical opcodes there. Prefix them VEC4 so it's clear that they're only used by the vec4 back-end. Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
This commit is contained in:
@@ -367,13 +367,13 @@ schedule_node::set_latency_gen7(bool is_haswell)
|
||||
latency = 50;
|
||||
break;
|
||||
|
||||
case SHADER_OPCODE_UNTYPED_ATOMIC:
|
||||
case VEC4_OPCODE_UNTYPED_ATOMIC:
|
||||
/* See GEN7_DATAPORT_DC_UNTYPED_ATOMIC_OP */
|
||||
latency = 14000;
|
||||
break;
|
||||
|
||||
case SHADER_OPCODE_UNTYPED_SURFACE_READ:
|
||||
case SHADER_OPCODE_UNTYPED_SURFACE_WRITE:
|
||||
case VEC4_OPCODE_UNTYPED_SURFACE_READ:
|
||||
case VEC4_OPCODE_UNTYPED_SURFACE_WRITE:
|
||||
/* See also GEN7_DATAPORT_DC_UNTYPED_SURFACE_READ */
|
||||
latency = is_haswell ? 300 : 600;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user