瀏覽代碼

shaderpipeline: Mean it when I say "don't specify D_frame"

rdb 1 年之前
父節點
當前提交
941372e4c0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      panda/src/display/shaderInputBinding_impls.cxx

+ 1 - 1
panda/src/display/shaderInputBinding_impls.cxx

@@ -1813,7 +1813,7 @@ int ShaderBufferBinding::
 get_state_dep() const {
 get_state_dep() const {
   // We don't specify D_frame, because we don't (yet) support updating shader
   // We don't specify D_frame, because we don't (yet) support updating shader
   // buffers from the CPU.
   // buffers from the CPU.
-  return Shader::D_frame | Shader::D_shader_inputs;
+  return Shader::D_shader_inputs;
 }
 }
 
 
 /**
 /**