Regression: Proper material shown as magenta #95003

Closed
opened 2022-01-18 09:57:23 +01:00 by Vyacheslav Kobozev · 12 comments

System Information
Operating system: Windows-8.1-6.3.9600-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.12

Blender Version
Broken: version: 3.1.0 Alpha, branch: master, commit date: 2022-01-17 23:26, hash: 54fb1a75ee
Worked: 3.1.0 Alpha, e69020ad0f52, 2022-01-15 05:40

Caused by {9d3f35a0bf1bf5776363bfd61d53a7c85b5827a4}

Short description of error
As title said. Sometimes after cutting and restoring connections material appear. But not this time…

magenta.blend
2022-01-18_11-49-47.mp4

**System Information** Operating system: Windows-8.1-6.3.9600-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.12 **Blender Version** Broken: version: 3.1.0 Alpha, branch: master, commit date: 2022-01-17 23:26, hash: `54fb1a75ee` Worked: 3.1.0 Alpha, `e69020ad0f52`, 2022-01-15 05:40 Caused by {9d3f35a0bf1bf5776363bfd61d53a7c85b5827a4} **Short description of error** As title said. Sometimes after cutting and restoring connections material appear. But not this time… [magenta.blend](https://archive.blender.org/developer/F12809989/magenta.blend) [2022-01-18_11-49-47.mp4](https://archive.blender.org/developer/F12809758/2022-01-18_11-49-47.mp4)

Added subscriber: @Vyach

Added subscriber: @Vyach
Vyacheslav Kobozev changed title from Regression: Proper material shown as majenta to Regression: Proper material shown as magenta 2022-01-18 10:44:07 +01:00
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Just to be sure: could you share your .blend?

Just to be sure: could you share your .blend?

In #95003#1289904, @lichtwerk wrote:
Just to be sure: could you share your .blend?

Sorry, missed it.
File attached.

> In #95003#1289904, @lichtwerk wrote: > Just to be sure: could you share your .blend? Sorry, missed it. File attached.
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

Can confirm, getting this:

ERROR (gpu.shader): GPU_material_compile FragShader: 
      | 
 6390 |   smoothness = clamp(smoothness / 2.0, 0, 0.5);
      | 
      | Error: C1101: ambiguous overloaded function reference "clamp(float, int, float)"
      | 
      | gp5 float64_t clamp(float64_t, float64_t, float64_t)
      | float clamp(float, float, float)
      | 
 6619 |   smoothness = clamp(smoothness / 2.0, 0, 0.5);
      | 
      | Error: C1101: ambiguous overloaded function reference "clamp(float, int, float)"
      | 
      | gp5 float64_t clamp(float64_t, float64_t, float64_t)
      | float clamp(float, float, float)
      | 
 6883 |   smoothness = clamp(smoothness / 2.0, 0, 0.5);
      | 
      | Error: C1101: ambiguous overloaded function reference "clamp(float, int, float)"
      | 
      | gp5 float64_t clamp(float64_t, float64_t, float64_t)
      | float clamp(float, float, float)
      | 
 7170 |   smoothness = clamp(smoothness / 2.0, 0, 0.5);
      | 
      | Error: C1101: ambiguous overloaded function reference "clamp(float, int, float)"
      | 
      | gp5 float64_t clamp(float64_t, float64_t, float64_t)
      | float clamp(float, float, float)

CC @Jeroen-Bakker

Can confirm, getting this: ``` ERROR (gpu.shader): GPU_material_compile FragShader: | 6390 | smoothness = clamp(smoothness / 2.0, 0, 0.5); | | Error: C1101: ambiguous overloaded function reference "clamp(float, int, float)" | | gp5 float64_t clamp(float64_t, float64_t, float64_t) | float clamp(float, float, float) | 6619 | smoothness = clamp(smoothness / 2.0, 0, 0.5); | | Error: C1101: ambiguous overloaded function reference "clamp(float, int, float)" | | gp5 float64_t clamp(float64_t, float64_t, float64_t) | float clamp(float, float, float) | 6883 | smoothness = clamp(smoothness / 2.0, 0, 0.5); | | Error: C1101: ambiguous overloaded function reference "clamp(float, int, float)" | | gp5 float64_t clamp(float64_t, float64_t, float64_t) | float clamp(float, float, float) | 7170 | smoothness = clamp(smoothness / 2.0, 0, 0.5); | | Error: C1101: ambiguous overloaded function reference "clamp(float, int, float)" | | gp5 float64_t clamp(float64_t, float64_t, float64_t) | float clamp(float, float, float) ``` CC @Jeroen-Bakker
Member

Ah yes. on it!

Ah yes. on it!
Jeroen Bakker self-assigned this 2022-01-18 13:58:39 +01:00

This issue was referenced by dfe22a53bb

This issue was referenced by dfe22a53bb8d3d2b94f4c80ec4030d28028e9ca6
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#95003
No description provided.