mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
r600: update vertex emit_varying_pos
This change adds a minimal support for gl_PointSize to
be used alongside gl_ClipDistance/gl_CullDistance.
This change was tested on palm and cayman. Here is the test fixed:
khr-gl4[5-6]/gl_spirv/spirv_validation_builtin_variable_decorations_test: fail pass
Cc: mesa-stable
Signed-off-by: Patrick Lerda <patrick9876@free.fr>
(cherry picked from commit 032a2bdc1e)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41269>
This commit is contained in:
parent
c785514d5e
commit
af76112ed9
2 changed files with 2 additions and 2 deletions
|
|
@ -4294,7 +4294,7 @@
|
|||
"description": "r600: update vertex emit_varying_pos",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -231,7 +231,7 @@ VertexExportForFs::emit_varying_pos(const store_loc& store_info,
|
|||
<< (4 * (store_info.location - VARYING_SLOT_CLIP_DIST0));
|
||||
m_clip_dist_write |= write_mask
|
||||
<< (4 * (store_info.location - VARYING_SLOT_CLIP_DIST0));
|
||||
export_slot = m_cur_clip_pos++;
|
||||
export_slot = m_cur_clip_pos++ + (m_out_point_size ? 1 : 0);
|
||||
break;
|
||||
default:
|
||||
sfn_log << SfnLog::err << __func__ << "Unsupported location " << store_info.location
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue