diff options
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/nir/tgsi_to_nir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/nir/tgsi_to_nir.c b/src/gallium/auxiliary/nir/tgsi_to_nir.c index 12114dc2030..4f7f900c243 100644 --- a/src/gallium/auxiliary/nir/tgsi_to_nir.c +++ b/src/gallium/auxiliary/nir/tgsi_to_nir.c @@ -344,6 +344,7 @@ ttn_emit_declaration(struct ttn_compile *c) } case TGSI_SEMANTIC_POSITION: var->data.location = FRAG_RESULT_DEPTH; + var->type = glsl_float_type(); break; default: fprintf(stderr, "Bad TGSI semantic: %d/%d\n", |