Skip to contentSkip to conversation

Increase fragment shader sample limits from 16 to 32 (AMD Linux - Mesa/RadeonSi)

Bug 94835 [email protected] 1 participant 7 messages Apr 6, 2016 – Apr 7, 2016

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=94835

Bug ID: 94835
Summary: Increase fragment shader sample limits from 16 to 32
(AMD Linux - Mesa/RadeonSi)
Product: Mesa
Version: git
Hardware: All
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Please increase fragment shader sample limits from 16 to 32. This is causing serious issues with Company Of Heroes 2 as the engine needs more than 16 samplers to correctly render the floor.

Please note: Mesa support 32 samplers with their Intel drivers, but not AMD. See GL_MAX_TEXTURE_IMAGE_UNITS_ARB in
https://people.freedesktop.org/~imirkin/glxinfo/glxinfo.html

Feral can provide a Steam key to active Mesa engineers working on this issue if that would help their progress. YOU should be abel to use Intel Mesa as a reference as that draws correctly as it has a higher texture sampler limit.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=94835

Edwin Smith <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           See Also|                            |https://bugs.freedesktop.or
                   |                            |g/show_bug.cgi?id=94705,
                   |                            |https://bugs.freedesktop.or
                   |                            |g/show_bug.cgi?id=91951
             Blocks|                            |94705
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94835

--- Comment #1 from Edwin Smith <[email protected]> --- Added links to:

94705 - CoH2 specific bug logged by an end user showing the side effect if the sampler limit is reached on AMD.

91951 - Unsure if exactly the same issue but potentially a similar root cause. This was logged agains ARMA 3 developer by another developer so I have no insight other than finding the bug when looking for duplicates before logging.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94835

--- Comment #2 from Ilia Mirkin <[email protected]> --- (In reply to Edwin Smith from comment #0)

Quoted 2 lines

Feral can provide a Steam key to active Mesa engineers working on this issue if that would help their progress.

A little bit off-topic, but would such a key be provided for people working on drivers other than radeonsi? [r600 and nvc0 come to mind]

Quoted 2 lines

YOU should be abel to use Intel Mesa as a
reference as that draws correctly as it has a higher texture sampler limit.

By the way, that's only true for Haswell and newer. Ivybridge (gen7) is limited to 16, at least on Mesa.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94835

--- Comment #3 from Nicolai H�hnle <[email protected]> ---
I have a preliminary patch set for this, but I still need to put it through its testing paces.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94835

--- Comment #4 from Edwin Smith <[email protected]> --- (In reply to Ilia Mirkin from comment #2)

Quoted 6 lines

(In reply to Edwin Smith from comment #0)

Quoted 2 lines

Feral can provide a Steam key to active Mesa engineers working on this issue if that would help their progress.

A little bit off-topic, but would such a key be provided for people working on drivers other than radeonsi? [r600 and nvc0 come to mind]

Any reasonable request from an engineer working on this issue requesting a key to help with their efforts will be considered.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94835

Nicolai H�hnle <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Nicolai H�hnle <[email protected]> --- Implemented in Git master commit 2abe4f8d7dcdcff75c28958e1a691ebf6cdee1ac

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel