mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
radeonsi: Handle TGSI_SEMANTIC_PSIZE
The relevant POINT_SIZE registers are being set using the pipe_rasterizer_state, so we just need to tell the shader compiler which export type to use. This fixes several of the glean glsl tests. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
d58ca43b80
commit
c3c323a164
1 changed files with 1 additions and 0 deletions
|
|
@ -502,6 +502,7 @@ static void si_llvm_emit_epilogue(struct lp_build_tgsi_context * bld_base)
|
|||
for (index = d->Range.First; index <= d->Range.Last; index++) {
|
||||
/* Select the correct target */
|
||||
switch(d->Semantic.Name) {
|
||||
case TGSI_SEMANTIC_PSIZE:
|
||||
case TGSI_SEMANTIC_POSITION:
|
||||
target = V_008DFC_SQ_EXP_POS;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue