mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
Use correct enums for program output variables. Fixes
fp/tri-depthwrite.
This commit is contained in:
parent
ec1ffd9f25
commit
e6e1c3fc11
1 changed files with 2 additions and 2 deletions
|
|
@ -156,9 +156,9 @@ static GLuint get_result_vector( struct i915_fragment_program *p,
|
|||
switch (inst->DstReg.File) {
|
||||
case PROGRAM_OUTPUT:
|
||||
switch (inst->DstReg.Index) {
|
||||
case 0:
|
||||
case FRAG_RESULT_COLR:
|
||||
return UREG(REG_TYPE_OC, 0);
|
||||
case 1:
|
||||
case FRAG_RESULT_DEPR:
|
||||
p->depth_written = 1;
|
||||
return UREG(REG_TYPE_OD, 0);
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue