mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 18:08:40 +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> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40701>
This commit is contained in:
parent
84c3489e38
commit
032a2bdc1e
1 changed files with 1 additions and 1 deletions
|
|
@ -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