mesa: rename, reorder FRAG_RESULT_x tokens
s/FRAG_RESULT_DEPR/FRAG_RESULT_DEPTH/ s/FRAG_RESULT_COLR/FRAG_RESULT/COLOR/ Remove FRAG_RESULT_COLH (NV half-precision) output since we never used it. Next, we might merge the COLOR and DATA outputs (COLOR0, COLOR1, etc).
This commit is contained in:
@@ -180,9 +180,9 @@ get_result_vector(struct i915_fragment_program *p,
|
||||
switch (inst->DstReg.File) {
|
||||
case PROGRAM_OUTPUT:
|
||||
switch (inst->DstReg.Index) {
|
||||
case FRAG_RESULT_COLR:
|
||||
case FRAG_RESULT_COLOR:
|
||||
return UREG(REG_TYPE_OC, 0);
|
||||
case FRAG_RESULT_DEPR:
|
||||
case FRAG_RESULT_DEPTH:
|
||||
p->depth_written = 1;
|
||||
return UREG(REG_TYPE_OD, 0);
|
||||
default:
|
||||
|
Reference in New Issue
Block a user