Regression: Eevee shader compilation error #98825

Closed
opened 2022-06-12 18:58:01 +02:00 by Tomek Gubala · 24 comments

System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.79

Blender Version
Broken: version: 3.2.0, branch: master, commit date: 2022-06-08 10:22, hash: e05e1e3691
Worked: version: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: cc66d1020c

Caused by 281bcc1c1d

Short description of error

Shader compilation of material in provided file was working correctly in 3.1.2, but fails to create material in 3.2 resulting in pink material while viewing in eevee

image.png

eevee 3.2 shader error.zip

Some notes:

  • working correctly in Blender 3.1.2 (worked on it there and switched to 3.2 when encountered this issue)
  • initially I though that node limit for eevee might have changed somehow in 3.2, but I see quite a lot of errors in terminal when opening this file in 3.2

Exact steps for others to reproduce the error
Open provided file. Texture on mesh is pink when showing in eevee, but renders correctly in cycles.

Removing various nodes from affected material like color, mix rgb, or color ramp doesn't seem to solve it. But once texture is removed, issue is gone. I have 9 UDIM textures there with 6 tiles each. Which results in 54 texture files. It seems that removing one UDIM texture from node tree lowering used files count to 48 is fixing the issue. Was there some limit introduced?

Worked on it a bit more in 3.1.2 and currently at 11 UDIM textures with 6 tiles each it still works. In 3.2 at this point I have to remove 3 textures to get below 9 as described above. SO if this is some limitation I'm hitting, it seems to be significant difference when going from 3.1.2 to 3.2

ERROR (gpu.shader): GPU_material_compile VertShader:
      |
  379 | layout(binding = 32) uniform sampler2DArray samp16;
      |
      | Error: C7612: profile doesn't support more than 32 samplers```
- - -
Fixed by rB45fb7a1db55d
```lines=10
Read blend: D:\blender\projects\2022\eevee 3.2 shader error\eevee shader error.blend
ERROR (gpu.shader): GPU_material_compile VertShader:
|
  299 | layout(location = 15) in vec4 a;
|
| Error: C0000: syntax error, unexpected reserved word "layout", expecting ';' at token "layout"
|
 2642 | var_attrs.v0 = attr_load_vec4(a);
|
| Error: C1503: undefined variable "a"

ERROR (gpu.shader): GPU_material_compile FragShader:
|
  299 | in codegen_iface{
|
| Error: C7537: OpenGL does not allow 'inout' after a type specifier
| Error: C1014: "codegen_iface" is not a function
| Error: C1004: in and out only apply to formal parameters "codegen_iface"
|
  301 | }
|
| Error: C1016: expression type incompatible with function return type
|
  299 | in codegen_iface{
|
| Error: C1108: function "codegen_iface" has no statements
|
  301 | }
|
| Error: C3009: layout qualifier 'binding', incompatible with 'codegen_iface'
|
  302 | var_attrs;
|
| Error: C0000: syntax error, unexpected ';', expecting "::" at token ";"
|
 8184 | differentiate_texco(var_attrs.v0, tmp128);
|
| Error: C1503: undefined variable "var_attrs"
|
 8187 | mapping_mat4(tmp128, node_tree.u130, node_tree.u131, node_tree.u132, node_tree.u133, node_tree.u134, node_tree.u135, tmp136);
|
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
|
 8191 | node_tex_tile_linear(tmp136, samp12, tsamp13, tmp140, tmp141);
|
| Error: C1503: undefined variable "samp12"
| Error: C1503: undefined variable "tsamp13"
|
 8197 | invert(node_tree.u144, tmp143, tmp146);
|
| Error: C1503: undefined variable "node_tree"
|
 8201 | valtorgb_opti_linear(float_from_vec4(tmp146), node_tree.u148, node_tree.u149, node_tree.u150, tmp151, tmp152);
|
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
|
 8205 | valtorgb_opti_linear(float_from_vec4(tmp151), node_tree.u154, node_tree.u155, node_tree.u156, tmp157, tmp158);
|
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
|
 8208 | differentiate_texco(var_attrs.v0, tmp160);
|
| Error: C1503: undefined variable "var_attrs"
|
 8211 | mapping_mat4(tmp160, node_tree.u162, node_tree.u163, node_tree.u164, node_tree.u165, node_tree.u166, node_tree.u167, tmp168);
|
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
|
 8215 | node_tex_tile_linear(tmp168, samp14, tsamp15, tmp172, tmp173);
|
| Error: C1503: undefined variable "samp14"
| Error: C1503: undefined variable "tsamp15"
|
 8222 | valtorgb_opti_linear(float_from_vec4(tmp175), node_tree.u177, node_tree.u178, node_tree.u179, tmp180, tmp181);
|
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
|
 8225 | mix_dark(float_from_vec4(tmp180), node_tree.u183, node_tree.u184, tmp185);
|
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
|
 8228 | mix_dark(float_from_vec4(tmp157), tmp185, node_tree.u188, tmp189);
|
| Error: C1503: undefined variable "node_tree"
|
 8231 | differentiate_texco(var_attrs.v0, tmp211);
|
| Error: C1503: undefined variable "var_attrs"
|
 8234 | mapping_mat4(tmp211, node_tree.u213, node_tree.u214, node_tree.u215, node_tree.u216, node_tree.u217, node_tree.u218, tmp219);
|
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
|
 8238 | node_tex_tile_linear(tmp219, samp16, tsamp17, tmp223, tmp224);
|
| Error: C1503: undefined variable "samp16"
| Error: C1503: undefined variable "tsamp17"
|
 8244 | mix_light(node_tree.u231, tmp189, tmp226, tmp234);
|
| Error: C1503: undefined variable "node_tree"
|
 8255 | differentiate_texco(var_attrs.v0, tmp2);
|
| Error: C1503: undefined variable "var_attrs"
|
 8258 | mapping_mat4(tmp2, node_tree.u4, node_tree.u5, node_tree.u6, node_tree.u7, node_tree.u8, node_tree.u9, tmp10);
|
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
|
 8268 | mix_blend(float_from_vec4(tmp17), node_tree.u19, node_tree.u20, tmp21);
|
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
|
 8271 | differentiate_texco(var_attrs.v0, tmp23);
|
| Error: C1503: undefined variable "var_attrs"
|
 8274 | mapping_mat4(tmp23, node_tree.u25, node_tree.u26, node_tree.u27, node_tree.u28, node_tree.u29, node_tree.u30, tmp31);
|
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
|
 8284 | mix_blend(float_from_vec4(tmp38), tmp21, node_tree.u41, tmp42);
|
| Error: C1503: undefined variable "node_tree"
|
 8287 | differentiate_texco(var_attrs.v0, tmp44);
|
| Error: C1503: undefined variable "var_attrs"
|
 8290 | mapping_mat4(tmp44, node_tree.u46, node_tree.u47, node_tree.u48, node_tree.u49, node_tree.u50, node_tree.u51, tmp52);
|
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
|
 8300 | mix_blend(float_from_vec4(tmp59), tmp42, node_tree.u62, tmp63);
|
| Error: C1503: undefined variable "node_tree"
|
 8303 | differentiate_texco(var_attrs.v0, tmp65);
|
| Error: C1503: undefined variable "var_attrs"
|
 8306 | mapping_mat4(tmp65, node_tree.u67, node_tree.u68, node_tree.u69, node_tree.u70, node_tree.u71, node_tree.u72, tmp73);
|
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
|
 8316 | mix_blend(float_from_vec4(tmp80), tmp63, node_tree.u83, tmp84);
|
| Error: C1503: undefined variable "node_tree"
|
 8319 | differentiate_texco(var_attrs.v0, tmp86);
|
| Error: C1503: undefined variable "var_attrs"
|
 8322 | mapping_mat4(tmp86, node_tree.u88, node_tree.u89, node_tree.u90, node_tree.u91, node_tree.u92, node_tree.u93, tmp94);
|
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
| Error: C1503: undefined variable "node_tree"
|
 8326 | node_tex_tile_linear(tmp94, samp8, tsamp9, tmp98, tmp99);
|
| Error: C1503: undefined variable "samp8"
| Error: C1503: undefined variable "tsamp9"
**System Information** Operating system: Windows-10-10.0.19043-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.79 **Blender Version** Broken: version: 3.2.0, branch: master, commit date: 2022-06-08 10:22, hash: `e05e1e3691` Worked: version: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: `cc66d1020c` Caused by 281bcc1c1d **Short description of error** Shader compilation of material in provided file was working correctly in 3.1.2, but fails to create material in 3.2 resulting in pink material while viewing in eevee ![image.png](https://archive.blender.org/developer/F13151515/image.png) [eevee 3.2 shader error.zip](https://archive.blender.org/developer/F13151519/eevee_3.2_shader_error.zip) Some notes: - working correctly in Blender 3.1.2 (worked on it there and switched to 3.2 when encountered this issue) - initially I though that node limit for eevee might have changed somehow in 3.2, but I see quite a lot of errors in terminal when opening this file in 3.2 **Exact steps for others to reproduce the error** Open provided file. Texture on mesh is pink when showing in eevee, but renders correctly in cycles. Removing various nodes from affected material like color, mix rgb, or color ramp doesn't seem to solve it. But once texture is removed, issue is gone. I have 9 UDIM textures there with 6 tiles each. Which results in 54 texture files. It seems that removing one UDIM texture from node tree lowering used files count to 48 is fixing the issue. Was there some limit introduced? Worked on it a bit more in 3.1.2 and currently at 11 UDIM textures with 6 tiles each it still works. In 3.2 at this point I have to remove 3 textures to get below 9 as described above. SO if this is some limitation I'm hitting, it seems to be significant difference when going from 3.1.2 to 3.2 ``` ERROR (gpu.shader): GPU_material_compile VertShader: | 379 | layout(binding = 32) uniform sampler2DArray samp16; | | Error: C7612: profile doesn't support more than 32 samplers``` - - - Fixed by rB45fb7a1db55d ```lines=10 Read blend: D:\blender\projects\2022\eevee 3.2 shader error\eevee shader error.blend ERROR (gpu.shader): GPU_material_compile VertShader: ``` | ``` 299 | layout(location = 15) in vec4 a; ``` | | Error: C0000: syntax error, unexpected reserved word "layout", expecting ';' at token "layout" | ``` 2642 | var_attrs.v0 = attr_load_vec4(a); ``` | | Error: C1503: undefined variable "a" ``` ERROR (gpu.shader): GPU_material_compile FragShader: ``` | ``` 299 | in codegen_iface{ ``` | | Error: C7537: OpenGL does not allow 'inout' after a type specifier | Error: C1014: "codegen_iface" is not a function | Error: C1004: in and out only apply to formal parameters "codegen_iface" | ``` 301 | } ``` | | Error: C1016: expression type incompatible with function return type | ``` 299 | in codegen_iface{ ``` | | Error: C1108: function "codegen_iface" has no statements | ``` 301 | } ``` | | Error: C3009: layout qualifier 'binding', incompatible with 'codegen_iface' | ``` 302 | var_attrs; ``` | | Error: C0000: syntax error, unexpected ';', expecting "::" at token ";" | ``` 8184 | differentiate_texco(var_attrs.v0, tmp128); ``` | | Error: C1503: undefined variable "var_attrs" | ``` 8187 | mapping_mat4(tmp128, node_tree.u130, node_tree.u131, node_tree.u132, node_tree.u133, node_tree.u134, node_tree.u135, tmp136); ``` | | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | ``` 8191 | node_tex_tile_linear(tmp136, samp12, tsamp13, tmp140, tmp141); ``` | | Error: C1503: undefined variable "samp12" | Error: C1503: undefined variable "tsamp13" | ``` 8197 | invert(node_tree.u144, tmp143, tmp146); ``` | | Error: C1503: undefined variable "node_tree" | ``` 8201 | valtorgb_opti_linear(float_from_vec4(tmp146), node_tree.u148, node_tree.u149, node_tree.u150, tmp151, tmp152); ``` | | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | ``` 8205 | valtorgb_opti_linear(float_from_vec4(tmp151), node_tree.u154, node_tree.u155, node_tree.u156, tmp157, tmp158); ``` | | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | ``` 8208 | differentiate_texco(var_attrs.v0, tmp160); ``` | | Error: C1503: undefined variable "var_attrs" | ``` 8211 | mapping_mat4(tmp160, node_tree.u162, node_tree.u163, node_tree.u164, node_tree.u165, node_tree.u166, node_tree.u167, tmp168); ``` | | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | ``` 8215 | node_tex_tile_linear(tmp168, samp14, tsamp15, tmp172, tmp173); ``` | | Error: C1503: undefined variable "samp14" | Error: C1503: undefined variable "tsamp15" | ``` 8222 | valtorgb_opti_linear(float_from_vec4(tmp175), node_tree.u177, node_tree.u178, node_tree.u179, tmp180, tmp181); ``` | | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | ``` 8225 | mix_dark(float_from_vec4(tmp180), node_tree.u183, node_tree.u184, tmp185); ``` | | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | ``` 8228 | mix_dark(float_from_vec4(tmp157), tmp185, node_tree.u188, tmp189); ``` | | Error: C1503: undefined variable "node_tree" | ``` 8231 | differentiate_texco(var_attrs.v0, tmp211); ``` | | Error: C1503: undefined variable "var_attrs" | ``` 8234 | mapping_mat4(tmp211, node_tree.u213, node_tree.u214, node_tree.u215, node_tree.u216, node_tree.u217, node_tree.u218, tmp219); ``` | | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | ``` 8238 | node_tex_tile_linear(tmp219, samp16, tsamp17, tmp223, tmp224); ``` | | Error: C1503: undefined variable "samp16" | Error: C1503: undefined variable "tsamp17" | ``` 8244 | mix_light(node_tree.u231, tmp189, tmp226, tmp234); ``` | | Error: C1503: undefined variable "node_tree" | ``` 8255 | differentiate_texco(var_attrs.v0, tmp2); ``` | | Error: C1503: undefined variable "var_attrs" | ``` 8258 | mapping_mat4(tmp2, node_tree.u4, node_tree.u5, node_tree.u6, node_tree.u7, node_tree.u8, node_tree.u9, tmp10); ``` | | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | ``` 8268 | mix_blend(float_from_vec4(tmp17), node_tree.u19, node_tree.u20, tmp21); ``` | | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | ``` 8271 | differentiate_texco(var_attrs.v0, tmp23); ``` | | Error: C1503: undefined variable "var_attrs" | ``` 8274 | mapping_mat4(tmp23, node_tree.u25, node_tree.u26, node_tree.u27, node_tree.u28, node_tree.u29, node_tree.u30, tmp31); ``` | | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | ``` 8284 | mix_blend(float_from_vec4(tmp38), tmp21, node_tree.u41, tmp42); ``` | | Error: C1503: undefined variable "node_tree" | ``` 8287 | differentiate_texco(var_attrs.v0, tmp44); ``` | | Error: C1503: undefined variable "var_attrs" | ``` 8290 | mapping_mat4(tmp44, node_tree.u46, node_tree.u47, node_tree.u48, node_tree.u49, node_tree.u50, node_tree.u51, tmp52); ``` | | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | ``` 8300 | mix_blend(float_from_vec4(tmp59), tmp42, node_tree.u62, tmp63); ``` | | Error: C1503: undefined variable "node_tree" | ``` 8303 | differentiate_texco(var_attrs.v0, tmp65); ``` | | Error: C1503: undefined variable "var_attrs" | ``` 8306 | mapping_mat4(tmp65, node_tree.u67, node_tree.u68, node_tree.u69, node_tree.u70, node_tree.u71, node_tree.u72, tmp73); ``` | | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | ``` 8316 | mix_blend(float_from_vec4(tmp80), tmp63, node_tree.u83, tmp84); ``` | | Error: C1503: undefined variable "node_tree" | ``` 8319 | differentiate_texco(var_attrs.v0, tmp86); ``` | | Error: C1503: undefined variable "var_attrs" | ``` 8322 | mapping_mat4(tmp86, node_tree.u88, node_tree.u89, node_tree.u90, node_tree.u91, node_tree.u92, node_tree.u93, tmp94); ``` | | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | Error: C1503: undefined variable "node_tree" | ``` 8326 | node_tex_tile_linear(tmp94, samp8, tsamp9, tmp98, tmp99); ``` | | Error: C1503: undefined variable "samp8" | Error: C1503: undefined variable "tsamp9" ```
Author

Added subscriber: @VGT

Added subscriber: @VGT

#100817 was marked as duplicate of this issue

#100817 was marked as duplicate of this issue
Author

Updated GPU drivers to NVIDIA 512.95 - same result.

Updated GPU drivers to NVIDIA 512.95 - same result.

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

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

Added subscribers: @kevindietrich, @deadpin

Added subscribers: @kevindietrich, @deadpin

@kevindietrich Seems like 281bcc1c1d caused the issue here.

@kevindietrich Seems like 281bcc1c1d caused the issue here.

Notes from a quick investigation:

It seems like there is some memory corruption, where GPUCodegenCreateInfo.sampler_names does not reallocate properly the name arrays when there is more than 16 samplers, which creates the very first error in the log (unexpected reserved word "layout"... because the previous line is not finished layout(binding = 16) uniform sampler2DArray\n). Increasing the default allocation size of GPUCodegenCreateInfo.sampler_names to 32 fixes this issue. However, there is still a shader compilation failure as we have more than 32 samplers (Error: C7612: profile doesn't support more than 32 samplers).

Notes from a quick investigation: It seems like there is some memory corruption, where `GPUCodegenCreateInfo.sampler_names` does not reallocate properly the name arrays when there is more than 16 samplers, which creates the very first error in the log (`unexpected reserved word "layout"...` because the previous line is not finished `layout(binding = 16) uniform sampler2DArray\n`). Increasing the default allocation size of `GPUCodegenCreateInfo.sampler_names` to 32 fixes this issue. However, there is still a shader compilation failure as we have more than 32 samplers (`Error: C7612: profile doesn't support more than 32 samplers`).
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Pratik Borhade changed title from Eevee shader compilation error to Regression: Eevee shader compilation error 2022-06-13 06:40:02 +02:00

Added subscriber: @fclem

Added subscriber: @fclem

@kevindietrich My bad! For some reason I though std::array would be a container with a fixed storage. So for it to work we need to store the char array as one object. Using a unique_ptr should do the trick.

@kevindietrich My bad! For some reason I though `std::array` would be a container with a fixed storage. So for it to work we need to store the char array as one object. Using a `unique_ptr` should do the trick.

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges

Blender 3.2.1 is scheduled for release soon. Any chance to fix this still? @fclem

Blender 3.2.1 is scheduled for release soon. Any chance to fix this still? @fclem
Clément Foucault self-assigned this 2022-06-29 11:42:17 +02:00

This issue was referenced by 5b1a8a0e2f

This issue was referenced by 5b1a8a0e2f81ed8f0962970a81c850cd47169c20

This issue was referenced by 45fb7a1db5

This issue was referenced by 45fb7a1db55d5f6abd54332450b48b0d99295cd9

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Author

@fclem When opening provided file example in 3.2.1 shader is still pink, but error in window console is different - 32 samplers limit mentioned by @kevindietrich

Does this mean that because of internal changes to Eevee implemented for 3.2.0 it will not be possible to make it work as in 3.1?

@fclem When opening provided file example in 3.2.1 shader is still pink, but error in window console is different - 32 samplers limit mentioned by @kevindietrich Does this mean that because of internal changes to Eevee implemented for 3.2.0 it will not be possible to make it work as in 3.1?
Author

Should I report 32 samplers limit as a separate bug in that case?

Should I report 32 samplers limit as a separate bug in that case?

@VGT this limit is is just a limitation of the hardware/driver. It is not a bug.

@VGT this limit is is just a limitation of the hardware/driver. It is not a bug.
Author

@fclem in that case what has changed that it was working in 3.1.2?

@fclem in that case what has changed that it was working in 3.1.2?

@VGT that is a good question I'll investigate.

It may be caused by the manual indexing of samplers. In the past, the driver might have reused unused internal sampler slots so that more user textures can be used. Now that we rely on manual sampler location (for future vulkan compatibility), doing the same thing means doing it ourselves instead of letting the driver handle this.

@VGT that is a good question I'll investigate. It may be caused by the manual indexing of samplers. In the past, the driver might have reused unused internal sampler slots so that more user textures can be used. Now that we rely on manual sampler location (for future vulkan compatibility), doing the same thing means doing it ourselves instead of letting the driver handle this.

Changed status from 'Resolved' to: 'Needs Developer To Reproduce'

Changed status from 'Resolved' to: 'Needs Developer To Reproduce'
Author

@fclem Thank you for explaining this and committing to further investigation.

@fclem Thank you for explaining this and committing to further investigation.
Member

Added subscriber: @Thura

Added subscriber: @Thura
Philipp Oeser removed the
Interest
Viewport & EEVEE
label 2023-02-09 15:12:34 +01:00
Member

Fixed by #105772.

Fixed by #105772.
Blender Bot added
Status
Archived
and removed
Status
Needs Info from Developers
labels 2023-04-10 12:07:35 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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 & 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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
8 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#98825
No description provided.