Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Erik Faye-Lund
mesa
Commits
3bdfaccf
Commit
3bdfaccf
authored
Sep 03, 2020
by
Louis-Francis Ratté-Boulianne
Committed by
Erik Faye-Lund
Oct 28, 2020
Browse files
d3d12: Lower point sprites when GL_POLYGON_OFFSET_POINT is enabled
parent
5f46bdb6
Changes
1
Show whitespace changes
Inline
Side-by-side
src/gallium/drivers/d3d12/d3d12_compiler.cpp
View file @
3bdfaccf
...
...
@@ -352,6 +352,7 @@ needs_point_sprite_lowering(struct d3d12_context *ctx, const struct pipe_draw_in
return
((
dinfo
->
mode
==
PIPE_PRIM_POINTS
||
fill_mode_lowered
(
ctx
,
dinfo
)
==
PIPE_POLYGON_MODE_POINT
)
&&
(
ctx
->
gfx_pipeline_state
.
rast
->
base
.
point_size
>
1.0
||
ctx
->
gfx_pipeline_state
.
rast
->
base
.
offset_point
||
(
ctx
->
gfx_pipeline_state
.
rast
->
base
.
point_size_per_vertex
&&
vs
->
initial
->
info
.
outputs_written
&
VARYING_BIT_PSIZ
))
&&
(
vs
->
initial
->
info
.
outputs_written
&
VARYING_BIT_POS
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment