diff options
author | Erik Faye-Lund <[email protected]> | 2020-01-03 12:19:10 +0100 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2020-01-03 22:20:12 +0000 |
commit | ce1ea6e9c23ee5a9640a95457ef8cb0283586d4c (patch) | |
tree | 400e2d2536a507ae54a9bec034691a88015d9dca /src/gallium/drivers | |
parent | 75a19186b2aad7e588f04e1c554cdfd315dd848a (diff) |
zink: simplify front-face type
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c index 09312dae406..d7cfac147ff 100644 --- a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c +++ b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c @@ -1248,7 +1248,7 @@ emit_store_deref(struct ntv_context *ctx, nir_intrinsic_instr *intr) static void emit_load_front_face(struct ntv_context *ctx, nir_intrinsic_instr *intr) { - SpvId var_type = get_glsl_type(ctx, glsl_bool_type()); + SpvId var_type = spirv_builder_type_bool(&ctx->builder); if (!ctx->front_face_var) { SpvId pointer_type = spirv_builder_type_pointer(&ctx->builder, SpvStorageClassInput, |