Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 290506 Details for
Bug 304551
Patch: fix libGL regression caused by mesa-7.0-use_master-r300.patch
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
PATCH fixing maniadrive being slow with current mesa
mesa-7.0.2-t_vp_build-use-less-temps.patch (text/plain), 2.27 KB, created by
Hans de Goede
on 2007-12-28 21:08:35 UTC
(
hide
)
Description:
PATCH fixing maniadrive being slow with current mesa
Filename:
MIME Type:
Creator:
Hans de Goede
Created:
2007-12-28 21:08:35 UTC
Size:
2.27 KB
patch
obsolete
>--- Mesa-7.0.2/src/mesa/tnl/t_vp_build.c 2007-10-23 18:52:25.000000000 +0200 >+++ Mesa-7.0.2.new/src/mesa/tnl/t_vp_build.c 2007-12-28 20:36:50.000000000 +0100 >@@ -890,7 +890,6 @@ > { > struct ureg shininess = get_material(p, 0, STATE_SHININESS); > emit_op1(p, OPCODE_MOV, dots, WRITEMASK_W, swizzle1(shininess,X)); >- release_temp(p, shininess); > > _col0 = make_temp(p, get_scenecolor(p, 0)); > if (separate) >@@ -904,7 +903,6 @@ > struct ureg shininess = get_material(p, 1, STATE_SHININESS); > emit_op1(p, OPCODE_MOV, dots, WRITEMASK_Z, > negate(swizzle1(shininess,X))); >- release_temp(p, shininess); > > _bfc0 = make_temp(p, get_scenecolor(p, 1)); > if (separate) >@@ -972,7 +970,6 @@ > struct ureg tmpPpli = get_temp(p); > > VPpli = get_temp(p); >- half = get_temp(p); > > /* In homogeneous object coordinates > */ >@@ -983,6 +980,9 @@ > */ > emit_op2(p, OPCODE_SUB, VPpli, 0, tmpPpli, V); > >+ /* we're done with tmpPpli now */ >+ release_temp(p, tmpPpli); >+ > /* Normalize VPpli. The dist value also used in > * attenuation below. > */ >@@ -997,10 +997,14 @@ > p->state->unit[i].light_attenuated) { > att = calculate_light_attenuation(p, i, VPpli, dist); > } >+ >+ /* We're done with dist now */ >+ release_temp(p, dist); > > > /* Calculate viewer direction, or use infinite viewer: > */ >+ half = get_temp(p); > if (p->state->light_local_viewer) { > struct ureg eye_hat = get_eye_position_normalized(p); > emit_op2(p, OPCODE_SUB, half, 0, VPpli, eye_hat); >@@ -1011,9 +1015,6 @@ > } > > emit_normalize_vec3(p, half, half); >- >- release_temp(p, dist); >- release_temp(p, tmpPpli); > } > > /* Calculate dot products: >@@ -1021,6 +1022,10 @@ > emit_op2(p, OPCODE_DP3, dots, WRITEMASK_X, normal, VPpli); > emit_op2(p, OPCODE_DP3, dots, WRITEMASK_Y, normal, half); > >+ /* we're done with VPpli and half now, so free them as to not drive up >+ our temp usage unnecessary */ >+ release_temp(p, VPpli); >+ release_temp(p, half); > > /* Front face lighting: > */ >@@ -1109,8 +1114,6 @@ > release_temp(p, specular); > } > >- release_temp(p, half); >- release_temp(p, VPpli); > release_temp(p, att); > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 304551
: 290506 |
290508