diff options
author | Marek Olšák <[email protected]> | 2018-01-07 21:05:52 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-04-02 13:55:25 -0400 |
commit | 2be6143032939c5c5fb6de4a44ffe3b076e1f098 (patch) | |
tree | 2675ebfeb419e00aa3939e4d3499d5288134df4a /src/gallium/drivers/radeonsi/si_shader.c | |
parent | e04631b0f24f83ef7ee6566f04604d6222765662 (diff) |
radeonsi: implement GL_KHR_blend_equation_advanced
MSAA is supported using sample shading. Layered rendering and all texture
targets are also supported.
Tested-by: Dieter Nützel <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index ac6f2572c65..dd2969aa755 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -1929,7 +1929,7 @@ static void declare_input_fs( si_llvm_load_input_fs(ctx, input_index, out); } -static LLVMValueRef get_sample_id(struct si_shader_context *ctx) +LLVMValueRef si_get_sample_id(struct si_shader_context *ctx) { return si_unpack_param(ctx, SI_PARAM_ANCILLARY, 8, 4); } @@ -2152,7 +2152,7 @@ void si_load_system_value(struct si_shader_context *ctx, break; case TGSI_SEMANTIC_SAMPLEID: - value = get_sample_id(ctx); + value = si_get_sample_id(ctx); break; case TGSI_SEMANTIC_SAMPLEPOS: { |