radeonsi: implement gl_SampleMaskIn

Reviewed-by: Glenn Kennard <glenn.kennard@gmail.com>
This commit is contained in:
Marek Olšák 2015-02-28 00:30:26 +01:00
parent f9fd0c4a55
commit ca90cde81e
2 changed files with 5 additions and 1 deletions

View File

@ -106,7 +106,7 @@ GL 4.0, GLSL 4.00:
- Enhanced textureGather DONE (r600, radeonsi)
- Geometry shader instancing DONE (r600)
- Geometry shader multiple streams DONE ()
- Enhanced per-sample shading DONE (r600)
- Enhanced per-sample shading DONE (r600, radeonsi)
- Interpolation functions DONE (r600)
- New overload resolution rules DONE
GL_ARB_gpu_shader_fp64 DONE (nvc0, softpipe)

View File

@ -643,6 +643,10 @@ static void declare_system_value(
break;
}
case TGSI_SEMANTIC_SAMPLEMASK:
value = LLVMGetParam(radeon_bld->main_fn, SI_PARAM_SAMPLE_COVERAGE);
break;
default:
assert(!"unknown system value");
return;