section = pan_section_ptr(job, TILER_JOB, DRAW);
pan_pack(section, DRAW, cfg) {
- cfg.four_components_per_vertex = true;
- cfg.draw_descriptor_is_64b = true;
- cfg.front_face_ccw = rast->front_ccw;
-
/*
* From the Gallium documentation,
* pipe_rasterizer_state::cull_face "indicates which faces of
*/
cfg.cull_front_face = polygon && (rast->cull_face & PIPE_FACE_FRONT);
cfg.cull_back_face = polygon && (rast->cull_face & PIPE_FACE_BACK);
+ cfg.front_face_ccw = rast->front_ccw;
cfg.position = pos;
cfg.state = batch->rsd[PIPE_SHADER_FRAGMENT];
cfg.attributes = batch->attribs[PIPE_SHADER_FRAGMENT];
</struct>
<struct name="Draw" size="30" align="64">
- <field name="Four Components Per Vertex" size="1" start="0:0" type="bool"/>
- <field name="Draw Descriptor Is 64b" size="1" start="0:1" type="bool"/>
+ <field name="Four Components Per Vertex" size="1" start="0:0" type="bool" default="true"/>
+ <field name="Draw Descriptor Is 64b" size="1" start="0:1" type="bool" default="true"/>
<field name="Texture Descriptor Is 64b" size="1" start="0:2" type="bool" default="true"/>
<field name="Occlusion query" size="2" start="0:3" type="Occlusion Mode" default="Disabled"/>
<field name="Front face CCW" size="1" start="0:5" type="bool"/>
</struct>
<struct name="Draw" size="30" align="64">
- <field name="Four Components Per Vertex" size="1" start="0:0" type="bool"/>
- <field name="Draw Descriptor Is 64b" size="1" start="0:1" type="bool"/>
+ <field name="Four Components Per Vertex" size="1" start="0:0" type="bool" default="true"/>
+ <field name="Draw Descriptor Is 64b" size="1" start="0:1" type="bool" default="true"/>
<field name="Texture Descriptor Is 64b" size="1" start="0:2" type="bool" default="true"/>
<field name="Occlusion query" size="2" start="0:3" type="Occlusion Mode" default="Disabled"/>
<field name="Front face CCW" size="1" start="0:5" type="bool"/>
</struct>
<struct name="Draw" size="32" align="64">
- <field name="Four Components Per Vertex" size="1" start="0:0" type="bool"/>
- <field name="Draw Descriptor Is 64b" size="1" start="0:1" type="bool"/>
+ <field name="Four Components Per Vertex" size="1" start="0:0" type="bool" default="true"/>
+ <field name="Draw Descriptor Is 64b" size="1" start="0:1" type="bool" default="true"/>
<field name="Occlusion query" size="2" start="0:3" type="Occlusion Mode" default="Disabled"/>
<field name="Front face CCW" size="1" start="0:5" type="bool"/>
<field name="Cull front face" size="1" start="0:6" type="bool"/>
</struct>
<struct name="Draw" size="32" align="64">
- <field name="Four Components Per Vertex" size="1" start="0:0" type="bool"/>
- <field name="Draw Descriptor Is 64b" size="1" start="0:1" type="bool"/>
+ <field name="Four Components Per Vertex" size="1" start="0:0" type="bool" default="true"/>
+ <field name="Draw Descriptor Is 64b" size="1" start="0:1" type="bool" default="true"/>
<field name="Occlusion query" size="2" start="0:3" type="Occlusion Mode" default="Disabled"/>
<field name="Front face CCW" size="1" start="0:5" type="bool"/>
<field name="Cull front face" size="1" start="0:6" type="bool"/>
void *out, bool always_write)
{
pan_pack(out, DRAW, cfg) {
- cfg.four_components_per_vertex = true;
- cfg.draw_descriptor_is_64b = true;
cfg.thread_storage = tsd;
cfg.state = rsd;
void *out)
{
pan_pack(out, DRAW, cfg) {
- cfg.four_components_per_vertex = true;
- cfg.draw_descriptor_is_64b = true;
cfg.thread_storage = tsd;
cfg.state = rsd;
void *dcd)
{
pan_pack(dcd, DRAW, cfg) {
- cfg.four_components_per_vertex = true;
- cfg.draw_descriptor_is_64b = true;
cfg.front_face_ccw = pipeline->rast.front_ccw;
cfg.cull_front_face = pipeline->rast.cull_front_face;
cfg.cull_back_face = pipeline->rast.cull_back_face;
void *out)
{
pan_pack(out, DRAW, cfg) {
- cfg.four_components_per_vertex = true;
- cfg.draw_descriptor_is_64b = true;
cfg.thread_storage = tsd;
cfg.state = rsd;
cfg.push_uniforms = push_constants;
void *out)
{
pan_pack(out, DRAW, cfg) {
- cfg.four_components_per_vertex = true;
- cfg.draw_descriptor_is_64b = true;
cfg.thread_storage = tsd;
cfg.state = rsd;
cfg.uniform_buffers = ubos;