mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
mesa: do not validate io of non-compute and compute stage
Fixes regression on SSO tests that have both non-compute and compute programs in a program pipeline. Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93532 Reviewed-by: Marta Lofstedt <marta.lofstedt@intel.com>
This commit is contained in:
parent
6b0706b2aa
commit
e937fd779f
1 changed files with 7 additions and 0 deletions
|
|
@ -1500,6 +1500,13 @@ _mesa_validate_pipeline_io(struct gl_pipeline_object *pipeline)
|
|||
|
||||
for (idx = prev + 1; idx < ARRAY_SIZE(pipeline->CurrentProgram); idx++) {
|
||||
if (shProg[idx]) {
|
||||
/* Pipeline might include both non-compute and a compute program, do
|
||||
* not attempt to validate varyings between non-compute and compute
|
||||
* stage.
|
||||
*/
|
||||
if (shProg[idx]->_LinkedShaders[idx]->Stage == MESA_SHADER_COMPUTE)
|
||||
break;
|
||||
|
||||
if (!validate_io(shProg[prev]->_LinkedShaders[prev],
|
||||
shProg[idx]->_LinkedShaders[idx],
|
||||
shProg[prev]->IsES || shProg[idx]->IsES))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue