r600: add support for some ALU sources.
These special ALU sources provide the shader engine, simd and hw wave ids. These are required for images support. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -1969,6 +1969,15 @@ static int print_src(struct r600_bytecode_alu *alu, unsigned idx)
|
||||
o += fprintf(stderr, "LDS_OQ_B_POP");
|
||||
need_chan = 1;
|
||||
break;
|
||||
case EG_V_SQ_ALU_SRC_SE_ID:
|
||||
o += fprintf(stderr, "SE_ID");
|
||||
break;
|
||||
case EG_V_SQ_ALU_SRC_SIMD_ID:
|
||||
o += fprintf(stderr, "SIMD_ID");
|
||||
break;
|
||||
case EG_V_SQ_ALU_SRC_HW_WAVE_ID:
|
||||
o += fprintf(stderr, "HW_WAVE_ID");
|
||||
break;
|
||||
case V_SQ_ALU_SRC_PS:
|
||||
o += fprintf(stderr, "PS");
|
||||
break;
|
||||
|
Reference in New Issue
Block a user