[Mesa-dev] [Bug 92758] Fixed function programs generated multiple times per draw call

2019-09-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92758

GitLab Migration User  changed:

   What|Removed |Added

 Resolution|--- |MOVED
 Status|NEW |RESOLVED

--- Comment #1 from GitLab Migration User  ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/995.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [Bug 92758] Fixed function programs generated multiple times per draw call

2015-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92758

Bug ID: 92758
   Summary: Fixed function programs generated multiple times per
draw call
   Product: Mesa
   Version: git
  Hardware: Other
OS: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: Mesa core
  Assignee: mesa-dev@lists.freedesktop.org
  Reporter: imir...@alum.mit.edu
QA Contact: mesa-dev@lists.freedesktop.org

Created attachment 119318
  --> https://bugs.freedesktop.org/attachment.cgi?id=119318=edit
trace that demonstrates 2 FS and 2 VS programs generated in a single draw call

FF programs are affected by various state. It seems it's possible to do things
"just right" to cause them to be regenerated twice in a single draw. The
attached trace produces the following for me:

48: message: shader compiler issue 1: type: 1,
48: message: shader compiler issue 1: type: 0,
53: message: shader compiler issue 1: type: 1,
53: message: shader compiler issue 1: type: 0,
172: message: shader compiler issue 1: type: 1,
172: message: shader compiler issue 1: type: 0,
172: message: shader compiler issue 1: type: 1,
172: message: shader compiler issue 1: type: 0,
275: message: shader compiler issue 1: type: 1,
275: message: shader compiler issue 1: type: 0,
275: message: shader compiler issue 1: type: 0,
2172: message: shader compiler issue 1: type: 1
2172: message: shader compiler issue 1: type: 0
2172: message: shader compiler issue 1: type: 0
2239: message: shader compiler issue 1: type: 1
2239: message: shader compiler issue 1: type: 0
2328: message: shader compiler issue 1: type: 1
2328: message: shader compiler issue 1: type: 0
2328: message: shader compiler issue 1: type: 1
2328: message: shader compiler issue 1: type: 0

Type 0/1 are VS and FS (id corresponds to PIPE_SHADER_*). Note that the draw
calls at 172 and 2328 both generate 2 programs each, while draw calls 275 and
2172 generate 2 programs for one of the types.

One set is generated via the path

vbo_exec_DrawRangeElementsBaseVertex -> validate_DrawElements_common ->
check_valid_to_render -> _mesa_valid_to_render -> _mesa_update_state ->
update_program

while the second is generated via

vbo_exec_DrawRangeElementsBaseVertex -> vbo_validated_drawrangeelements ->
vbo_bind_arrays -> _mesa_update_state -> update_program.

I guess in between the _NEW_PROGRAM bit manages to set itself.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 92758] Fixed function programs generated multiple times per draw call

2015-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92758

Ilia Mirkin  changed:

   What|Removed |Added

 Attachment #119318|text/plain  |application/octet-stream
  mime type||

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev