Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Mesa
mesa
Commits
63d8c8ba
Commit
63d8c8ba
authored
Dec 18, 2011
by
Marek Olšák
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
st/mesa: expose new transform feedback extensions
parent
d24ece97
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/mesa/state_tracker/st_extensions.c
src/mesa/state_tracker/st_extensions.c
+6
-0
No files found.
src/mesa/state_tracker/st_extensions.c
View file @
63d8c8ba
...
...
@@ -355,6 +355,7 @@ void st_init_extensions(struct st_context *st)
{
o
(
ARB_shadow
),
PIPE_CAP_TEXTURE_SHADOW_MAP
},
{
o
(
ARB_texture_non_power_of_two
),
PIPE_CAP_NPOT_TEXTURES
},
{
o
(
ARB_transform_feedback2
),
PIPE_CAP_STREAM_OUTPUT_PAUSE_RESUME
},
{
o
(
ARB_transform_feedback3
),
PIPE_CAP_STREAM_OUTPUT_PAUSE_RESUME
},
{
o
(
EXT_blend_equation_separate
),
PIPE_CAP_BLEND_EQUATION_SEPARATE
},
{
o
(
EXT_draw_buffers2
),
PIPE_CAP_INDEP_BLEND_ENABLE
},
...
...
@@ -641,4 +642,9 @@ void st_init_extensions(struct st_context *st)
screen
->
get_param
(
screen
,
PIPE_CAP_QUERY_TIMESTAMP
))
{
ctx
->
Extensions
.
ARB_timer_query
=
GL_TRUE
;
}
if
(
ctx
->
Extensions
.
ARB_transform_feedback2
&&
ctx
->
Extensions
.
ARB_draw_instanced
)
{
ctx
->
Extensions
.
ARB_transform_feedback_instanced
=
GL_TRUE
;
}
}
Write
Preview
Markdown
is supported
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